missing constraint on askbot_thread during migrate
 

Hi all, I'm trying to install and run askbot, and when I get to migration step (running 'python manage.py migrate'), I get the following error: ValueError: Cannot find a FOREIGN KEY constraint on table askbot_thread, column accepted_answer_post_id

I'm using MySql with the Django install.
Any ideas? Really appreciate your help! 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)
krolik's avatar
1
krolik
asked 12 years ago

Comments

Which version do you have?

Evgeny's avatar Evgeny (12 years ago)

Python: 2.7.1, askbot: latest, MySQL-python library: 1.2.4b4, mysql: 5.5.20

krolik's avatar krolik (12 years ago)
see more comments