Wednesday, November 21, 2012

Re: DetailView

Thank you for you reply Tom.

I am now getting:

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

I have tried using the pk line you pointed to in the get_queryset method. Should I instead be trying to use def get: ?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/OnhFAWRSVikJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate