pagetools.subscriptions package¶
Subpackages¶
Submodules¶
pagetools.subscriptions.admin module¶
pagetools.subscriptions.base_models module¶
- class pagetools.subscriptions.base_models.BaseSubscriberMixin(*args, **kwargs)[source]¶
Bases:
Model- failures¶
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_subscribtion_date(*, field=<django.db.models.fields.DateTimeField: subscribtion_date>, is_next=True, **kwargs)¶
- get_previous_by_subscribtion_date(*, field=<django.db.models.fields.DateTimeField: subscribtion_date>, is_next=False, **kwargs)¶
- is_activated¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- subscribtion_date¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
pagetools.subscriptions.forms module¶
- class pagetools.subscriptions.forms.SubscribeForm(*args, **kwargs)[source]¶
Bases:
Form- base_fields = {'email': <django.forms.fields.EmailField object>}¶
- declared_fields = {'email': <django.forms.fields.EmailField object>}¶
- property media¶
Return all media required to render the widgets on this form.