I've read 
http://docs.djangoproject.com/en/dev/ref/contrib/admin/#reversing-admin-urls,
but cannot for the life of me find a way to use reverse to get the url
of the index page for my app.

Say my app is called "polls" ( for some strange reason ) and I want to
redirect to the app_index for that app, using:

def someview(request):
    return redirect(reverse('admin:polls_index'))

doesn't work. I want to redirect to the page you get to when clicking
on the app-header in the index of the admin, not one of the models.

This is probably easy as pie, but I'm not getting it. Sorry.

-- 
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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.

Reply via email to