Re: Two sites, one django project

2008-04-15 Thread David Reynolds
On 10 Apr 2008, at 1:48 pm, Polat Tuzla wrote: > CSS swapping via settings file seems like good idea. Thanks for that.. > But when it comes storing messages in the database: I don't think it's > feasible. > By messages I mean almost all of the strings throughout the source; > page titles, headers

Re: Two sites, one django project

2008-04-11 Thread andy baxter
Hello, I've been thinking about this - probably the best way is if you can find something built into django (like the i18n framework) which will do this, but failing that you could try this: - for the templates, just have two sets of templates, one for each site. - for strings that are written

Re: Two sites, one django project

2008-04-10 Thread Polat Tuzla
CSS swapping via settings file seems like good idea. Thanks for that.. But when it comes storing messages in the database: I don't think it's feasible. By messages I mean almost all of the strings throughout the source; page titles, headers in templates, error messges that are added to user messag

Re: Two sites, one django project

2008-04-10 Thread [EMAIL PROTECTED]
Maybe I'm over simplyfying this ... but why not just swap out the css file you are using based on a setting you can change in your settings.py fileas well as modify the database you are calling in your settings.py file, and store your messages in a table... where the data would be different in

Re: Two sites, one django project

2008-04-10 Thread Tim Sawyer
Came across this the other day, never used it. http://code.google.com/p/django-databasetemplateloader/ It seems to allow you to store templates in the database, so could this be used together with the sites framework to skin your sites differently? Tim. On Thursday 10 Apr 2008, Polat Tuzla w

Re: Two sites, one django project

2008-04-10 Thread Jarek Zgoda
Polat Tuzla napisaƂ(a): > I'd like to build two sites, say, two polls sites, each having their > own domain name. Their functionalities are almost exactly the same. > They're different only by theme. By theme, I mean both the site design > (visual theme) and the site messages. For example one is

Re: Two sites, one django project

2008-04-10 Thread scott lewis
On 2008-04-10, at 0312, Polat Tuzla wrote: > > Hi, > I'd like to build two sites, say, two polls sites, each having their > own domain name. Their functionalities are almost exactly the same. > They're different only by theme. > [...] > What exact way of achieving this would you suggest me? > Than