Do you mean that you want to include this code in your own app or want to alter the structure of the admin app?
Either of these actions will require the view that renders the page to pass the variable app_list into the context as }% if app_list %} will always be False as Django's templating system treats missing variable as None effectively. On 25 June, 07:47, derek <gamesb...@gmail.com> wrote: > Working with Django 1.2.1 > > The default index page for Django admin contains: > > {% if app_list %} > {% for app in app_list %} > ... > {% endfor %} > {% else %} > <p>{% trans "You don't have permission to edit anything." %}</p> > {% endif %} > > I'd like to move this snippet to a separate page; however, when I do > so, nothing shows up (well, the page template "wrapper" is there, but > no listing of models etc.) > > What do I need to do to enable this? > > Thanks > Derek -- 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.