Load jetbrains mono in admin too
This commit is contained in:
parent
fe2098cb71
commit
2fd054da05
1 changed files with 6 additions and 1 deletions
|
@ -112,7 +112,12 @@ class ArticleAdmin(admin.ModelAdmin):
|
||||||
actions = [publish, unpublish, refresh_draft_key]
|
actions = [publish, unpublish, refresh_draft_key]
|
||||||
|
|
||||||
class Media:
|
class Media:
|
||||||
css = {"all": ("admin_articles.css",)}
|
css = {
|
||||||
|
"all": (
|
||||||
|
"vendor/fonts/jetbrains-mono.css",
|
||||||
|
"admin_articles.css",
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
def response_post_save_add(
|
def response_post_save_add(
|
||||||
self, request: HttpRequest, obj: Article
|
self, request: HttpRequest, obj: Article
|
||||||
|
|
Reference in a new issue