mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed E221 pep8 warnings.
This commit is contained in:
@@ -147,8 +147,8 @@ class Comment(models.Model):
|
||||
comment = models.TextField()
|
||||
|
||||
# Content-object field
|
||||
content_type = models.ForeignKey(ContentType)
|
||||
object_pk = models.TextField()
|
||||
content_type = models.ForeignKey(ContentType)
|
||||
object_pk = models.TextField()
|
||||
content_object = generic.GenericForeignKey(ct_field="content_type", fk_field="object_pk")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user