Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23189

Python Django migration error

$
0
0
django.db.utils.OperationalError: (1553, "Cannot drop index 'star_ratings_userrating_user_id_5a83a88db79dd2cf_uniq': needed in a foreign key constraint")

Screen Shot

I have installed an application in my project django-star-ratings 0.5.3. It requires syncing database and when I migrate python manage.py migrate it shows an error. How can I resolve this issue?


Viewing all articles
Browse latest Browse all 23189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>