From 2fd054da0569d9d4f4bb604cf6f2b187e6ef9b28 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Thu, 31 Mar 2022 20:00:09 +0200 Subject: [PATCH] Load jetbrains mono in admin too --- src/articles/admin.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/articles/admin.py b/src/articles/admin.py index 40f3ef6..7264dde 100644 --- a/src/articles/admin.py +++ b/src/articles/admin.py @@ -112,7 +112,12 @@ class ArticleAdmin(admin.ModelAdmin): actions = [publish, unpublish, refresh_draft_key] class Media: - css = {"all": ("admin_articles.css",)} + css = { + "all": ( + "vendor/fonts/jetbrains-mono.css", + "admin_articles.css", + ) + } def response_post_save_add( self, request: HttpRequest, obj: Article