tags:

views:

22

answers:

1

a newbie question

I have a Django project with 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

A: 

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

Daniel Roseman