diff --git a/backend/clubs/migrations/0091_cart_ticket.py b/backend/clubs/migrations/0091_cart_ticket.py index 74ae8cdd9..7441013da 100644 --- a/backend/clubs/migrations/0091_cart_ticket.py +++ b/backend/clubs/migrations/0091_cart_ticket.py @@ -11,7 +11,7 @@ class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), - ("clubs", "0090_adminnote"), + ("clubs", "0090_auto_20230106_1443"), ] operations = [ diff --git a/backend/clubs/migrations/0092_auto_20221118_1424.py b/backend/clubs/migrations/0092_auto_20221118_1424.py index 01b15c270..3a799d29d 100644 --- a/backend/clubs/migrations/0092_auto_20221118_1424.py +++ b/backend/clubs/migrations/0092_auto_20221118_1424.py @@ -6,17 +6,22 @@ class Migration(migrations.Migration): dependencies = [ - ('clubs', '0091_cart_ticket'), + ("clubs", "0091_cart_ticket"), ] operations = [ migrations.AlterModelOptions( - name='historicalclub', - options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical club', 'verbose_name_plural': 'historical clubs'}, + name="historicalclub", + options={ + "get_latest_by": ("history_date", "history_id"), + "ordering": ("-history_date", "-history_id"), + "verbose_name": "historical club", + "verbose_name_plural": "historical clubs", + }, ), migrations.AlterField( - model_name='historicalclub', - name='history_date', + model_name="historicalclub", + name="history_date", field=models.DateTimeField(db_index=True), ), ] diff --git a/backend/clubs/models.py b/backend/clubs/models.py index 1223d914c..756dbe3ff 100644 --- a/backend/clubs/models.py +++ b/backend/clubs/models.py @@ -1860,4 +1860,4 @@ def user_create(sender, instance, created, **kwargs): @receiver(models.signals.post_delete, sender=Profile) def profile_delete_cleanup(sender, instance, **kwargs): if instance.image: - instance.image.delete(save=False) \ No newline at end of file + instance.image.delete(save=False) diff --git a/backend/clubs/permissions.py b/backend/clubs/permissions.py index ad5a69f40..253f9d807 100644 --- a/backend/clubs/permissions.py +++ b/backend/clubs/permissions.py @@ -554,4 +554,4 @@ def has_permission(self, request, view): return True else: - return request.user.is_authenticated \ No newline at end of file + return request.user.is_authenticated diff --git a/backend/clubs/serializers.py b/backend/clubs/serializers.py index d595f0c7a..f8ed2d883 100644 --- a/backend/clubs/serializers.py +++ b/backend/clubs/serializers.py @@ -2854,4 +2854,4 @@ class WritableClubFairSerializer(ClubFairSerializer): time = serializers.CharField(required=False, allow_blank=True) class Meta(ClubFairSerializer.Meta): - pass \ No newline at end of file + pass diff --git a/backend/clubs/urls.py b/backend/clubs/urls.py index a7c82bc4d..1a740ccb2 100644 --- a/backend/clubs/urls.py +++ b/backend/clubs/urls.py @@ -168,4 +168,4 @@ urlpatterns += router.urls urlpatterns += clubs_router.urls urlpatterns += badges_router.urls -urlpatterns += applications_router.urls \ No newline at end of file +urlpatterns += applications_router.urls diff --git a/backend/clubs/views.py b/backend/clubs/views.py index 5ea03ab6a..aae5e9a24 100644 --- a/backend/clubs/views.py +++ b/backend/clubs/views.py @@ -6395,4 +6395,4 @@ def email_preview(request): "text_email": text_email, "variables": json.dumps(initial_context, indent=4), }, - ) \ No newline at end of file + )