开发者

How do I set prifix to django contrib tables names?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜