From 39881d3e55e7b7143a196e17bc364d2d9584a5c8 Mon Sep 17 00:00:00 2001 From: J-E Castagnede Date: Fri, 30 Sep 2022 11:23:44 +0200 Subject: [PATCH] pep8 --- geotrek/common/urls.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/geotrek/common/urls.py b/geotrek/common/urls.py index 0d6feed8c2..0a1d5dc663 100644 --- a/geotrek/common/urls.py +++ b/geotrek/common/urls.py @@ -3,6 +3,7 @@ from . import views + class LangConverter(converters.StringConverter): regex = '[a-z]{2}' @@ -25,7 +26,7 @@ class LangConverter(converters.StringConverter): class PublishableEntityOptions(MapEntityOptions): document_public_view = views.DocumentPublic document_public_booklet_view = views.DocumentBookletPublic - markup_public_view =views.MarkupPublic + markup_public_view = views.MarkupPublic def scan_views(self, *args, **kwargs): """ Adds the URLs of all views provided by ``PublishableMixin`` models.