Skip to content

Commit 5068823

Browse files
committed
Use text choiches without choices
1 parent d0f3794 commit 5068823

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blog/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class Entry(models.Model):
8383
"publication date must be in the past."
8484
),
8585
)
86-
content_format = models.CharField(choices=ContentFormat.choices, max_length=50)
86+
content_format = models.CharField(choices=ContentFormat, max_length=50)
8787
summary = models.TextField()
8888
summary_html = models.TextField()
8989
body = models.TextField()

0 commit comments

Comments
 (0)