Skip to main content

django.contrib.flatpages.views.flatpage

Public interface to the flat page view.

Context:

System Message: ERROR/3 (<view:django.contrib.flatpages.views.flatpage>, line 2)

Error in "default-role" directive: no content permitted.

.. default-role:: cmsreference


    flatpage
        `flatpages.flatpages` object

Templates:

Uses the template defined by the template_name field,
or flatpages/default.html if template_name is not defined.

‹ Back to View documentation