Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Django 1.7 #37

Merged
merged 6 commits into from Aug 7, 2015
Merged

Update to Django 1.7 #37

merged 6 commits into from Aug 7, 2015

Conversation

Hwesta
Copy link
Contributor

@Hwesta Hwesta commented Oct 7, 2014

Update to use Django 1.7, including fixes for backwards compatibliity and other versions bumps.

@mistydemeo
Copy link
Contributor

👍

@jhsimpson jhsimpson added this to the 0.8.0 milestone Apr 1, 2015
@qubot qubot force-pushed the dev/issue-7307-django-1.7 branch 5 times, most recently from ea7bfa1 to ba6d2de Compare April 8, 2015 22:14
@Hwesta
Copy link
Contributor Author

Hwesta commented Apr 8, 2015

Updated to handle converting from South to Django migrations. Ready to be looked at again. Should be tested upgrading packages from 0.3, 0.4 and 0.5.

echo 'Faking the 0.4 migration'
/usr/share/python/archivematica-storage-service/bin/python manage.py migrate locations 0002_v0_4 --fake
fi
if [[ $2 == '0.6.'* || $2 == '0.5.'* ]]; then
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check with Justin that these actually match the versions postinst will be called with.

@mistydemeo
Copy link
Contributor

Haven't tested but looks good 👍

@Hwesta
Copy link
Contributor Author

Hwesta commented Aug 7, 2015

Added south migration for 0.7

@mistydemeo
Copy link
Contributor

👍

@qubot qubot force-pushed the dev/issue-7307-django-1.7 branch from 1adb672 to 190a114 Compare August 7, 2015 16:54
@mistydemeo
Copy link
Contributor

:shipit:

refs #7305

mimetype is deprecated in Django 1.7, replaced by content_type
refs #7307

Update Django and Tastypie versions. Update test runner default to suppress
warnings. Remove South, as it is built in now.
Remove patterns, and rely on stock Python regex behaviour.
refs #7307

To support upgrading from 0.3 and later, add Django migrations for each of
those releases. Fake apply those migrations in postinst for more recent
releases. All migrations for after 0.7 should be created solely as Django
migrations
@qubot qubot force-pushed the dev/issue-7307-django-1.7 branch from 190a114 to ad019be Compare August 7, 2015 17:09
@qubot qubot merged commit df5dc07 into qa/0.x Aug 7, 2015
@qubot qubot deleted the dev/issue-7307-django-1.7 branch August 7, 2015 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants