Load jetbrains mono in admin too

pull/2/head
Gabriel Augendre 4 months ago
parent fe2098cb71
commit 2fd054da05
  1. 7
      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

Loading…
Cancel
Save