Browse files

[1.5.x] Fixed a typo in docs/topics/auth/customizing.txt

Backport of 2c173ff from master
  • Loading branch information...
timgraham committed Feb 3, 2013
1 parent be5369f commit 6155b66d0685e0e305dfa422dfd02f2a6c7127b8
Showing with 1 addition and 2 deletions.
  1. +1 −2 docs/topics/auth/customizing.txt
@@ -438,11 +438,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

0 comments on commit 6155b66

Please sign in to comment.