Django: how to create sites dynamically?
- by Leandro Ardissone
Hi,
I need to create an application for the company where I can create sites dynamically. For example, I need an admin interface (Django's admin is enough) where I can setup a new site and add some settings to it.
Each site must hold a domain (domains can be manually added to apache conf, but if Django can handle it too would be awesome). Each site must be independent of the others, I mean, I shouldn't be able to see the data content of other sites but I can share same applications/models.
I've seen the Django's Sites framework, but I'm not sure if it's possible to implement that way.
Should I use Sites framework or create a new app that can handle sites better?
What do you think?