First time here? Check out the FAQ!
1

Error when registering
 

I'm receiving this error on my development copy.

Warning at /account/register/

Field 'hide_ignored_questions' doesn't have a default value

Request Method:     POST
Request URL:    http://localhost:8000/account/register/
Exception Type:     Warning
Exception Value:    

Field 'hide_ignored_questions' doesn't have a default value

Exception Location:     /usr/local/lib/python2.6/dist-packages/MySQL_python-1.2.3-py2.6-linux-i686.egg/MySQLdb/cursors.py in _warning_check, line 92
Python Executable:  /usr/bin/python2.6
Python Version:     2.6.6

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
arknotts's avatar
105
arknotts
asked 14 years ago

Comments

see more comments

1 Answer

1

The hide_ignored_questions field does not exist any more, so maybe you forgot to run a migration?

To list pending migrations, type:

python manage.py migrate --list

Thanks.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
updated 14 years ago, answered 14 years ago
link

Comments

Yes, this was it. Sorry! I'm still getting acquainted with django. However, it was giving me errors when I tried to migrate my existing database. I had to drop all of the tables and then run syncdb, and migrate again.
arknotts's avatar arknotts (14 years ago)
What kind of errors did you get on migration? Probably there is something that needs to be fixed. It is much better to use postgres too.
Evgeny's avatar Evgeny (14 years ago)
see more comments