My sad story- I have inherited an app developed by a third party that
I am deploying and I'm having strange issues with it. The last known
working configuration was lost when a virtual host was inadvertently
destroyed.

The specific problem is that the admin app is not creating urls to
pages correctly. I can login to the app as the superuser and connect
to the base admin url. Let's call it

     http://www.mysite.com/admin

When I click the link to add a group, the url I get is

     http://www.mysite.com/admin/auth/user/add/

which appears to be correct, but the page that is displayed is the
same base admin page. If I click the link again, I get the url

     http://www.mysite.com/admin/auth/user/add/auth/user/add/

Which, while entertaining, is clearly wrong. Again, I get the base
admin page. This occurs for all the objects in the model. I tried
running the development server rather than apache httpd(same result),
so the issue is part of the Django app itself.

I did notice that in the urls.py, the regex for the admin app looks
like this -
(r'^admin/(.*)', include(admin.site.urls)) , which is not the
default.

This is Django 1.2.3 and user profiles are in the mix somehow, though
I'm not familiar with that feature. People are supposed to be routed
to different pages based on group membership. I don't think that
applies to the admin, but thought it should be mentioned.

I'm out of good ideas, any suggestions would be appreciated.

-- 
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