Skip to content

Commit 81c2562

Browse files
committed
Merge pull request #2479 from lucaswiman/custom_user_shim_db_table
Use the proper db_table argument when constructing meta
2 parents 761f264 + a1eba88 commit 81c2562

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_framework/authtoken/south_migrations/0001_initial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def backwards(self, orm):
4040
'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
4141
},
4242
"%s.%s" % (User._meta.app_label, User._meta.module_name): {
43-
'Meta': {'object_name': User._meta.module_name},
43+
'Meta': {'object_name': User._meta.module_name, 'db_table': repr(User._meta.db_table)},
4444
},
4545
'authtoken.token': {
4646
'Meta': {'object_name': 'Token'},

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy