开发者

Django contentType and read only database

a newbie question

I have a Django project wit开发者_开发百科h two applications core and nagios each with its model

I have two database connections default and nagios

The nagios database is read only

when I use python manage.py syncdb this error appears

Table 'nagios.django_content_type' doesn't exist"

why does the contentType application need to create a content_type table in the nagios database? and how can I force the contentType application to check against the default database connection only


Sounds like you just need to set up an automatic database router.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜