Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

Backport of 2c173ff from master
  • Loading branch information...
commit 6155b66d0685e0e305dfa422dfd02f2a6c7127b8 1 parent be5369f
@timgraham timgraham authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  docs/topics/auth/customizing.txt
View
3  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
Please sign in to comment.
Something went wrong with that request. Please try again.