Hi,

get is a termination statement for querysets.
please use filter instead.

Regards,
Xavier Ordoquy.

Le 22 mai 2012 à 10:34, wchildsuk a écrit :

> Hi,
> 
> I'm trying to use generic class based views to edit a specific
> queryset but I can't see to get my code working. I've defined queryset
> and relevant form but when the form renders it doesn't contain the
> queryset and when it saves it creates a new entry instead of editing
> the existing one.
> 
> If anyone could help that would be great as I'm completely stuck. A
> copy of my code is available here, http://dpaste.com/751045/
> 
> Thanks in advance
> 
> Wes
> 
> -- 
> 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 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.
> 

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to