On Saturday, 26 December 2015 06:34:02 UTC, Billu wrote:
>
> I'm trying to make a single choice quiz (i.e. Choose one from 4 options). 
> I'll populate the quiz (with 30 questions) depending upon what topic the 
> user chooses. I'm made some models and forms, but when I try to migrate it 
> says 
>
> AttributeError: 'CharField' object has no attribute 'model'
>
>
> I don't even know which model has problem. I've tried it in Django 1.9 
> (with virtualenv) & 1.8, same error. I've tried both manage.py check & 
> manage.py runserver and they all come up ok (with runserver saying I need 
> to migrate). 
>
>
You'll need to show code of the migration that triggers the problem.
-- 
DR. 

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/0d0eed13-9fc9-4797-b7ac-0ea0fcc21a85%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to