black is a colour
This commit is contained in:
parent
1038836a72
commit
e3d5bd794f
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue