Skip to content

Commit

Permalink
pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
submarcos committed Nov 22, 2022
1 parent 832b009 commit 39881d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion geotrek/common/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

from . import views


class LangConverter(converters.StringConverter):
regex = '[a-z]{2}'

Expand All @@ -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.
Expand Down

0 comments on commit 39881d3

Please sign in to comment.