1 | from django.contrib.auth.models import Group, User, Message, Permission
|
---|
2 | from django.contrib.sessions.models import Session
|
---|
3 | from django.contrib.contenttypes.models import ContentType
|
---|
4 | from django.contrib.admin.models import LogEntry
|
---|
5 |
|
---|
6 | Permission._meta.db_table = 'something_permission'
|
---|
7 | Group._meta.db_table = 'something_group'
|
---|
8 | User._meta.db_table = 'something_user'
|
---|
9 | Message._meta.db_table = 'something_message'
|
---|
10 | ContentType._meta.db_table = 'something_contenttype'
|
---|
11 | Session._meta.db_table = 'something_session'
|
---|
12 | LogEntry._meta.db_table = 'something_admin_log'
|
---|