marcelo.delta
marcelo.delta

Reputation: 3082

Change database table name for django builtin tables

How can I do set a custom table name to django builtin tabes?

For example, migrations, content_type or admin_log are stored as:

Upvotes: 0

Views: 214

Answers (1)

joe513
joe513

Reputation: 96

You can go to internal django source and add db_table attribute to Meta class where you need.

Details

Upvotes: 1

Related Questions