From e3d5bd794f3bbad8b7d78c3a610456c077183767 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Thu, 11 May 2023 11:33:30 +0200 Subject: [PATCH] black is a colour --- umap/views.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/umap/views.py b/umap/views.py index 1228853e..c2e7f269 100644 --- a/umap/views.py +++ b/umap/views.py @@ -141,7 +141,6 @@ home = Home.as_view() class About(Home): - template_name = "umap/about.html" @@ -353,7 +352,6 @@ class FormLessEditMixin: class MapDetailMixin: - model = Map def get_context_data(self, **kwargs): @@ -650,7 +648,6 @@ class MapShortUrl(RedirectView): class MapAnonymousEditUrl(RedirectView): - permanent = False def get(self, request, *args, **kwargs): @@ -658,7 +655,7 @@ class MapAnonymousEditUrl(RedirectView): try: pk = signer.unsign(self.kwargs["signature"]) except BadSignature: - signer = Signer(algorithm='sha1') + signer = Signer(algorithm="sha1") try: pk = signer.unsign(self.kwargs["signature"]) except BadSignature: @@ -681,7 +678,6 @@ class MapAnonymousEditUrl(RedirectView): class GZipMixin(object): - EXT = ".gz" @property