mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-24 16:44:50 +00:00
Highlight "create" and "edit" forms (#5081)
This commit is contained in:
parent
37a472834a
commit
e6e9fd09e2
1 changed files with 2 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ your model. In this example the app is called ``users`` and the model is ``User`
|
|||
|
||||
AUTH_USER_MODEL = 'users.User'
|
||||
|
||||
Create your custom user create and edit forms in your app:
|
||||
Create your custom user 'create' and 'edit' forms in your app:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
|
|
@ -45,7 +45,7 @@ Create your custom user create and edit forms in your app:
|
|||
status = forms.ModelChoiceField(queryset=MembershipStatus.objects, required=True, label=_("Status"))
|
||||
|
||||
|
||||
Extend the Wagtail user create and edit templates. These extended templates should be placed in a
|
||||
Extend the Wagtail user 'create' and 'edit' templates. These extended templates should be placed in a
|
||||
template directory ``wagtailusers/users``.
|
||||
|
||||
Template create.html:
|
||||
|
|
|
|||
Loading…
Reference in a new issue