elgeopaso.accounts.models module¶
- class elgeopaso.accounts.models.Subscription(id, user, report_hour, report_week)[source]¶
Bases :
django.db.models.base.Model
- exception DoesNotExist¶
- exception MultipleObjectsReturned¶
- id¶
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>¶
- report_hour¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- report_week¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- user¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- user_id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.