Django: how to create sites dynamically?
Posted
by Leandro Ardissone
on Stack Overflow
See other posts from Stack Overflow
or by Leandro Ardissone
Published on 2010-06-15T14:19:33Z
Indexed on
2010/06/15
14:22 UTC
Read the original article
Hit count: 218
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?
© Stack Overflow or respective owner