loefsys.users.models.address module
Module defining the model for an address.
- class loefsys.users.models.address.Address(*args, **kwargs)
Bases:
Model Extensions
Model that defines an address.
- created
The timestamp of the creation of the model, automatically generated upon creation.
- Type:
- modified
The timestamp of last modification of this model, automatically generated upon update.
- Type:
- street
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- street2
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- postal_code
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- city
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- country
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- exception DoesNotExist
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned
Bases:
MultipleObjectsReturned
- created
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- get_next_by_created(*, field=<django_extensions.db.fields.CreationDateTimeField: created>, is_next=True, **kwargs)
- get_next_by_modified(*, field=<django_extensions.db.fields.ModificationDateTimeField: modified>, is_next=True, **kwargs)
- get_previous_by_created(*, field=<django_extensions.db.fields.CreationDateTimeField: created>, is_next=False, **kwargs)
- get_previous_by_modified(*, field=<django_extensions.db.fields.ModificationDateTimeField: modified>, is_next=False, **kwargs)
- id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- memberdetails
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- modified
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects = <django.db.models.manager.Manager object>