Fixed #25202 -- Fixed typo in docs/topics/auth/customizing.txt
This commit is contained in:
parent
b792c4804b
commit
5d0961fdfc
|
@ -443,7 +443,7 @@ different User model.
|
||||||
from django.db import models
|
from django.db import models
|
||||||
|
|
||||||
class Article(models.Model):
|
class Article(models.Model):
|
||||||
author = models.ForeignKey
|
author = models.ForeignKey(
|
||||||
settings.AUTH_USER_MODEL,
|
settings.AUTH_USER_MODEL,
|
||||||
on_delete=models.CASCADE,
|
on_delete=models.CASCADE,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue