customize app ordering in django admin

410 views
Skip to first unread message

Pawanesh Gautam

unread,
Sep 10, 2015, 6:50:43 AM9/10/15
to Django users
hi

i have list of app (app1,app2.app3,app3,app4).i would like to change the app order in admin site so that it will look like dis :
(app1,app3,app4,app2).
please suggest some tips to perform this .

thanks 

Tom Evans

unread,
Sep 10, 2015, 7:08:40 AM9/10/15
to django...@googlegroups.com
My top tip: Read the django tutorial all the way through:

https://docs.djangoproject.com/en/1.8/intro/tutorial02/#customize-the-admin-index-page

Cheers

Tom

Pawanesh Gautam

unread,
Sep 15, 2015, 3:43:04 AM9/15/15
to Django users
Got solution : https://djangosnippets.org/snippets/2613/
just add
1.> " register = template.Library() " in /templatetags/custom_tags.py
2.> templatetags folder must have __init.py__ file 
Reply all
Reply to author
Forward
0 new messages