i installed an app django-ratings. I want to syncdb, but here is my error:
djangoratings.vote: 'user' defines a relation with the model 'auth.User',
which has been swapped out. Update the relation to point at settings.AUTH_USER_MODEL.
Iam using AllAuth for Facebook login, and custom user auth with some extra features.
In settings file i provide
AUTH_USER_MODEL = 'accountext.User'
How to fix that error from djangoratings?
Thanx
It is an open django-ratings
issue: Complete Django 1.5 Custom User Model compatibility. django-ratings
was made before the custom user model was implemented. It uses auth.User
model directly instead of going through dynamic AUTH_USER_MODEL
settings.
django-ratings
is not actively maintained, pull requests are in opened state for years. I would consider not using it.