diff options
| author | Carlton Gibson | 2014-06-23 14:52:18 +0200 | 
|---|---|---|
| committer | Carlton Gibson | 2014-06-23 14:52:18 +0200 | 
| commit | f34011f8010a5a3358eead9f60be1fb4db4e834a (patch) | |
| tree | d5586fa1009f99f4e2c049b5ca8be29971f2be79 /rest_framework/settings.py | |
| parent | 2768101441f75d53e5e911528a972e71b142583c (diff) | |
| download | django-rest-framework-f34011f8010a5a3358eead9f60be1fb4db4e834a.tar.bz2 | |
Allow use of native migrations in 1.7
Diffstat (limited to 'rest_framework/settings.py')
| -rw-r--r-- | rest_framework/settings.py | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/rest_framework/settings.py b/rest_framework/settings.py index 38753c96..332d5e4f 100644 --- a/rest_framework/settings.py +++ b/rest_framework/settings.py @@ -119,6 +119,13 @@ DEFAULTS = {      # Pending deprecation      'FILTER_BACKEND': None, + + +    # 1.7 Migration Compatibility + +    'SOUTH_MIGRATION_MODULES': { +        'authtoken': 'rest_framework.authtoken.south_migrations', +    }  } | 
