Ask Your Question

Error when registering

asked 2011-05-17 21:57:21 -0500

arknotts gravatar image

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/ in _warning_check, line 92
Python Executable:  /usr/bin/python2.6
Python Version:     2.6.6
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-05-18 14:00:22 -0500

Evgeny gravatar image

updated 2011-05-18 15:24:42 -0500

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

To list pending migrations, type:

python migrate --list


edit flag offensive delete link more


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 gravatar image 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 gravatar image Evgeny  ( 2011-05-19 21:58:55 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-05-17 21:57:21 -0500

Seen: 747 times

Last updated: May 18 '11