Hello
Probably many of us handing over the next Django-project caught themselves thinking that the administrator's interface looks, to put it mildly, unpresentable and inconsistent. Once I felt ashamed to give a good Django project to a good customer precisely because of the wretchedness of the admin panel, and I decided to update its appearance, inspired by the updated Django website.
')
It turned out something like this:
Without thinking twice and giving up the project with a clear conscience, I decided to show the Django community my creation.
Pull Request in the official Django repository caused a heated discussion, joined by core developers. As a result, it was decided that the appearance is really worth updating, but not associating the interface with the “branded” Django site, but rather maintaining the same recognizable color scheme.
This time I decided not to hurry and work through all possible situations. Especially for this, in March, I created the
django-flat-theme app , thanks to which I was able to collect feedback from users (they
installed it even on djangoproject.com) and improved the initial ideas.
By August, after a lengthy discussion in the django-developers community, my Pull Request with a new admin theme was
frozen into the Django master branch, and some time later, according to numerous user requests, the old GIF icons were replaced with SVG. Thus, the Django admin panel will undergo major changes for the first time in 10 years.
By the way, the transition to SVG-icons also caused a great discussion in the community, which resulted in the rejection of support for IE8 from Django 1.9, which also decided to update jQuery from 1.11 to 2.1.4.
The new appearance of the admin interface is likely to affect third-party applications. However, the good news is that the changes in terms of code only affected CSS files (with the exception of a couple of HTML templates where you had to change the names of the icons). If you have your own applications, I advise you to look at them locally in a new form. This can be done in two ways:
- install the django-flat-theme package in your project
pip install django-flat-theme
- update Django from master branch
pip install git+https://github.com/django/django.git@master --upgrade
Feel free to report bugs found in the new interface. This can be done either by
creating an Issue in django-flat-theme, or directly in the Django
bug tracker . The beta version of Django 1.9 will be released on October 19, up to this point there will still be an opportunity to correct the errors found. Thank you very much.