Ilias Lazaridis wrote:
> A simple solution to provide generic template attributes is this one:
> 
> within setup.cfg
> 
> settings=project_page=theProjectPage.com
>          myVar=myValue
> 
> those are accessible within the html-templates via:
> 
> t.settings['project_page']
> t.settings['myValue']
> 
> Question: is there any simple way (e.g. a standard python function) to 
> map the settings directly to attributes?
> 
> something like:
> 
> create_attributes(t, settings)
> 
> thus they can be accessed via:
> 
> t.project_page
> t.myVar
> 
> -
> 
> http://lesscode.org/projects/pudge/ticket/16

this issue is solved:

http://pudge.lesscode.org/trac/ticket/16

.

-- 
http://lazaridis.com

_______________________________________________
Pudge mailing list
[email protected]
http://lesscode.org/mailman/listinfo/pudge

Reply via email to