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:
parent
94c4fb650b
commit
b6987bee69
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue