Add migration for longer timezone
Signed-off-by: Etzelia <etzelia@hotmail.com>pull/2/head
parent
f91bab4006
commit
0fe5f20284
File diff suppressed because one or more lines are too long
|
@ -8,6 +8,7 @@ from datetime import datetime
|
|||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class MinecraftManagerUser(User):
|
||||
|
||||
class Meta:
|
||||
|
@ -39,7 +40,7 @@ class UserSettings(models.Model):
|
|||
auth_user = models.OneToOneField(User, on_delete=models.CASCADE, null=True, blank=True)
|
||||
default_results = models.SmallIntegerField("Default Results", default=10, choices=RESULT_OPTIONS)
|
||||
default_theme = models.CharField("Theme", max_length=2, default='DE', choices=THEME_OPTIONS)
|
||||
default_timezone = models.CharField("Timezone", max_length=20, default='UTC', choices=TIMEZONES)
|
||||
default_timezone = models.CharField("Timezone", max_length=50, default='UTC', choices=TIMEZONES)
|
||||
search_player_ip = models.BooleanField("Include IP in Player search", default=False)
|
||||
show_timestamp_chat = models.BooleanField("Show Timestamp By Chat", default=False)
|
||||
last_ip = models.CharField(max_length=30, default="127.0.0.1", editable=False)
|
||||
|
|
Loading…
Reference in New Issue