Hello, This may be a rudimentary question, sorry if is...
I would like to use the generic create_object view, but populate a hidden form field with a location_id argument which is extracted from the url. I've tried this url pattern below, but get this error: create_object() got an unexpected keyword argument 'location_id' This error seems to make sense. I've tried to somehow get location_id into extra_context argument somehow, but I can't get it to work. Is this task possible while still taking advantage of the generic view? in urls.py... (r'^create/(?P<location_id>\d+)/$', 'django.views.generic.create_update.create_object', {'model':Conversation), Thanks! - Steve --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---