I stuck to a much lighter 'CSS only' theming of the Django admin which is less likely to need a lot of work to track changes to Django core.
I hope this app can invite to a refactoring of the django-admin app to render themes more feasible without too much hassle.
More functionality encapsulated in template tags or the use of class-based views to facilitate reuse. Or even split the Admin into an API and an replaceable front-end. (a front-end to the back-end if you get my drift).
Lots of the admin would be nice to reuse for non-admin CRUD apps. Actions, list-filters, changelist, hierarchical date stuff, inlines...
In many ways the admin code is amazingly malleable and open to reuse in many areas. It's just that it's rather inconsistent and some other areas are extremely hard to reuse. Woe betide you if the thing you want to customize is in the latter category.
But I have a question, why do you decide to create this project instead of contribute to others with the same objective? https://github.com/douglasmiranda/django-admin-bootstrap https://bitbucket.org/salvator/django-admintools-bootstrap and https://github.com/aobo711/bootstrap-django-admin
I see that douglasmiranda is using the same logic, but I wrote this code in May. Is just my Github submission that's old. Maybe we can merge things :)
I still use the admin as a wrapper but for a lot of the views I've written my own handling.
In fact - you can slot custom functionality into the admin in so many ways that even with a highly custom set-up you're still getting a lot of benefit from using it.
The Bootstrap Navlist .well has some inline style to remove the padding, so the blue highlight goes from side to side.
padding: 8px 0px;
It's a bit weird that it's not in the actual Bootstrap code, but that's what they have in their doc example (to be exact, they don't show that in the example code listing, but if you examine the example it has that code).Installation needs to be a little easier for this to catch on, but I think this will be the unofficial official admin look just like django-registration is the unofficial official account back-end. :)
pip install django-admin-bootstrapped
How to get one of these bootstrap themes shipped as the default? Any Django core developers here?
Mine is just a theme, you can turn it off whenever you want.
It really just depend on what you need :)