We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0f3794 commit 5068823Copy full SHA for 5068823
blog/models.py
@@ -83,7 +83,7 @@ class Entry(models.Model):
83
"publication date must be in the past."
84
),
85
)
86
- content_format = models.CharField(choices=ContentFormat.choices, max_length=50)
+ content_format = models.CharField(choices=ContentFormat, max_length=50)
87
summary = models.TextField()
88
summary_html = models.TextField()
89
body = models.TextField()
0 commit comments