Hi Eddilbert,
What are the URL patterns for the two views? I suspect a problem with 
`pk_url_kwarg`, but I am surprised by the error output.

If that is not the problem: Does this error occur if you do not override the 
`form_class` of `ResourceCreateView`? Could you supply the code for 
`CreateResourceForm`?

Also, you may find the following site helpful when dealing with Generic Class 
Based Views (which allowed me to quickly check the behavior of get_object, 
listed in your traceback): http://ccbv.co.uk/

Andrew

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/67C08647-FC15-4274-B0A1-D1A3B3714262%40andrewsforge.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to