AttributeError for ModelForm

2010-08-14 Thread jcage
I'd like to ask for you guidance in the following matter in django: I am using the following models: class QItem(models.Model): isWhat = models.CharField(max_length=100, blank=True, choices=ISWHAT) slug = models.SlugField(blank=True) script = models.CharField(max_lengt

object has no attribute '_state'

2010-07-05 Thread jcage
Hi everyone. I'm quite new to python and django. I was wondering if anyone could shed some light on this topic : My models.py contains the classes QuestionSet and Question, which inherits the former. In the shell, I define a Question object as follows q1 = Question(script = "How are you?", commen