﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
25202	Referencing the User model missing parenthesis	Jeff Schulthies	nobody	"https://docs.djangoproject.com/en/dev/topics/auth/customizing/#referencing-the-user-model\

Referencing the User model. The example is missing a parenthesis.

from django.conf import settings
from django.db import models

class Article(models.Model):
    author = models.ForeignKey 
        settings.AUTH_USER_MODEL,
        on_delete=models.CASCADE,
    )

'''Corrected:
'''from django.conf import settings
from django.db import models

class Article(models.Model):
    author = models.ForeignKey(
        settings.AUTH_USER_MODEL,
        on_delete=models.CASCADE,
    )

"	Cleanup/optimization	new	Documentation	1.8	Normal				Unreviewed	0	0	0	0	0	0
