black is a colour

This commit is contained in:
Yohan Boniface 2023-05-11 11:33:30 +02:00
parent 1038836a72
commit e3d5bd794f

View file

@ -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