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 cc0c427 commit 264cfb8Copy full SHA for 264cfb8
django_x509/base/admin.py
@@ -3,7 +3,6 @@
3
from django.contrib.admin import ModelAdmin
4
from django.http import HttpResponse
5
from django.shortcuts import get_object_or_404, render
6
-from django.templatetags.static import static
7
from django.urls import reverse
8
from django.utils.html import format_html
9
from django.utils.translation import ngettext
@@ -50,7 +49,7 @@ class BaseAdmin(ModelAdmin):
50
49
]
51
52
class Media:
53
- css = {'all': (static('django-x509/css/admin.css'),)}
+ css = {'all': ('django-x509/css/admin.css',)}
54
55
def __init__(self, *args, **kwargs):
56
self.readonly_fields += ('created', 'modified')
0 commit comments