Hi,

I have looked at the django docs and couldn't find anything exactly
related to what I want to do.  I have my urls set up currently so:

team/<object_id>
returns a page for that team

team/<object_id>/results
returns a results page for that team

I'm stuck when trying to do:
team/<object_id>/results/<object_id>
which I'd like to return a page that gives the detail of a result.

I've tried this in my url.py file
     (r'^team/(?P<object_id>[0-9]+)/results/(?P<object_id>[0-9]+)/$',
'django.views.generic.list_detail.object_detail', dict(results_dict,
template_name='teams/team_results_reports.html')),

but I get the error:
error at /team/1/results/
redefinition of group name 'object_id' as group 2; was group 1
Request Method:         GET
Request URL:    http://duncanm.webfactional.com/team/1/results/
Exception Type:         error
Exception Value:        redefinition of group name 'object_id' as group 2;
was group 1
Exception Location:     /usr/local/lib/python2.4/sre.py in _compile, line
227

Does anyone know how I could achieve the said operation?

Thanks
Duncan


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to