The django documentation indicates that custom css can be added to an Admin page as follows:
class ArticleAdmin(admin.ModelAdmin):
class Media:
css = {
"all": ("my_styles.css",)
}
js = ("my_code.js",)
It doesn’t, however, explain what the “all” means in the css declaration. What does it mean, and are there other values or configurations one could potentially use instead of “all”?
allis for all types of media declarations which are:.
so, if you want a specific style for handheld:
https://docs.djangoproject.com/en/1.0/topics/forms/media/#css