Hey All!

I'm trying to debug a view but I'm getting an error that I can't trace.

The error is:

TypeError at /reservations/pubs/42/
select_date_for_pub() got multiple values for keyword argument 'pub'

but the local vars in the error screen shows:

callback_kwargs         {'template_name': 'select_date.html', 'pub': '42'}

The urls.py (simplified):

urlpatterns = patterns('',
     (r'^pubs/(?P<pub>\d{1,2})/$',    
'reservations.views.select_date_for_pub', {'template_name':  
'select_date.html'}),
)


Any ideas where I'm going wrong?

Thanks!

Corey

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

Reply via email to