where is everything in django admin?

Posted by FurtiveFelon on Stack Overflow See other posts from Stack Overflow or by FurtiveFelon
Published on 2010-06-10T19:00:18Z Indexed on 2010/06/10 19:42 UTC
Read the original article Hit count: 265

Filed under:
|

Hi all,

I would like to figure out where everything is in django admin. Since i am currently trying to modify the behavior rather heavily right now, so perhaps a reference would be helpful. For example, where is ModelAdmin located, i cannot find it anywhere in C:\Python26\Lib\site-packages\django\contrib\admin. I need that because i would like to look at how it is implemented so that i can override with confidence. I need to do that in part because of this page: http://docs.djangoproject.com/en/dev/ref/contrib/admin/#modeladmin-methods, for example, i would like to override ModelAdmin.add_view, but i can't find the original source for that. As well as i would like to see the url routing file for admin, so i can easily figure out which url corresponding to which template etc.

Thanks a lot for any pointers!

© Stack Overflow or respective owner

Related posts about django

Related posts about django-admin