kopia lustrzana https://github.com/wagtail/wagtail
Add missing staticmethod decorator to normalise_page_route_path()
rodzic
5a28898c70
commit
dc62aeed02
|
@ -150,6 +150,7 @@ class Redirect(models.Model):
|
|||
|
||||
return path
|
||||
|
||||
@staticmethod
|
||||
def normalise_page_route_path(url):
|
||||
# Strip whitespace
|
||||
url = url.strip()
|
||||
|
|
Ładowanie…
Reference in New Issue