-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Modified the logout button to use POST requests instead of GET requests, as these will be deprecated in Django 5.0 - Replaced calls to django.utils.timezone.utc to datetime.timezone.utc - Fixed several issues where a mtm or fk-relation was being retrieved from an unsaved object (without a pk) - Changed Django's default form renderer to the new 5.0 div renderer.
- Loading branch information
Showing
16 changed files
with
283 additions
and
275 deletions.
There are no files selected for viewing
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
27 changes: 27 additions & 0 deletions
27
activity_calendar/migrations/0029_alter_activity_slot_creation.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,27 @@ | ||
# Generated by Django 4.1.13 on 2024-10-27 18:44 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("activity_calendar", "0028_remove_activity_is_public"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="activity", | ||
name="slot_creation", | ||
field=models.CharField( | ||
choices=[ | ||
("CREATION_STAFF", "By Organisers"), | ||
("CREATION_AUTO", "Automatically"), | ||
("CREATION_USER", "By Users"), | ||
("CREATION_NONE", "No signup"), | ||
], | ||
default="CREATION_NONE", | ||
max_length=15, | ||
), | ||
), | ||
] |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.