url relative à l'host (pour fonctionner derrière les redirections)
This commit is contained in:
parent
31b7881c90
commit
d71f49e297
@ -92,7 +92,7 @@ class EventFilter(django_filters.FilterSet):
|
||||
return ""
|
||||
|
||||
def get_url_without_filters(self):
|
||||
return self.request.build_absolute_uri().split("?")[0]
|
||||
return self.request.get_full_path().split("?")[0]
|
||||
|
||||
def get_categories(self):
|
||||
return self.form.cleaned_data["category"]
|
||||
|
Loading…
Reference in New Issue
Block a user