3 ms·
I've been suggesting for a while that what Django's admin needs is a completely barebones solution. Something like `django-admin startproject mysite --admin-t
by wldcordeiro 12y ago
I've been suggesting for a while that what Django's admin needs is a completely barebones solution.
Something like
`django-admin startproject mysite --admin-theme=bare`
that gives you an admin with absolutely no JS/CSS and completely modular templates to simplify the making of custom admin backends.
I think I might make this my personal pet project to contribute to Django.
- andybak 12y agoI can't see the point of zeroing the js as I'd end up needing to reimplement most of it. CSS - however - yes! Our admin skin zeros the existing CSS just by making sure we add an empty CSS file for each of the django admin css files - and that they come afterwards in INSTALLED_APPS and therefore take precedence. We then add Bootstrap and our own styles. Took less than a day to get it all working nicely and it looks nothing like Django Admin at first glance.
- wldcordeiro 12y agoFor me it's because I may want to implement it differently in different projects.