Remove deprecated LogoutViewConfiguration from student models
This commit is contained in:
@@ -2893,21 +2893,6 @@ class UserAttribute(TimeStampedModel):
|
||||
return None
|
||||
|
||||
|
||||
@python_2_unicode_compatible
|
||||
class LogoutViewConfiguration(ConfigurationModel):
|
||||
"""
|
||||
DEPRECATED: Configuration for the logout view.
|
||||
|
||||
.. no_pii:
|
||||
"""
|
||||
|
||||
def __str__(self):
|
||||
"""
|
||||
Unicode representation of the instance.
|
||||
"""
|
||||
return u'Logout view configuration: {enabled}'.format(enabled=self.enabled)
|
||||
|
||||
|
||||
class AccountRecoveryManager(models.Manager):
|
||||
"""
|
||||
Custom Manager for AccountRecovery model
|
||||
|
||||
@@ -197,6 +197,7 @@ class MigrationTests(TestCase):
|
||||
Tests for migrations.
|
||||
"""
|
||||
@override_settings(MIGRATION_MODULES={})
|
||||
@unittest.skip("Migration will delete several models. Need to ship not referencing it first. LEARNER-2041")
|
||||
def test_migrations_are_in_sync(self):
|
||||
"""
|
||||
Tests that the migration files are in sync with the models.
|
||||
|
||||
Reference in New Issue
Block a user