Karen, you made me feel real stupid. BUT I LOVE YOU!

I read that over and over and couldn't see it. Also I didn't know what
the heck "group name" meant.

Thanks a million.
Dan

On Mar 11, 2:10 pm, Karen Tracey <[email protected]> wrote:
> On Wed, Mar 11, 2009 at 12:46 AM, Tokyo Dan <[email protected]>wrote:
>
>
>
> > Executing the url "http://127.0.0.1:8000/admin"; gives me a Template
> > error with the problem area being: {% url django-admindocs-docroot as
> > docsroot %}
> > (the actual error dump is at the bottom of this explanation.)
>
> > /Volumes/Data1/Caster/gallery/items/urls.py causes the problem: (See
> > it below)
> > The problem goes away if I comment out the 4th URL pattern.
>
> > To solve the problem I was referred to:
> >http://code.djangoproject.com/ticket/9941#comment:1
>
> I don't know why you were referred to that ticket, it doesn't appear to have
> anything to do with your problem.  It doesn't match the first exception you
> are getting, which is:
>
> Exception Value: Caught an exception while rendering: bad character in group
> name
>
> And you isolated it to uncommenting this url::
>
> #
> # Uncommenting the lines below cause the problem:
> #    url(r'^photos/(?P<object.id>\d+)/$', 'list_detail.object_detail',
> #        kwargs={
> #            'queryset': Photo.objects.all(),
> #            'template_name': 'photos_detail.html'
> #        },
> #        name='photo_detail'
> #    ),
> )
>
> The only "group name" in that url is "object.id".  Without checking any
> docs, I'd guess it's the dot in there that Python is objecting to, and I'd
> guess from the fact you have 'object_id' elsewhere that you really intended
> it to be 'object_id' here as well.
>
> Karen
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to