Skip to content

Commit

Permalink
[1.5.x] Fixed a typo in docs/topics/auth/customizing.txt
Browse files Browse the repository at this point in the history
Backport of 2c173ff from master
  • Loading branch information
timgraham committed Feb 3, 2013
1 parent be5369f commit 6155b66
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/topics/auth/customizing.txt
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -438,11 +438,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
Expand Down

0 comments on commit 6155b66

Please sign in to comment.