views:

54

answers:

1

I want to change the app index page so I add help text to the models themselves, e.g. under each model I want to add help text. I know that I should override AdminSite.app_index. What is the best way to do this?

A: 

The answer is very simple. I can create a new site object & use it everywhere instead of the existing site object.

# urls.py
from mysite.admin import myadmin

urlpatterns = patterns('',   
    (r'^admin/', include(myadmin.urls)),
)

# app/admin.py
myadmin.register(MyModel)
Mohammad Tayseer