Héllo Subodh On Sunday, December 30, 2012 3:57:36 AM UTC+1, Subodh Nijsure wrote: > > Hi, > > I have following situation where. My model consist of say table1, table2, > table3. > > I am going to "host" similar data and associated web interface for > multiple customers -( customer1, customer2, customer3.) they would access > these application as http://hostname/customer1 http://hostname/customer2etc. > > When customer1 application is deployed I want tables customer1_table1, > customer1_table2, customer1_table3 to be created. Same for customer2, 3 etc. > > Right now I am thinking of having one "template" directory where all > database names are referred to as replaceme_table1, replaceme_table2 etc. > > When I actually deploy application for real customer say customer1 I am > copying this template to directory customer1 and running sed to change > 'replaceme' with 'customer1' > > Is there a better, elegant way to do this in django where you have same > model that needs to be deployed as multiple django applications? >
If I understand this is a multitenant application or multitenancy for short, one django instance for several customer. They are several application that are labeled like that, I can't recommend any in particular since I don't use it them. Regards, Amirouche -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/_np6wETOfSwJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.