Search code examples
djangodjango-authentication

Default migrate table name rename


Since my project would like to create all the table into an old database,

It would be a problem if I use the default name from Django.

Is there any way to rename all the table like the JPG below?

enter image description here


Solution

  • If you don't mind refer on this extending session and use it in django make abstract session class

    if you want extends and change the default class name to use instead of Session class to AbstractBaseSession