Keep python 3.5 compat for now

This commit is contained in:
Yohan Boniface 2018-09-23 11:02:36 +02:00
parent f3ecc8ce28
commit 706967d982

View file

@ -448,7 +448,7 @@ class PermissionsMixin:
def get_anonymous_edit_url(self): def get_anonymous_edit_url(self):
anonymous_url = self.object.get_anonymous_edit_url() anonymous_url = self.object.get_anonymous_edit_url()
return f'{settings.SITE_URL}{anonymous_url}' return settings.SITE_URL + anonymous_url
class MapView(MapDetailMixin, PermissionsMixin, DetailView): class MapView(MapDetailMixin, PermissionsMixin, DetailView):