diff --git a/src/villages/apps.py b/src/villages/apps.py index 13a45918..473aafca 100644 --- a/src/villages/apps.py +++ b/src/villages/apps.py @@ -1,5 +1,3 @@ - - from django.apps import AppConfig diff --git a/src/villages/mixins.py b/src/villages/mixins.py index 9b157ef6..a6356ed2 100644 --- a/src/villages/mixins.py +++ b/src/villages/mixins.py @@ -9,9 +9,9 @@ class EnsureWritableCampMixin(SingleObjectMixin): # do not permit view if camp is in readonly mode if self.camp.read_only: messages.error(request, "No thanks") - return redirect(reverse('village_list', kwargs={'camp_slug': self.camp.slug})) + return redirect( + reverse('village_list', kwargs={'camp_slug': self.camp.slug}) + ) # alright, continue with the request return super().dispatch(request, *args, **kwargs) - -