|
|
|
@ -29,6 +29,8 @@ class CustomUser(AbstractUser): |
|
|
|
group_stage_match_format_preference = models.IntegerField(default=enums.FederalMatchCategory.NINE_GAMES, choices=enums.FederalMatchCategory.choices, null=True, blank=True) |
|
|
|
group_stage_match_format_preference = models.IntegerField(default=enums.FederalMatchCategory.NINE_GAMES, choices=enums.FederalMatchCategory.choices, null=True, blank=True) |
|
|
|
loser_bracket_match_format_preference = models.IntegerField(default=enums.FederalMatchCategory.NINE_GAMES, choices=enums.FederalMatchCategory.choices, null=True, blank=True) |
|
|
|
loser_bracket_match_format_preference = models.IntegerField(default=enums.FederalMatchCategory.NINE_GAMES, choices=enums.FederalMatchCategory.choices, null=True, blank=True) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
device_id = models.CharField(max_length=50, null=True, blank=True) |
|
|
|
|
|
|
|
|
|
|
|
### ### ### ### ### ### ### ### ### ### ### WARNING ### ### ### ### ### ### ### ### ### ### |
|
|
|
### ### ### ### ### ### ### ### ### ### ### WARNING ### ### ### ### ### ### ### ### ### ### |
|
|
|
### WARNING : Any added field MUST be inserted in the method below: fields_for_update() ### |
|
|
|
### WARNING : Any added field MUST be inserted in the method below: fields_for_update() ### |
|
|
|
### ### ### ### ### ### ### ### ### ### ### WARNING ### ### ### ### ### ### ### ### ### ### |
|
|
|
### ### ### ### ### ### ### ### ### ### ### WARNING ### ### ### ### ### ### ### ### ### ### |
|
|
|
@ -40,7 +42,7 @@ class CustomUser(AbstractUser): |
|
|
|
'summons_message_body', 'summons_message_signature', 'summons_available_payment_methods', |
|
|
|
'summons_message_body', 'summons_message_signature', 'summons_available_payment_methods', |
|
|
|
'summons_display_format', 'summons_display_entry_fee', |
|
|
|
'summons_display_format', 'summons_display_entry_fee', |
|
|
|
'summons_use_full_custom_message', 'match_formats_default_duration', 'bracket_match_format_preference', |
|
|
|
'summons_use_full_custom_message', 'match_formats_default_duration', 'bracket_match_format_preference', |
|
|
|
'group_stage_match_format_preference', 'loser_bracket_match_format_preference'] |
|
|
|
'group_stage_match_format_preference', 'loser_bracket_match_format_preference', 'device_id'] |
|
|
|
|
|
|
|
|
|
|
|
def __str__(self): |
|
|
|
def __str__(self): |
|
|
|
return self.username |
|
|
|
return self.username |
|
|
|
|