Ask Your Question
1

Error when registering

asked May 17 '11

arknotts gravatar image arknotts
95 1 7

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

1 Answer

Sort by ยป oldest newest most voted
1
arknotts has selected this answer as correct

answered May 18 '11

Evgeny gravatar image Evgeny flag of Chile
6665 31 49 95
http://askbot.org/

updated May 18 '11

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.

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 (May 19 '11)
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 (May 19 '11)

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Follow

subscribe to rss feed

Stats

Asked: May 17 '11

Seen: 53 times

Last updated: May 18 '11