Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 784 Bytes

UPGRADING.md

File metadata and controls

39 lines (26 loc) · 784 Bytes

Upgrading from Django 1.5 to 3.0

Django 1.7

pip install -r requirements.txt pip uninstall south ./manage.py migrate

Django 1.8

pip install -r requirements.txt ./manage.py migrate

Django 1.9

pip install -r requirements.txt ./manage.py migrate oauth2_provider 0001 --fake ./manage.py migrate

Django 1.10

pip install -r requirements.txt ./manage.py migrate

Django 1.11

pip install -r requirements.txt ./manage.py migrate

Django 2.0 (python 3)

mkvirutalenv -p python3 newsblur3

mongo: db.notifications.dropIndex('user_id_1_feed_id_1') db.notification_tokens.dropIndex('user_id_1') db.email_unsubscribes.dropIndex('user_id_1_email_type_1') db.stories.dropIndex('story_hash_1') db.saved_searches.dropIndex('user_id_1_feed_id_1_query_1')