summaryrefslogtreecommitdiff
path: root/blog
diff options
context:
space:
mode:
authorPaolo Melchiorre <paolo@melchiorre.org>2024-11-05 23:19:05 +0100
committerBaptiste Mispelon <bmispelon@gmail.com>2024-11-15 21:30:30 +0100
commit2d05221a0bb76801fec147d725674faabeb0341a (patch)
treec3fb2f98ba666536240d30680d54afc3758582a1 /blog
parenta85969acd59d2c8cbf4389abf2f89120b11b0d51 (diff)
Updated to Django 5.0.
Diffstat (limited to 'blog')
-rw-r--r--blog/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/blog/models.py b/blog/models.py
index 646ad2ad..8aa8231a 100644
--- a/blog/models.py
+++ b/blog/models.py
@@ -83,7 +83,7 @@ class Entry(models.Model):
"publication date must be in the past."
),
)
- content_format = models.CharField(choices=ContentFormat.choices, max_length=50)
+ content_format = models.CharField(choices=ContentFormat, max_length=50)
summary = models.TextField()
summary_html = models.TextField()
body = models.TextField()