We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e64da5b commit e5dea5eCopy full SHA for e5dea5e
ui_extensions/__init__.py
@@ -0,0 +1,7 @@
1
+import django
2
+if int(django.get_version()[0]) < 3:
3
+ from django.contrib.staticfiles.templatetags.staticfiles import static
4
+else:
5
+ from django.templatetags.static import static
6
+
7
+__all__ = ["static"]
ui_extensions/bolty_cards/views.py
@@ -2,7 +2,7 @@
from django.conf import settings
from django.core.management import call_command
-from django.templatetags.static import static
+import xui.static
from django.shortcuts import render
from django.utils.html import mark_safe
8
from extensions.views import dashboard_extension
0 commit comments