开发者

How do I set prifix to django contrib tables names?

开发者 https://www.devze.com 2022-12-23 04:52 出处:网络
HI One of my requirement is to have prefix on all the tables of the django based project (Because db is hosted on shared server). I have used db_table Meta option to set the prefix for the tables whi

HI

One of my requirement is to have prefix on all the tables of the django based project (Because db is hosted on shared server). I have used db_table Meta option to set the prefix for the tables which I have开发者_JS百科 created.

Now my query is how do I set the prefix for tables provided by django.contrib.

Instead of auth_group django should create prefix_auth_group.... How do I do that?

Thank you very much...


From reading this ticket, I would say it is not possible without a hack.

0

精彩评论

暂无评论...
验证码 换一张
取 消