django-ratings icon indicating copy to clipboard operation
django-ratings copied to clipboard

Unknown column 'resources_resources.rating_votes' in 'field list'

Open luistce opened this issue 8 years ago • 0 comments

After installing and syncing db, i added this to my model:

rating = RatingField(range=5)

and got the error:

Unknown column 'resources_resources.rating_votes' in 'field list'

I checked the DB and the tables ratings_score and ratings_vote were created, but no columns were added to the model i added the RatingField to (not sure if it's supposed to add columns to it's DB).

What am i missing? I believe i followed to tutorial correctly. I'm on Django 1.6. If theres any manual solution to get this working it would help too.

Thanks in advance

luistce avatar Mar 15 '16 16:03 luistce