diff --git a/docs/topics/auth/customizing.txt b/docs/topics/auth/customizing.txt index 289237be18..8b4da2048e 100644 --- a/docs/topics/auth/customizing.txt +++ b/docs/topics/auth/customizing.txt @@ -443,7 +443,7 @@ different User model. from django.db import models class Article(models.Model): - author = models.ForeignKey + author = models.ForeignKey( settings.AUTH_USER_MODEL, on_delete=models.CASCADE, )