First time here? Check out the FAQ!
1

Error when registering

  • retag add tags

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
arknotts's avatar
105
arknotts
asked 2011-05-17 21:57:21 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment 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.

Evgeny's avatar
13.2k
Evgeny
updated 2011-05-18 15:24:42 -0500, answered 2011-05-18 14:00:22 -0500
edit flag offensive 0 remove flag delete 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 (2011-05-19 21:12:41 -0500) edit
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 (2011-05-19 21:58:55 -0500) edit
add a comment see more comments