Closed peterbe closed 5 years ago
I don't know, for whoever is nervous about this in their Django 1 and/or Python 2 project, what this means for Django 1 and/or Python 2 but I suspect they simply don't need to upgrade once this change is released in PyPI. :)
Fixes #68
Here's how I tested this:
I created a brand new virtualenv (python 3.7) and
pip install Django django-mozilla-product-details
. Then I addedproduct_details
to theINSTALLED_APPS
and ran./manage.py migrate
.And it still wants to create another migration:
So I delete
/private/tmp/dpd/lib/python3.7/site-packages/product_details/migrations/0003_auto_20190301_2016.py
and edit/private/tmp/dpd/lib/python3.7/site-packages/product_details/migrations/0001_initial.py
and all I did was remove theb
for a binary string.Now:
So yay! It works.