MCPcopy
hub / github.com/django/django / _trailing_slash_required

Method _trailing_slash_required

django/contrib/flatpages/forms.py:37–41  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

35 )
36
37 def _trailing_slash_required(self):
38 return (
39 settings.APPEND_SLASH
40 and "django.middleware.common.CommonMiddleware" in settings.MIDDLEWARE
41 )
42
43 def clean_url(self):
44 url = self.cleaned_data["url"]

Callers 2

__init__Method · 0.95
clean_urlMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected