Re: Django queryset 'in' operator fails on first call

2013-04-13 Thread Peter of the Norse
On Apr 10, 2013, at 7:44 AM, bradley griffiths wrote: > Corss posted from stack overflow > > When using the 'in' operator on a queryset, the first time the call is made > it fails. > > from django.db import models > > > class Category(models.Model): > name = models.CharField(max_length=1

Django queryset 'in' operator fails on first call

2013-04-10 Thread bradley griffiths
Corss posted from stack overflow<http://stackoverflow.com/questions/15923809/django-queryset-in-operator-fails-on-first-call> When using the 'in' operator on a queryset, the first time the call is made it fails. from django.db import models class Category(models.