Collin,

You are right I was missing the .as_view()

I am now getting an exception:
Exception Value:

Generic detail view GeneralConfigurationUpdate must be called with
either an object pk or a slug.



I looked at the example here and I don't see anything mentioning setting up
a slug.  I believe a slug is when a previous url redirects with a value
attached such as (?P<pk>[0-9]+)

Does this mean that I have to create an additional view to pass the object
that I am interested in?



On Wed, Sep 17, 2014 at 8:16 AM, Collin Anderson <cmawebs...@gmail.com>
wrote:

> are you calling as_view() when installing your view in urls.py?
>
> Could you post the rest of the traceback?
>
> --
> 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/86cd4f96-f6ed-4e79-a35a-e8a27e3cbd79%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/86cd4f96-f6ed-4e79-a35a-e8a27e3cbd79%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAD0urK3QzNmnXDVGf9d5%2B0VcaMPBCuWJwEmCUKHorkB7inoJxA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to