Django grappelli

Is django-grappelli used here here?

I would like to read some developer or user experience if there is a common mistake to avoid or why you are using or not using grappelli.

Thanks for sharing

+7
django django-admin django-grappelli
source share
3 answers

I also use grappelli. I would be pleased with the normal django admin, but if you need to introduce a backend to someone else, grappelli is much more attractive.

The current version of grappelli 2.1 works well with django 1.2. The only problems that you (sometimes) encounter is that third-party applications sometimes have some problems that you can solve in most cases quite easily with changing the custom templates that they come with (in most cases these are just different names for css classes, etc. sometimes there are some js incompatibilities that you can easily solve!

The real version of grappelli also has a more convenient html / css structure that allows you to easily use your ui styles / elements in your own templates. Take a look at http://grappelliproject.com/ for this (this is not entirely true for the real version, but gives a little impression of what to expect!)

According to the developers, grappelli should soon work together with the amazing django-admin tools, which offer you drop-down menus inside the admin and a custom index panel! The installation is not very complicated, just remember to transfer the adminmedia folder to manage.py! In general, I think this is highly recommended (also check out django-filebrowser and medman, if you don't already know them that come from the same developers and work very well together with grappelli)!

+6
source share

I have used Grappelli for several places and suggest using it if you are using admin for something more than the goal of "debugging the database."

Starting with django 1.1.1, you can create multiple instances of the administrator, so I usually keep the main administrator to check the data as is and another instance of it to use the target using grappelli.

The little problem is that

On the dev server, it is hard to ask what django is using a different media folder, and the easiest way is to use the command line parameter as it is documented.

+3
source share

I recently started using django-grappelli and would like to point out 2 cases where newcomers like me are very likely to spend time on:

  • For Django==1.6 use grappelli==2.5 , not the current 2.6. Also for Django==1.5/1.4 use grappelli==2.4 . Official documents clearly mention this, but many may ignore it, and then wonder why it does not work.

  • In the INSTALLED_APPS setting, if grappelli does not fit over the default django applications, this will not work. I used to think that the order didn't matter for INSTALLED_APPS , but that made me change my mind.

+2
source share

All Articles