mirror of https://github.com/django/django.git
Fixed a typo in docs/topics/auth/customizing.txt
This commit is contained in:
parent
f556df90be
commit
2c173ff3b4
|
@ -444,11 +444,10 @@ different User model.
|
|||
you should specify the custom model using the :setting:`AUTH_USER_MODEL`
|
||||
setting. For example::
|
||||
|
||||
|
||||
from django.conf import settings
|
||||
from django.db import models
|
||||
|
||||
class Article(models.Model)
|
||||
class Article(models.Model):
|
||||
author = models.ForeignKey(settings.AUTH_USER_MODEL)
|
||||
|
||||
Specifying a custom User model
|
||||
|
|
Loading…
Reference in New Issue