aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Christie2015-01-28 09:20:27 +0000
committerTom Christie2015-01-28 09:20:27 +0000
commit81c2562ec4a1871a6f5f471ad37799ede3dbc166 (patch)
treed0c631ee70d1299f750d19afd89751b06d1cfa53
parent761f264f59f16edf4fef32c9727066b7b2459f6d (diff)
parenta1eba885e287f59dd269441dfebb3b3de3eea692 (diff)
downloaddjango-rest-framework-81c2562ec4a1871a6f5f471ad37799ede3dbc166.tar.bz2
Merge pull request #2479 from lucaswiman/custom_user_shim_db_table
Use the proper db_table argument when constructing meta
-rw-r--r--rest_framework/authtoken/south_migrations/0001_initial.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/authtoken/south_migrations/0001_initial.py b/rest_framework/authtoken/south_migrations/0001_initial.py
index 926de02b..5b927f3e 100644
--- a/rest_framework/authtoken/south_migrations/0001_initial.py
+++ b/rest_framework/authtoken/south_migrations/0001_initial.py
@@ -40,7 +40,7 @@ class Migration(SchemaMigration):
'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
},
"%s.%s" % (User._meta.app_label, User._meta.module_name): {
- 'Meta': {'object_name': User._meta.module_name},
+ 'Meta': {'object_name': User._meta.module_name, 'db_table': repr(User._meta.db_table)},
},
'authtoken.token': {
'Meta': {'object_name': 'Token'},