On Mar 28, 5:59 pm, Karen Tracey <kmtra...@gmail.com> wrote:
> On Mon, Mar 28, 2011 at 1:39 PM, jd <kkswi...@gmail.com> wrote:
> > I upgraded to 1.3 dev from 1.1 and now my admin links don't work. the
> > page domain.com/admin/ works and it shows my models listed, but when
> > clicking on any of them it doesn't leave the model list page. Instead
> > it keeps stacking the url I want to visit onto the existing url. I.e.
>
> > domain.com/admin/
>
> > # shows app and model list
>
> > click on link for app: survey model: surveyResponse
>
> > url is now domain.com/admin/survey/surveyResponse/ but is still shows
> > the app/model list page.
>
> > [snipped]
> > Anyone know what this issue might be?TIA
>
> Check your admin url pattern. It should be:
>
> (r'^admin/', include(admin.site.urls)),
>
> not:
>
> (r'^admin/(.*)', include(admin.site.urls)),
>
> That 2nd one is half-converted from the old 1.0 admin.site.root pattern and
> will exhibit the behavior you describe.
>
> Karen
> --http://tracey.org/kmt/
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment