Skip to content

Commit

Permalink
escapped for rst
Browse files Browse the repository at this point in the history
  • Loading branch information
ptone committed Dec 19, 2012
1 parent 893f41d commit 1325fd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/topics/auth/customizing.txt
Expand Up @@ -316,7 +316,7 @@ additional methods:

.. class:: models.CustomUserManager

.. method:: models.CustomUserManager.create_user(*username_field*, password=None, **other_fields)
.. method:: models.CustomUserManager.create_user(*username_field*, password=None, \**other_fields)

The prototype of `create_user()` should accept the username field,
plus all required fields as arguments. For example, if your user model
Expand All @@ -326,7 +326,7 @@ additional methods:
def create_user(self, email, date_of_birth, password=None):
# create user here

.. method:: models.CustomUserManager.create_superuser(*username_field*, password, **other_fields)
.. method:: models.CustomUserManager.create_superuser(*username_field*, password, \**other_fields)

The prototype of `create_superuser()` should accept the username field,
plus all required fields as arguments. For example, if your user model
Expand Down

0 comments on commit 1325fd5

Please sign in to comment.