summaryrefslogtreecommitdiff
path: root/app/media/models.py
diff options
context:
space:
mode:
authorlxf <sng@luxagraf.net>2022-05-14 20:29:38 -0400
committerlxf <sng@luxagraf.net>2022-05-14 20:29:38 -0400
commit01e4bdad76b91b34e6f6744a28764eb1c74120de (patch)
tree5a5fd3059bb6ed5bef574257bdb7d766559b7aaf /app/media/models.py
parentbb3973ffb714c932e9ec6dd6a751228dc71fe1d3 (diff)
updated to support django 4.0
Diffstat (limited to 'app/media/models.py')
-rw-r--r--app/media/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/media/models.py b/app/media/models.py
index c385018..e20b397 100644
--- a/app/media/models.py
+++ b/app/media/models.py
@@ -6,7 +6,7 @@ from PIL import Image
from django.core.exceptions import ValidationError
from django.db import models
from django.contrib.sitemaps import Sitemap
-from django.utils.encoding import force_text
+from django.utils.encoding import force_str
from django.utils.functional import cached_property
from django.urls import reverse
from django.apps import apps