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
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
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
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
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
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
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
7 matches
Mail list logo