Public Member Functions | |
def | __init__ (self, centre, radius) |
Public Member Functions inherited from models.ContinuousRange | |
def | __init__ (self) |
def | get_end (self) |
def | get_start (self) |
Private Attributes | |
_centre | |
_end | |
_radius | |
_start | |
Used to tell proxy methods that a range of values defined by a centre and a radius should be queried for - special case of filter clauses.
def models.Radius.__init__ | ( | self, | |
centre, | |||
radius | |||
) |
centre and radius should be objects that can be added and subtracted. eg, centre could be a datetime.datetime object, and radius could be datetime.timedelta Radius and Range objects are assigned to properties of querying.connection objects, hence are given the database type.
|
private |
Definition at line 116 of file models.py.
Referenced by models.ContinuousRange.get_end().