mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-03 21:14:46 +00:00
Update private_pages.rst
This commit is contained in:
parent
d1285af5c5
commit
1d802e35c4
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ This template will receive the same set of context variables that the blocked pa
|
|||
- **form** - A Django form object for the password prompt; this will contain a field named ``password`` as its only visible field. A number of hidden fields may also be present, so the page must loop over ``form.hidden_fields`` if not using one of Django's rendering helpers such as ``form.as_p``.
|
||||
- **action_url** - The URL that the password form should be submitted to, as a POST request.
|
||||
|
||||
A basic template suitable for use as PASSWORD_REQUIRED_TEMPLATE might look like this:
|
||||
A basic template suitable for use as ``PASSWORD_REQUIRED_TEMPLATE`` might look like this:
|
||||
|
||||
.. code-block:: django
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue