Hello, thank you for answering so quickly. OK, so the page in fact is called admin index page. I fixed the problem I had with the apps I want to be shown in the page, thanks to permissions assigned depending on the user. Then, there is just one critical problem to solve with that.
How can I avoid the alphabetical order listing the apps and their models? I do not know how to list the models of an app from more to less important, instead of the default alphabetical order (I know this must be done by hand some how, but how?). I tried to hard-code the template admin index (in a very dirty way), by doing something like this: {% for app in app_list %} {% for model in app.models %} {% ifequal model.name "name1" %} # here all the stuff provided by Django {% else %}{% ifequal model.name "name2" %} # here a copy of the stuff provided by Django {% endifequal %} {% endifequal %} {% endfor%} {% endfor%} Width this code I tried to list the models of an app in an order different from alphabetical. But I get the same result as the original in alphabetical order! Any replies will be wellcome. On 18 abr, 02:07, Ramiro Morales <cra...@gmail.com> wrote: > On Sat, Apr 17, 2010 at 6:43 PM, Caumons <caum...@gmail.com> wrote: > > Hi everybody! > > > Is there a way to change the appearance of the admin page after > > loggin? I do not know the name of this page, but is the one where the > > apps are listed and were the models of each app registered whith the > > admin appear. > > > What I want is to do not show some apps in this page, for example the > > sites app. I also would like to change the order of the apps list and > > the order of the models inside each app. > > See the following Django documentation links for ideas: > > http://docs.djangoproject.com/en/1.1/intro/tutorial02/#customize-the-...http://docs.djangoproject.com/en/1.1/ref/contrib/admin/#overriding-ad... > > -- > Ramiro Morales | http://rmorales.net > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/django-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.