Go – Django SAAS projects

databasedjangosaas

I am almost done developing a Django project (with a few pluggable apps).

I want to offer this project as a SaaS (something like 37signals.com).

i.e: customer1.product1.com , customer2.product2.com etc

product1 could be the basecamp
product2 could be highrise
and so on.

I want to know how the project should be structured for these products.

Should there be a single project under which all products will be an application.
—- OR —-
Should I be making different projects for all the products.

Also interms of database.. should all the products look into a single database or we should have seperate databases for each product.

I am looking out for the most efficient and scalable way to do this.

Thanks

Best Answer

If you want the apps to interact in any way (e,g, share user accounts), they need to be on the same database. Until Alex Gaynor's great work on multiple database support gets merged into trunk, Django doesn't support multiple databases.

Along the same lines, Django's sites framework may be of interest to you. Without any more information about your intentions, it's difficult to give any better advice.

Related Topic