From ca903278f59a396f7bd4a8e13138ed52c2041cc3 Mon Sep 17 00:00:00 2001 From: Douglas Hall Date: Tue, 10 Oct 2017 10:46:00 -0400 Subject: [PATCH] Updating edx-enterprise to 0.51.2. https://github.com/edx/edx-enterprise/compare/0.51.0...0.51.2 --- common/djangoapps/util/tests/test_db.py | 5 +---- .../migrations/0002_auto_20171010_1129.py | 19 +++++++++++++++++++ requirements/edx/base.txt | 2 +- 3 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 lms/djangoapps/course_goals/migrations/0002_auto_20171010_1129.py diff --git a/common/djangoapps/util/tests/test_db.py b/common/djangoapps/util/tests/test_db.py index 4b8f91805f..a517338cd9 100644 --- a/common/djangoapps/util/tests/test_db.py +++ b/common/djangoapps/util/tests/test_db.py @@ -236,7 +236,4 @@ class MigrationTests(TestCase): out = StringIO() call_command('makemigrations', dry_run=True, verbosity=3, stdout=out) output = out.getvalue() - # Temporary for `edx-enterprise` version bumps with migrations. - # Please delete when `edx-enterprise==0.48.3`. - if 'Remove field' not in output and 'Delete model' not in output: - self.assertIn('No changes detected', output) + self.assertIn('No changes detected', output) diff --git a/lms/djangoapps/course_goals/migrations/0002_auto_20171010_1129.py b/lms/djangoapps/course_goals/migrations/0002_auto_20171010_1129.py new file mode 100644 index 0000000000..9be9d86e67 --- /dev/null +++ b/lms/djangoapps/course_goals/migrations/0002_auto_20171010_1129.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('course_goals', '0001_initial'), + ] + + operations = [ + migrations.AlterField( + model_name='coursegoal', + name='goal_key', + field=models.CharField(default=b'unsure', max_length=100, choices=[(b'certify', 'Earn a certificate'), (b'complete', 'Complete the course'), (b'explore', 'Explore the course'), (b'unsure', 'Not sure yet')]), + ), + ] diff --git a/requirements/edx/base.txt b/requirements/edx/base.txt index cb8206afde..b9527b1667 100644 --- a/requirements/edx/base.txt +++ b/requirements/edx/base.txt @@ -47,7 +47,7 @@ edx-lint==0.4.3 astroid==1.3.8 edx-django-oauth2-provider==1.2.5 edx-django-sites-extensions==2.3.0 -edx-enterprise==0.51.1 +edx-enterprise==0.51.3 edx-oauth2-provider==1.2.2 edx-opaque-keys==0.4.0 edx-organizations==0.4.6