mirror of
https://github.com/django/django.git
synced 2025-02-23 16:24:46 +00:00
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…
x
Reference in New Issue
Block a user