Question

I am making a Satchmo site and I want to add models that don't currently exist. These new models all appear under the app that they are defined in. This is fine for programmers, but I want the client might not understand why the the menu lists "Store Map" under "Local Site" and not under "Shop". Is there any way to modify which app a model appears under in the admin index?

Était-ce utile?

La solution

You can change the app_label attribute in the model's meta:

class Meta:
    app_label = 'my_app'
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top