Vicente G. Reyes
Posted on June 4, 2019
I was making migrations on my django project when I encountered 2 modules not found; crispy_forms & storages.
My pip list is :
Package Version ------------------- -------- boto3 1.9.159 botocore 1.12.159 certifi 2019.3.9 chardet 3.0.4 dj-database-url 0.5.0 Django 2.2.1 django-crispy-forms 1.7.2 django-heroku 0.3.1 django-storages 1.7.1 docutils 0.14 gunicorn 19.9.0 idna 2.8 jmespath 0.9.4 Markdown 3.1.1 martor 1.4.0 Pillow 6.0.0 pip 19.1.1 psycopg2 2.8.2 python-dateutil 2.8.0 pytz 2019.1 requests 2.22.0 s3transfer 0.2.0 setuptools 41.0.1 six 1.12.0 sqlparse 0.3.0 urllib3 1.25.3 wheel 0.33.4 whitenoise 4.1.2
and the installed apps on my settings are
INSTALLED_APPS = [ .... 'crispy_forms', 'storages', ]
When I try to migrate on heroku's bash I get:
psycopg2.errors.DuplicateTable: relation "blog_about" already exists
Anyone familiar with this?
Solution:
Re-installed crispy_forms at django storages
💖 💪 🙅 🚩
Vicente G. Reyes
Posted on June 4, 2019
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
django Django AllAuth Chapter 5 - Extending Django AllAuth user model with custom fields
August 13, 2024
django Django Authentication Tutorial: Login, Logout, Signup, Password Change, and Password Reset
January 27, 2024
django Navigating Django Schemas with Ease: How Django-schema-viewer Helps Developers
January 18, 2024