Re: Theming

2017-04-26 Thread Clinton Blackburn
Russ, Thanks for your help. I ultimately abandoned the (over-engineered) nested idea. Since we were on a tight deadline, I decided to focus only on the one page I needed customized. The template has three sections—header, body, footer. I use select_template to find the right templates to includ

Re: Theming

2017-04-08 Thread Russell Keith-Magee
Hi Clinton, On Sat, Apr 8, 2017 at 4:05 PM, Clinton Blackburn < clinton.blackb...@gmail.com> wrote: > Russ, > > How would this work for base/nested templates? Say my view is rendering > the potential templates ['my-theme/page.html', 'page.html'], and the > templates inherits base.html. Do I have

Re: Theming

2017-04-08 Thread Clinton Blackburn
Russ, How would this work for base/nested templates? Say my view is rendering the potential templates ['my-theme/page.html', 'page.html'], and the templates inherits base.html. Do I have to override base.html for every theme if I want base.html (or any other child/parent template) to be theme-a

Re: Theming

2017-04-08 Thread Russell Keith-Magee
On Sat, Apr 8, 2017 at 1:28 AM, Clinton Blackburn < clinton.blackb...@gmail.com> wrote: > Has anyone solved site-aware theming? I have a multi-tenant site (using > sites framework) and I want to render custom templates for each site. My > current design calls for a default design, and overrides of

Re: Theming Django with Diazo/XSLT

2013-12-18 Thread Delusional Insanity
You could give `django_diazo` package a try. https://github.com/Goldmund-Wyldebeast-Wunderliebe/django-diazo It's quite new, but improving. On Friday, 14 December 2012 22:55:31 UTC+1, 4 The good Life we work wrote: > > Hallo, > > I'm used to theme Plone with Diazo/ XSLT.

Re: Theming Django with Diazo/XSLT

2012-12-18 Thread 4 The good Life we work
Hallo Ariel, thank you for letting me know. I've looked at the site and will give it a try. Thanks, Michael On 12/18/2012 11:03 AM, Ariel Calzada wrote: > Hi Michael! > > Django doesn't use approach of DIAZO/XSLT theming by default. You can > use diazo in an indepedently way ( > WSGI http://docs

Re: Theming Django with Diazo/XSLT

2012-12-18 Thread Ariel Calzada
Hi Michael! Django doesn't use approach of DIAZO/XSLT theming by default. You can use diazo in an indepedently way ( WSGI http://docs.diazo.org/en/latest/quickstart.html ). Regards, ARIEL 2012/12/18 4 The good Life we work <4thegdl...@googlemail.com> > Hallo Derek, > > thank for your reply. I w

Re: Theming Django with Diazo/XSLT

2012-12-18 Thread 4 The good Life we work
Hallo Derek, thank for your reply. I was thinking about the templates. The admin area is fine for now, though it could be changed through diazo too if needed. Thanks, Michael On Tue 18 Dec 2012 08:28:12 AM CET, Derek wrote: > You do not say which part of Django you need to theme. Assuming its

Re: Theming Django with Diazo/XSLT

2012-12-17 Thread Derek
You do not say which part of Django you need to theme. Assuming its the admin, I suggest you look at Grappelli[1] as they have done extensive work in theming. You could either provide your own CSS and override any templates as needed; or start from scratch but with their approach/code as an e