Re: multiple databases -- database across sites?

2010-06-10 Thread Alex Robbins
Chris, The sites contrib app seems to address your use case. http://docs.djangoproject.com/en/dev/ref/contrib/sites/ You could just add a foreign key to site in the second app and modify the manager to only get items for the current site. class SiteSpecificManager(db.Manager): def get_query_se

multiple databases -- database across sites?

2010-06-10 Thread chris
Hi there, I have the following problem: There is one django site, which consists of two apps, the data for these apps are stored in a database. Some of the models in one app access models from the other app. Now I want to create a new site (on the same server), which contains new data for one o