Add missing staticmethod decorator to normalise_page_route_path()

pull/7839/head
Andy Babic 2022-01-10 21:58:35 +00:00 zatwierdzone przez Matt Westcott
rodzic 5a28898c70
commit dc62aeed02
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -150,6 +150,7 @@ class Redirect(models.Model):
return path
@staticmethod
def normalise_page_route_path(url):
# Strip whitespace
url = url.strip()