accounts package#
Subpackages#
- accounts.tests package
- accounts.views package
- Submodules
- accounts.views.admin module
- accounts.views.api module
- accounts.views.core module
activate()
add_un_registered_user_with_mpc_data()
change_password()
get_email_address_and_name_from_system_number()
get_user_or_unregistered_user_from_system_number()
get_user_statistics()
get_users_or_unregistered_users_from_email_list()
get_users_or_unregistered_users_from_system_number_list()
html_email_reset()
loggedout()
password_reset_request()
register_user()
- accounts.views.covid module
- accounts.views.profile module
- accounts.views.search module
- accounts.views.settings module
- Module contents
Submodules#
accounts.admin module#
Generated by utils/cgit/cgit_util_generate_admin_file on 2022-01-24 11:53:28.791461
- class accounts.admin.APITokenAdmin(model, admin_site)[source]#
Bases:
ModelAdmin
Admin class for model APIToken
- autocomplete_fields = ['user']#
- property media#
- class accounts.admin.SystemCardAdmin(model, admin_site)[source]#
Bases:
ModelAdmin
Admin class for model SystemCard
- autocomplete_fields = ['user']#
- property media#
- class accounts.admin.TeamMateAdmin(model, admin_site)[source]#
Bases:
ModelAdmin
Admin class for model TeamMate
- autocomplete_fields = ['user', 'team_mate']#
- property media#
- class accounts.admin.UnregisteredUserAdmin(model, admin_site)[source]#
Bases:
ModelAdmin
Admin class for model UnregisteredUser
- autocomplete_fields = ['last_updated_by', 'last_registration_invite_by_user', 'last_registration_invite_by_club', 'added_by_club']#
- property media#
- search_fields = ['last_name', 'first_name', 'system_number']#
- class accounts.admin.UserAdditionalInfoAdmin(model, admin_site)[source]#
Bases:
ModelAdmin
Admin class for model UserAdditionalInfo
- autocomplete_fields = ['user']#
- property media#
- search_fields = ['user__first_name', 'user__last_name', 'user__system_number']#
accounts.apps module#
Defines this application
accounts.backend module#
This module implements the login function. This is customised to allow users to login using either their email address or system_number.
accounts.forms module#
Forms for Accounts App
- class accounts.forms.BlurbUpdateForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, instance=None, use_required_attribute=None, renderer=None)[source]#
Bases:
ModelForm
Handles the sub-form on profile for wordage
- base_fields = {'about': <django.forms.fields.CharField object>}#
- declared_fields = {}#
- property media#
Return all media required to render the widgets on this form.
- class accounts.forms.PhotoUpdateForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, instance=None, use_required_attribute=None, renderer=None)[source]#
Bases:
ModelForm
Handles the sub-form on profile for picture
- class Meta[source]#
Bases:
object
Meta data
- fields = ('pic', 'x', 'y', 'width', 'height')#
- widgets = {'file': <django.forms.widgets.FileInput object>}#
- base_fields = {'height': <django.forms.fields.FloatField object>, 'pic': <django.forms.fields.ImageField object>, 'width': <django.forms.fields.FloatField object>, 'x': <django.forms.fields.FloatField object>, 'y': <django.forms.fields.FloatField object>}#
- declared_fields = {'height': <django.forms.fields.FloatField object>, 'width': <django.forms.fields.FloatField object>, 'x': <django.forms.fields.FloatField object>, 'y': <django.forms.fields.FloatField object>}#
- property media#
Return all media required to render the widgets on this form.
- class accounts.forms.SystemCardForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, instance=None, use_required_attribute=None, renderer=None)[source]#
Bases:
ModelForm
Class to edit a system card.
- class Meta[source]#
Bases:
object
- exclude = ['user', 'card_name']#
- model#
alias of
SystemCard
- base_fields = {'basic_response_jump_raise_major': <django.forms.fields.CharField object>, 'basic_response_jump_raise_minor': <django.forms.fields.CharField object>, 'basic_response_jump_shift_major': <django.forms.fields.CharField object>, 'basic_response_jump_shift_minor': <django.forms.fields.CharField object>, 'basic_response_to_2c_opening': <django.forms.fields.CharField object>, 'basic_response_to_2nt_opening': <django.forms.fields.CharField object>, 'basic_response_to_strong_2_opening': <django.forms.fields.CharField object>, 'basic_system': <django.forms.fields.CharField object>, 'brown_sticker': <django.forms.fields.BooleanField object>, 'brown_sticker_why': <django.forms.fields.CharField object>, 'canape': <django.forms.fields.BooleanField object>, 'competitive_1nt_overcall_immediate': <django.forms.fields.CharField object>, 'competitive_1nt_overcall_reopening': <django.forms.fields.CharField object>, 'competitive_doubles': <django.forms.fields.CharField object>, 'competitive_immediate_cue_bid_major': <django.forms.fields.CharField object>, 'competitive_immediate_cue_bid_minor': <django.forms.fields.CharField object>, 'competitive_jump_overcalls': <django.forms.fields.CharField object>, 'competitive_lead_directing_doubles': <django.forms.fields.CharField object>, 'competitive_negative_double_through': <django.forms.fields.CharField object>, 'competitive_nt_defense': <django.forms.fields.CharField object>, 'competitive_responsive_double_through': <django.forms.fields.CharField object>, 'competitive_transfer_defense': <django.forms.fields.CharField object>, 'competitive_unusual_nt': <django.forms.fields.CharField object>, 'competitive_weak_2_defense': <django.forms.fields.CharField object>, 'competitive_weak_3_defense': <django.forms.fields.CharField object>, 'nt1_response_2c': <django.forms.fields.CharField object>, 'nt1_response_2d': <django.forms.fields.CharField object>, 'nt1_response_2h': <django.forms.fields.CharField object>, 'nt1_response_2nt': <django.forms.fields.CharField object>, 'nt1_response_2s': <django.forms.fields.CharField object>, 'opening_1c': <django.forms.fields.CharField object>, 'opening_1d': <django.forms.fields.CharField object>, 'opening_1h': <django.forms.fields.CharField object>, 'opening_1nt': <django.forms.fields.CharField object>, 'opening_1s': <django.forms.fields.CharField object>, 'opening_2c': <django.forms.fields.CharField object>, 'opening_2d': <django.forms.fields.CharField object>, 'opening_2h': <django.forms.fields.CharField object>, 'opening_2nt': <django.forms.fields.CharField object>, 'opening_2s': <django.forms.fields.CharField object>, 'opening_3nt': <django.forms.fields.CharField object>, 'opening_other': <django.forms.fields.CharField object>, 'other_conventions': <django.forms.fields.CharField object>, 'other_notes': <django.forms.fields.CharField object>, 'play_notes': <django.forms.fields.CharField object>, 'play_nt_count': <django.forms.fields.CharField object>, 'play_nt_discards': <django.forms.fields.CharField object>, 'play_nt_lead_3': <django.forms.fields.CharField object>, 'play_nt_lead_4_or_more': <django.forms.fields.CharField object>, 'play_nt_lead_4_small': <django.forms.fields.CharField object>, 'play_nt_lead_in_partners_suit': <django.forms.fields.CharField object>, 'play_nt_lead_sequence': <django.forms.fields.CharField object>, 'play_nt_signal_on_partner_lead': <django.forms.fields.CharField object>, 'play_signal_declarer_lead': <django.forms.fields.CharField object>, 'play_suit_count': <django.forms.fields.CharField object>, 'play_suit_discards': <django.forms.fields.CharField object>, 'play_suit_lead_3': <django.forms.fields.CharField object>, 'play_suit_lead_4_or_more': <django.forms.fields.CharField object>, 'play_suit_lead_4_small': <django.forms.fields.CharField object>, 'play_suit_lead_in_partners_suit': <django.forms.fields.CharField object>, 'play_suit_lead_sequence': <django.forms.fields.CharField object>, 'play_suit_signal_on_partner_lead': <django.forms.fields.CharField object>, 'player1': <django.forms.fields.CharField object>, 'player2': <django.forms.fields.CharField object>, 'pre_alerts': <django.forms.fields.CharField object>, 'response_1c_1d': <django.forms.fields.CharField object>, 'response_1c_1h': <django.forms.fields.CharField object>, 'response_1c_1n': <django.forms.fields.CharField object>, 'response_1c_1s': <django.forms.fields.CharField object>, 'response_1c_2c': <django.forms.fields.CharField object>, 'response_1c_2d': <django.forms.fields.CharField object>, 'response_1c_2h': <django.forms.fields.CharField object>, 'response_1c_2n': <django.forms.fields.CharField object>, 'response_1c_2s': <django.forms.fields.CharField object>, 'response_1c_3c': <django.forms.fields.CharField object>, 'response_1c_3d': <django.forms.fields.CharField object>, 'response_1c_3h': <django.forms.fields.CharField object>, 'response_1c_3n': <django.forms.fields.CharField object>, 'response_1c_3s': <django.forms.fields.CharField object>, 'response_1c_other': <django.forms.fields.CharField object>, 'response_1d_1h': <django.forms.fields.CharField object>, 'response_1d_1n': <django.forms.fields.CharField object>, 'response_1d_1s': <django.forms.fields.CharField object>, 'response_1d_2c': <django.forms.fields.CharField object>, 'response_1d_2d': <django.forms.fields.CharField object>, 'response_1d_2h': <django.forms.fields.CharField object>, 'response_1d_2n': <django.forms.fields.CharField object>, 'response_1d_2s': <django.forms.fields.CharField object>, 'response_1d_3c': <django.forms.fields.CharField object>, 'response_1d_3d': <django.forms.fields.CharField object>, 'response_1d_3h': <django.forms.fields.CharField object>, 'response_1d_3n': <django.forms.fields.CharField object>, 'response_1d_3s': <django.forms.fields.CharField object>, 'response_1d_other': <django.forms.fields.CharField object>, 'response_1h_1n': <django.forms.fields.CharField object>, 'response_1h_1s': <django.forms.fields.CharField object>, 'response_1h_2c': <django.forms.fields.CharField object>, 'response_1h_2d': <django.forms.fields.CharField object>, 'response_1h_2h': <django.forms.fields.CharField object>, 'response_1h_2n': <django.forms.fields.CharField object>, 'response_1h_2s': <django.forms.fields.CharField object>, 'response_1h_3c': <django.forms.fields.CharField object>, 'response_1h_3d': <django.forms.fields.CharField object>, 'response_1h_3h': <django.forms.fields.CharField object>, 'response_1h_3n': <django.forms.fields.CharField object>, 'response_1h_3s': <django.forms.fields.CharField object>, 'response_1h_other': <django.forms.fields.CharField object>, 'response_1n_3c': <django.forms.fields.CharField object>, 'response_1n_3d': <django.forms.fields.CharField object>, 'response_1n_3h': <django.forms.fields.CharField object>, 'response_1n_3n': <django.forms.fields.CharField object>, 'response_1n_3s': <django.forms.fields.CharField object>, 'response_1n_other': <django.forms.fields.CharField object>, 'response_1s_1n': <django.forms.fields.CharField object>, 'response_1s_2c': <django.forms.fields.CharField object>, 'response_1s_2d': <django.forms.fields.CharField object>, 'response_1s_2h': <django.forms.fields.CharField object>, 'response_1s_2n': <django.forms.fields.CharField object>, 'response_1s_2s': <django.forms.fields.CharField object>, 'response_1s_3c': <django.forms.fields.CharField object>, 'response_1s_3d': <django.forms.fields.CharField object>, 'response_1s_3h': <django.forms.fields.CharField object>, 'response_1s_3n': <django.forms.fields.CharField object>, 'response_1s_3s': <django.forms.fields.CharField object>, 'response_1s_other': <django.forms.fields.CharField object>, 'response_2c_2d': <django.forms.fields.CharField object>, 'response_2c_2h': <django.forms.fields.CharField object>, 'response_2c_2n': <django.forms.fields.CharField object>, 'response_2c_2s': <django.forms.fields.CharField object>, 'response_2c_3c': <django.forms.fields.CharField object>, 'response_2c_3d': <django.forms.fields.CharField object>, 'response_2c_3h': <django.forms.fields.CharField object>, 'response_2c_3n': <django.forms.fields.CharField object>, 'response_2c_3s': <django.forms.fields.CharField object>, 'response_2c_other': <django.forms.fields.CharField object>, 'response_2d_2h': <django.forms.fields.CharField object>, 'response_2d_2n': <django.forms.fields.CharField object>, 'response_2d_2s': <django.forms.fields.CharField object>, 'response_2d_3c': <django.forms.fields.CharField object>, 'response_2d_3d': <django.forms.fields.CharField object>, 'response_2d_3h': <django.forms.fields.CharField object>, 'response_2d_3n': <django.forms.fields.CharField object>, 'response_2d_3s': <django.forms.fields.CharField object>, 'response_2d_other': <django.forms.fields.CharField object>, 'response_2h_2n': <django.forms.fields.CharField object>, 'response_2h_2s': <django.forms.fields.CharField object>, 'response_2h_3c': <django.forms.fields.CharField object>, 'response_2h_3d': <django.forms.fields.CharField object>, 'response_2h_3h': <django.forms.fields.CharField object>, 'response_2h_3n': <django.forms.fields.CharField object>, 'response_2h_3s': <django.forms.fields.CharField object>, 'response_2h_other': <django.forms.fields.CharField object>, 'response_2n_3c': <django.forms.fields.CharField object>, 'response_2n_3d': <django.forms.fields.CharField object>, 'response_2n_3h': <django.forms.fields.CharField object>, 'response_2n_3n': <django.forms.fields.CharField object>, 'response_2n_3s': <django.forms.fields.CharField object>, 'response_2n_other': <django.forms.fields.CharField object>, 'response_2s_2n': <django.forms.fields.CharField object>, 'response_2s_3c': <django.forms.fields.CharField object>, 'response_2s_3d': <django.forms.fields.CharField object>, 'response_2s_3h': <django.forms.fields.CharField object>, 'response_2s_3n': <django.forms.fields.CharField object>, 'response_2s_3s': <django.forms.fields.CharField object>, 'response_2s_other': <django.forms.fields.CharField object>, 'response_notes': <django.forms.fields.CharField object>, 'slam_conventions': <django.forms.fields.CharField object>, 'summary_bidding': <django.forms.fields.CharField object>, 'summary_carding': <django.forms.fields.CharField object>, 'system_classification': <django.forms.fields.TypedChoiceField object>}#
- declared_fields = {}#
- property media#
Return all media required to render the widgets on this form.
- class accounts.forms.UnregisteredUserForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, instance=None, use_required_attribute=None, renderer=None)[source]#
Bases:
ModelForm
Form to edit an Unregistered User
- class Meta[source]#
Bases:
object
- fields = ['first_name', 'last_name']#
- model#
alias of
UnregisteredUser
- base_fields = {'first_name': <django.forms.fields.CharField object>, 'last_name': <django.forms.fields.CharField object>}#
- declared_fields = {}#
- property media#
Return all media required to render the widgets on this form.
- class accounts.forms.UserRegisterForm(*args, **kwargs)[source]#
Bases:
UserCreationForm
User Registration
- class Meta[source]#
Bases:
object
- fields = ['username', 'first_name', 'last_name', 'email', 'system_number', 'mobile', 'password1', 'password2']#
- base_fields = {'email': <django.forms.fields.EmailField object>, 'first_name': <django.forms.fields.CharField object>, 'last_name': <django.forms.fields.CharField object>, 'mobile': <django.forms.fields.CharField object>, 'password1': <django.forms.fields.CharField object>, 'password2': <django.forms.fields.CharField object>, 'system_number': <django.forms.fields.IntegerField object>, 'username': <django.forms.fields.CharField object>}#
- clean()[source]#
The validation will reject a duplicate user. We want to allow is_active=False users to sign up again.
This doesn’t affect field level validations
- clean_username()[source]#
Final check that system number is valid and available. System_number is submitted as username
- declared_fields = {'password1': <django.forms.fields.CharField object>, 'password2': <django.forms.fields.CharField object>}#
- property media#
Return all media required to render the widgets on this form.
- class accounts.forms.UserSettingsForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, instance=None, use_required_attribute=None, renderer=None)[source]#
Bases:
ModelForm
Used by Settings to update details
- class Meta[source]#
Bases:
object
Meta data
- fields = ['username', 'receive_sms_results', 'receive_email_results', 'receive_sms_reminders', 'receive_abf_newsletter', 'receive_marketing', 'receive_monthly_masterpoints_report', 'receive_payments_emails', 'system_number_search', 'windows_scrollbar', 'receive_low_balance_emails']#
- base_fields = {'receive_abf_newsletter': <django.forms.fields.BooleanField object>, 'receive_email_results': <django.forms.fields.BooleanField object>, 'receive_low_balance_emails': <django.forms.fields.BooleanField object>, 'receive_marketing': <django.forms.fields.BooleanField object>, 'receive_monthly_masterpoints_report': <django.forms.fields.BooleanField object>, 'receive_payments_emails': <django.forms.fields.BooleanField object>, 'receive_sms_reminders': <django.forms.fields.BooleanField object>, 'receive_sms_results': <django.forms.fields.BooleanField object>, 'system_number_search': <django.forms.fields.BooleanField object>, 'username': <django.forms.fields.CharField object>, 'windows_scrollbar': <django.forms.fields.BooleanField object>}#
- declared_fields = {}#
- property media#
Return all media required to render the widgets on this form.
- class accounts.forms.UserUpdateForm(*args, **kwargs)[source]#
Bases:
ModelForm
Used by Profile to update details
- class Meta[source]#
Bases:
object
Meta data
- fields = ['username', 'first_name', 'last_name', 'email', 'system_number', 'dob', 'mobile', 'pic', 'bbo_name']#
- base_fields = {'bbo_name': <django.forms.fields.CharField object>, 'dob': <django.forms.fields.DateField object>, 'email': <django.forms.fields.EmailField object>, 'first_name': <django.forms.fields.CharField object>, 'last_name': <django.forms.fields.CharField object>, 'mobile': <django.forms.fields.CharField object>, 'pic': <django.forms.fields.ImageField object>, 'system_number': <django.forms.fields.IntegerField object>, 'username': <django.forms.fields.CharField object>}#
- declared_fields = {}#
- property media#
Return all media required to render the widgets on this form.
accounts.models module#
Models for our definitions of a user within the system.
- class accounts.models.APIToken(*args, **kwargs)[source]#
Bases:
Model
API Tokens map to a user and are used by any API functions
We don’t put an expiry on the token but this could be added later if required.
- exception DoesNotExist#
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned#
Bases:
MultipleObjectsReturned
- created_date#
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_date(*, field=<django.db.models.fields.DateTimeField: created_date>, is_next=True, **kwargs)#
- get_previous_by_created_date(*, field=<django.db.models.fields.DateTimeField: created_date>, 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.
- objects = <django.db.models.manager.Manager object>#
- token#
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 many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- user_id#
- class accounts.models.NextInternalSystemNumber(*args, **kwargs)[source]#
Bases:
Model
A singleton table to manage the next internal system number
All access should be through the next_available class method:
system_number = NextInternalSystemNumber.next_available()
This will return the number to be used, update the stored value and take a row level update lock until the end of the transaction.
NOTE: As this is holding a lock, make sure that the transaction is completed (comitted or rolled back) as quickly as possible.
- exception DoesNotExist#
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned#
Bases:
MultipleObjectsReturned
- id#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- classmethod load()[source]#
Load the singleton, taking an update lock Must be called within a transaction
- classmethod next_available()[source]#
Returns the next available internal system number Note that this takes an update lock on the singleton until
the end of teh outermost transaction
- number#
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>#
- save(*args, **kwargs)[source]#
Save the current instance. Override this in a subclass if you want to control the saving process.
The ‘force_insert’ and ‘force_update’ parameters can be used to insist that the “save” must be an SQL insert or update (or equivalent for non-SQL backends), respectively. Normally, they should not be set.
- class accounts.models.SystemCard(*args, **kwargs)[source]#
Bases:
Model
System cards for users
- exception DoesNotExist#
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned#
Bases:
MultipleObjectsReturned
- class SystemClassification(*values)[source]#
Bases:
TextChoices
- BLUE = 'B'#
- GREEN = 'G'#
- RED = 'R'#
- YELLOW = 'Y'#
- basic_response_jump_raise_major#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- basic_response_jump_raise_minor#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- basic_response_jump_shift_major#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- basic_response_jump_shift_minor#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- basic_response_to_2c_opening#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- basic_response_to_2nt_opening#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- basic_response_to_strong_2_opening#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- basic_system#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- brown_sticker#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- brown_sticker_why#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- canape#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- card_name#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- competitive_1nt_overcall_immediate#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- competitive_1nt_overcall_reopening#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- competitive_doubles#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- competitive_immediate_cue_bid_major#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- competitive_immediate_cue_bid_minor#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- competitive_jump_overcalls#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- competitive_lead_directing_doubles#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- competitive_negative_double_through#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- competitive_nt_defense#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- competitive_responsive_double_through#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- competitive_transfer_defense#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- competitive_unusual_nt#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- competitive_weak_2_defense#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- competitive_weak_3_defense#
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_save_date(*, field=<django.db.models.fields.DateTimeField: save_date>, is_next=True, **kwargs)#
- get_previous_by_save_date(*, field=<django.db.models.fields.DateTimeField: save_date>, is_next=False, **kwargs)#
- get_system_classification_display(*, field=<django.db.models.fields.CharField: system_classification>)#
- id#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- nt1_response_2c#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- nt1_response_2d#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- nt1_response_2h#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- nt1_response_2nt#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- nt1_response_2s#
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>#
- opening_1c#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- opening_1d#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- opening_1h#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- opening_1nt#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- opening_1s#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- opening_2c#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- opening_2d#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- opening_2h#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- opening_2nt#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- opening_2s#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- opening_3nt#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- opening_other#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- other_conventions#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- other_notes#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- play_notes#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- play_nt_count#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- play_nt_discards#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- play_nt_lead_3#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- play_nt_lead_4_or_more#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- play_nt_lead_4_small#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- play_nt_lead_in_partners_suit#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- play_nt_lead_sequence#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- play_nt_signal_on_partner_lead#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- play_signal_declarer_lead#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- play_suit_count#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- play_suit_discards#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- play_suit_lead_3#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- play_suit_lead_4_or_more#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- play_suit_lead_4_small#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- play_suit_lead_in_partners_suit#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- play_suit_lead_sequence#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- play_suit_signal_on_partner_lead#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- player1#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- player2#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- pre_alerts#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1c_1d#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1c_1h#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1c_1n#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1c_1s#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1c_2c#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1c_2d#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1c_2h#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1c_2n#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1c_2s#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1c_3c#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1c_3d#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1c_3h#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1c_3n#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1c_3s#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1c_other#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1d_1h#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1d_1n#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1d_1s#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1d_2c#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1d_2d#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1d_2h#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1d_2n#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1d_2s#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1d_3c#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1d_3d#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1d_3h#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1d_3n#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1d_3s#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1d_other#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1h_1n#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1h_1s#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1h_2c#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1h_2d#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1h_2h#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1h_2n#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1h_2s#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1h_3c#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1h_3d#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1h_3h#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1h_3n#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1h_3s#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1h_other#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1n_3c#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1n_3d#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1n_3h#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1n_3n#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1n_3s#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1n_other#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1s_1n#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1s_2c#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1s_2d#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1s_2h#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1s_2n#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1s_2s#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1s_3c#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1s_3d#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1s_3h#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1s_3n#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1s_3s#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_1s_other#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2c_2d#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2c_2h#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2c_2n#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2c_2s#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2c_3c#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2c_3d#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2c_3h#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2c_3n#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2c_3s#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2c_other#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2d_2h#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2d_2n#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2d_2s#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2d_3c#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2d_3d#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2d_3h#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2d_3n#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2d_3s#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2d_other#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2h_2n#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2h_2s#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2h_3c#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2h_3d#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2h_3h#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2h_3n#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2h_3s#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2h_other#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2n_3c#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2n_3d#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2n_3h#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2n_3n#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2n_3s#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2n_other#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2s_2n#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2s_3c#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2s_3d#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2s_3h#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2s_3n#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2s_3s#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_2s_other#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- response_notes#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- save_date#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- slam_conventions#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- summary_bidding#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- summary_carding#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- system_classification#
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 many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- user_id#
- class accounts.models.TeamMate(*args, **kwargs)[source]#
Bases:
Model
link two members together
- exception DoesNotExist#
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned#
Bases:
MultipleObjectsReturned
- id#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- make_payments#
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>#
- team_mate#
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- team_mate_id#
- user#
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- user_id#
- class accounts.models.UnregisteredUser(*args, **kwargs)[source]#
Bases:
Model
Represents users who we have only partial information about and who have not registered themselves yet. When a User registers, the matching instance of Unregistered User will be removed.
Email addresses are a touchy subject as some clubs believe they own this information and do not want it shared with other clubs. We protect email address by having another model (UnregisteredUserEmail) that is organisation specific. The email address in this model is from the MPC (considered “public” although it is not shown to anyone), while the other email address is “private” to the club that provided it, but ironically shown to the club that did and editable.
- exception DoesNotExist#
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned#
Bases:
MultipleObjectsReturned
- ORIGINS = [('MPC', 'Masterpoints Centre Import'), ('Pianola', 'Pianola Import'), ('CSV', 'CSV Import'), ('Manual', 'Manual Entry')]#
- class Organisation(*args, **kwargs)#
Bases:
Model
Many of these fields map to fields in the Masterpoints Database We don’t worry about phone numbers and addresses for secretaries and MP secretaries They seem to relate to sending letters to people. We keep the Venue address though.
- exception DoesNotExist#
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned#
Bases:
MultipleObjectsReturned
- ORG_STATUS = [('Open', 'Open'), ('Closed', 'Closed')]#
- ORG_TYPE = [('Club', 'Bridge Club'), ('State', 'State Association'), ('National', 'National Body'), ('Other', 'Other')]#
- account_regex = <django.core.validators.RegexValidator object>#
- added_by_club#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- address1#
maps to MPC VenueAddress1
- address2#
maps to MPC VenueAddress2
- attachment_org#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- bank_account#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- bank_bsb#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- batches#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- bsb_regex = <django.core.validators.RegexValidator object>#
- club_email#
maps to PMC ClubEmail
- club_website#
maps to MPC ClubWebsite
- clublog_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- clubmemberlog_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- clubtag_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- congressmaster_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- property current_end_date#
The end date of the current membership period (today or later)
- default_secondary_payment_method#
bridge credits are the default, but we can use a secondary default if bridge credits aren’t an option
- default_secondary_payment_method_id#
- emailbatchrbac_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- full_club_admin#
enable full club admin functionality
- get_next_by_last_updated(*, field=<django.db.models.fields.DateTimeField: last_updated>, is_next=True, **kwargs)#
- get_previous_by_last_updated(*, field=<django.db.models.fields.DateTimeField: last_updated>, is_next=False, **kwargs)#
- get_status_display(*, field=<django.db.models.fields.CharField: status>)#
- get_type_display(*, field=<django.db.models.fields.CharField: type>)#
- id#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- last_registration_invite_by_club#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- property last_renewal_date#
the most recent past renewal date, ie the start of the current club membership year
- last_updated#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- last_updated_by#
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- last_updated_by_id#
- memberclubdetails_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- memberclubemail_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- membercluboptions_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- membership_renewal_date_day#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- membership_renewal_date_month#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- membershiptype_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- membertransaction_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- minimum_balance_after_settlement#
How much of a float to leave in the account balance when settlement takes place
- miscpaytype_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- name#
maps to MPC ClubName
- property next_end_date#
the end date of the forthcoming annual renewal cycle One year on from the current_renewal_date
- property next_renewal_date#
the forthcoming annual renewal date (could be today)
- objects = <django.db.models.manager.Manager object>#
- org_id#
maps to MPC OrgID
- organisationfrontpage#
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.
- organisationsettlementfees#
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.
- orgemailtemplate_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- orgpaymentmethod_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- orgvenue_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- postcode#
maps to MPC VenuePostcode
- primary_org#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- property rbac_admin_name_qualifier#
This shows where in the RBAC admin tree this club lives.
- property rbac_name_qualifier#
We use the rbac name qualifier a lot for clubs. Neater to have as a property
This shows where in the RBAC tree this club lives.
- results_email_message#
Message sent with the results emails
- resultsfile_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- secondary_org#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- secretary#
maps to MPC ClubSecName, but we need to map this to a Cobalt user so not a CharField
- secretary_id#
- send_results_email#
Club level control over whether an email is sent to members when results are published
- sessiontype_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- property settlement_fee_percent#
return what our settlement fee is set to
- slug_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- state#
maps to MPC VenueState
- status#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- stripetransaction_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- suburb#
maps to MPC Venue suburb
- type#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- use_last_payment_method_for_player_sessions#
some clubs want to default payments for sessions to use whatever the player last paid with
- userpendingpayment_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- visitor_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- welcomepack#
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.
- xero_contact_id#
optional customer id for Xero
- added_by_club#
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- added_by_club_id#
- all_objects = <django.db.models.manager.Manager object>#
- created_at#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- deceased#
Player is deceased, status set by My ABF support
- first_name#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- property full_name#
Returns the person’s full name.
- get_next_by_created_at(*, field=<django.db.models.fields.DateTimeField: created_at>, is_next=True, **kwargs)#
- get_next_by_updated_at(*, field=<django.db.models.fields.DateTimeField: updated_at>, is_next=True, **kwargs)#
- get_origin_display(*, field=<django.db.models.fields.CharField: origin>)#
- get_previous_by_created_at(*, field=<django.db.models.fields.DateTimeField: created_at>, is_next=False, **kwargs)#
- get_previous_by_updated_at(*, field=<django.db.models.fields.DateTimeField: updated_at>, 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.
- identifier#
random string identifier to use in emails to handle preferences. Can’t use the pk obviously
- internal_system_number#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- last_name#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- last_registration_invite_by_club#
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- last_registration_invite_by_club_id#
- last_registration_invite_by_user#
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- last_registration_invite_by_user_id#
- last_registration_invite_sent#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- last_updated_by#
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- last_updated_by_id#
- objects = <accounts.models.UnregisteredUserManager object>#
- origin#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- system_number#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- unregisteredblockedemail_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- updated_at#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- class accounts.models.UnregisteredUserManager(*args, **kwargs)[source]#
Bases:
Manager
Manager to return a query set of unregistered users with non-internal system numbers only
- class accounts.models.User(*args, **kwargs)[source]#
Bases:
AbstractUser
User class based upon AbstractUser.
- AUTO_STATUS = [('Off', 'Off'), ('Pending', 'Pending'), ('On', 'On')]#
- class CovidStatus(*values)[source]#
Bases:
TextChoices
- ADMIN_CONFIRMED = 'AC'#
- UNSET = 'US'#
- USER_CONFIRMED = 'UC'#
- USER_EXEMPT = 'AV'#
- exception DoesNotExist#
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned#
Bases:
MultipleObjectsReturned
- REQUIRED_FIELDS = ['system_number', 'email']#
- about#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- admin_discount#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- apilog_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- apitoken_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- assignee#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- attachment_member#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- attachment_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- author#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- auto_amount#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- basketitem_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- bbo_name#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- blocknotification_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- clublog_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- clubmemberlog_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- comment1_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- comment2_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- covid_status#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- date_joined#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- deceased#
Player is deceased, status set by My ABF support
- dob#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- email#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- emailbatchrbac_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- evententry_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- eventlog_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- fcmdevice_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- first_name#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- forumfollow_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- property full_name#
Returns the person’s full name.
- get_covid_status_display(*, field=<django.db.models.fields.CharField: covid_status>)#
- get_next_by_date_joined(*, field=<django.db.models.fields.DateTimeField: date_joined>, is_next=True, **kwargs)#
- get_previous_by_date_joined(*, field=<django.db.models.fields.DateTimeField: date_joined>, is_next=False, **kwargs)#
- get_stripe_auto_confirmed_display(*, field=<django.db.models.fields.CharField: stripe_auto_confirmed>)#
- groups#
Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
In the example:
class Pizza(Model): toppings = ManyToManyField(Topping, related_name='pizzas')
Pizza.toppings
andTopping.pizzas
areManyToManyDescriptor
instances.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- property href#
Returns an HTML link tag that can be used to go to the users public profile
- id#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- inappnotification_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- incidentlineitem_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- is_active#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- is_staff#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- is_superuser#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- last_activity#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- last_login#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- last_modified_by#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- last_name#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- last_updated#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- last_updated_by#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- likecomment1_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- likecomment2_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- likepost_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- linked_member#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- log_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- logentry_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- lucky_person#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- main_member#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- member#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- membercluboptions_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- membershiptype_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- mobile#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- notificationmapping_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- notifyuserbytype_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- org_last_updated_by#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- organisationtransaction_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- other_member#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- paid_by#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- partnershipdesk_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- password#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- paymentstatic_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- phone_regex = <django.core.validators.RegexValidator object>#
- pic#
Just like the FileDescriptor, but for ImageFields. The only difference is assigning the width/height to the width_field/height_field, if appropriate.
- player#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- player_discount#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- playerbatchid_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- post_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- primary_member#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- rbacadmingroup_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- rbacadminusergroup_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- rbacgroup_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- rbacusergroup_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- realtimenotificationheader_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- receive_abf_newsletter#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- receive_email_results#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- receive_low_balance_emails#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- receive_marketing#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- receive_monthly_masterpoints_report#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- receive_payments_emails#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- receive_sms_reminders#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- receive_sms_results#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- reporter#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- resultsfile_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- rt_admin#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- rt_member#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- secretary#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- sender#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- session_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- sponsor#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- stripe_auto_confirmed#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- stripe_customer_id#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- system_number#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- system_number_search#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- systemcard_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- team_mate_team_mate#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- team_mate_user#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- template_last_modified_by#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- totpdevice_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- unregistereduser_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- user_permissions#
Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
In the example:
class Pizza(Model): toppings = ManyToManyField(Topping, related_name='pizzas')
Pizza.toppings
andTopping.pizzas
areManyToManyDescriptor
instances.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- useradditionalinfo_set#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- username#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- welcome_pack_last_modified_by#
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- windows_scrollbar#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- class accounts.models.UserAdditionalInfo(*args, **kwargs)[source]#
Bases:
Model
Additional information about a user that is not regularly accessed. The intention is to move all of the extras from the User class into here over time as the User is getting overloaded and is accessed constantly by Django so we should try to keep it clean.
- exception DoesNotExist#
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned#
Bases:
MultipleObjectsReturned
- congress_view_filters#
user preferences for the congress listing page
- email_hard_bounce#
Set this flag if we get a hard bounce from sending an email
- email_hard_bounce_date#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- email_hard_bounce_reason#
Reason for the bounce
- id#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- last_club_visited#
used to store which club was last visited for users with access to multiple clubs
- member_sort_order#
sort order for the club menu members tab list
- objects = <django.db.models.manager.Manager object>#
- user#
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- user_id#
- class accounts.models.UserPaysFor(*args, **kwargs)[source]#
Bases:
Model
Allow a user to charge their bridge to another person
- class Circumstance(*values)[source]#
Bases:
TextChoices
- ALWAYS = 'AL'#
- IF_PLAYING_SAME_SESSION = 'PS'#
- IF_PLAYING_TOGETHER = 'PT'#
- exception DoesNotExist#
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned#
Bases:
MultipleObjectsReturned
- criterion#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- get_criterion_display(*, field=<django.db.models.fields.CharField: criterion>)#
- id#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- lucky_person#
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- lucky_person_id#
- objects = <django.db.models.manager.Manager object>#
- sponsor#
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- sponsor_id#
accounts.tokens module#
handles generation of tokens