How do I set prifix to django contrib tables names?

Posted by Software Enthusiastic on Stack Overflow See other posts from Stack Overflow or by Software Enthusiastic
Published on 2010-03-19T05:46:05Z Indexed on 2010/03/19 5:51 UTC
Read the original article Hit count: 160

Filed under:
|
|

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 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...

© Stack Overflow or respective owner

Related posts about django-models

Related posts about django