good question! I was basing it off the docs (or so I thought) on generic views. django urls.py has never been very intuitive for me, so I rely on copying from the docs pretty heavily. I guess it got mangled at some stage... thanks for the link tho.
:) On Jul 16, 2:15 pm, Alex Koshelev <daeva...@gmail.com> wrote: > On Fri, Jul 17, 2009 at 1:07 AM, Some Guy <djul...@gmail.com> wrote: > > > Found out what was causing this error behavior. > > > this line was in my urls.py.. commenting it out fixed everything. I > > just can't see what's wrong with it :-) > > > # (r'^diamond/(?P<object_id>\d+)/$', 'object_detail', info_dict, > > {'template': 'diamond_detail.html'}), > > Please read url patterns docs [1] and answer to yourself - why you have 2 > dicts in one pattern? > > [1]:http://docs.djangoproject.com/en/dev/topics/http/urls/#patterns > > --- > Alex Koshelev --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---