Fixed a typo in docs/topics/auth/customizing.txt

This commit is contained in:
Tim Graham 2013-02-03 13:22:53 -05:00
parent f556df90be
commit 2c173ff3b4
1 changed files with 1 additions and 2 deletions

View File

@ -444,11 +444,10 @@ different User model.
you should specify the custom model using the :setting:`AUTH_USER_MODEL` you should specify the custom model using the :setting:`AUTH_USER_MODEL`
setting. For example:: setting. For example::
from django.conf import settings from django.conf import settings
from django.db import models from django.db import models
class Article(models.Model) class Article(models.Model):
author = models.ForeignKey(settings.AUTH_USER_MODEL) author = models.ForeignKey(settings.AUTH_USER_MODEL)
Specifying a custom User model Specifying a custom User model