module documentation

Undocumented

Constant DEFAULT​_TEMPLATE Undocumented
Function flatpage Public interface to the flat page view.
Function render​_flatpage Internal interface to the flat page view.
DEFAULT_TEMPLATE: str =

Undocumented

Value
'flatpages/default.html'
def flatpage(request, url):

Public interface to the flat page view.

Models: flatpages.flatpages Templates: Uses the template defined by the template_name field,

or :template:`flatpages/default.html` if template_name is not defined.
Context:
flatpage
flatpages.flatpages object
@csrf_protect
def render_flatpage(request, f):
Internal interface to the flat page view.