Skip to content
This repository has been archived by the owner on Jul 17, 2018. It is now read-only.

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

Open
luistce opened this issue Mar 15, 2016 · 0 comments
Open

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

luistce opened this issue Mar 15, 2016 · 0 comments

Comments

@luistce
Copy link

luistce commented Mar 15, 2016

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant