-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated timezone and removed the configs in settings.py in favor of H…
…unt settings Fixed team logic for Hunts renamed a field
- Loading branch information
1 parent
8225255
commit a2dcd83
Showing
5 changed files
with
129 additions
and
70 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
32 changes: 32 additions & 0 deletions
32
core/migrations/0020_remove_hunt_form_in_ending_text_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Generated by Django 4.1.13 on 2023-12-03 02:29 | ||
|
||
from django.conf import settings | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("core", "0019_alter_qrcode_key_hunt_logicpuzzlehint_belongs_to_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveConstraint( | ||
model_name="hunt", | ||
name="form_in_ending_text", | ||
), | ||
migrations.RenameField( | ||
model_name="hunt", | ||
old_name="team_size", | ||
new_name="max_team_size", | ||
), | ||
migrations.AlterField( | ||
model_name="hunt", | ||
name="early_access_users", | ||
field=models.ManyToManyField( | ||
blank=True, | ||
help_text="Users that can access this hunt before it starts", | ||
related_name="early_access_users", | ||
to=settings.AUTH_USER_MODEL, | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters