fix: Refactors static file import path

Updates the import path for the static method to reflect
recent changes in Django's module structure, ensuring
compatibility with newer versions.

This change helps prevent deprecation issues under
up-to-date Django setups.
This commit is contained in:
Kumi 2024-11-21 07:34:09 +01:00
parent 94c4fb650b
commit b6987bee69
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -14,7 +14,7 @@ from django.http import HttpResponseRedirect, HttpResponse
from django.utils import timezone
from django.views.decorators.clickjacking import xframe_options_sameorigin
from django.utils.decorators import method_decorator
from django.contrib.staticfiles.templatetags.staticfiles import static
from django.templatetags.static import static
from .models import Status, Activity, Mood, StatusMedia, StatusActivity
from .forms import StatusForm