Kaydet (Commit) 2c173ff3 authored tarafından Tim Graham's avatar Tim Graham

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

üst f556df90
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment