diff --git a/docs/api-guide/settings.md b/docs/api-guide/settings.md index 0ecb1d2d6..e103fbab4 100644 --- a/docs/api-guide/settings.md +++ b/docs/api-guide/settings.md @@ -174,16 +174,4 @@ The name of a parameter in the URL conf that may be used to provide a format suf Default: `'format'` -## REQUIRED_MIGRATIONS - -This is a list of required migrations which are needed by the authtoken migration. - -E.g. - - ( - ('users', '0001_initial'), - ) - -Default: `'()'` - [cite]: http://www.python.org/dev/peps/pep-0020/ diff --git a/rest_framework/authtoken/migrations/0001_initial.py b/rest_framework/authtoken/migrations/0001_initial.py index b0c81bf19..b7c563afd 100644 --- a/rest_framework/authtoken/migrations/0001_initial.py +++ b/rest_framework/authtoken/migrations/0001_initial.py @@ -17,8 +17,6 @@ else: class Migration(SchemaMigration): - depends_on = api_settings.REQUIRED_MIGRATIONS - def forwards(self, orm): # Adding model 'Token' db.create_table('authtoken_token', ( diff --git a/rest_framework/settings.py b/rest_framework/settings.py index 319122150..b7aa0bbe0 100644 --- a/rest_framework/settings.py +++ b/rest_framework/settings.py @@ -76,9 +76,6 @@ DEFAULTS = { 'URL_FORMAT_OVERRIDE': 'format', 'FORMAT_SUFFIX_KWARG': 'format', - - # Authtoken - 'REQUIRED_MIGRATIONS': (), }