*2009.11.03 14:02:03 python templates

see also: /c/external/sites/charlesbrandt.com/python/pylons/mako.txt

 

*2009.09.21 22:15:35 python templates

Docutils System Messages

System Message: ERROR/3 (<string>, line 14); backlink

Undefined substitution referenced: "::::HYDE::::".

 

*2009.09.21 08:44:43 web templates instances

the files to look at for default templates:

/c/external/sites/charlesbrandt.com/templates/instances.txt /c/external/sites/charlesbrandt.com/python/pylons/new_pylons_app.txt /c/external/sites/charlesbrandt.com/templates/pylons/public/css/style.css /c/external/sites/charlesbrandt.com/templates/pylons/controllers/main.py /c/external/sites/charlesbrandt.com/templates/pylons/templates/header.mako /c/external/sites/charlesbrandt.com/templates/pylons/templates/footer.mako /c/external/sites/charlesbrandt.com/templates/pylons/templates/site.mako /c/external/sites/charlesbrandt.com/templates/pylons/templates/main/index.mako

 

*2009.09.20 11:43:11 python pylons new_pylons_app templates

remove public index.html (otherwise it will be default) cd (package)/public #rm index.html bg.png pylons-logo.gif hg rm personnel/public/bg.png hg rm personnel/public/pylons-logo.gif hg rm personnel/public/index.html

#make images and css directories in public: cp -R /c/external/sites/charlesbrandt.com/templates/pylons/public/css public/ #import other default template files: cp -R /c/external/sites/charlesbrandt.com/templates/pylons/templates/* templates/ cp -R /c/external/sites/charlesbrandt.com/templates/pylons/controllers/* controllers/

#be sure to choose if you want the sqlalchemy version (model-sa) or non-sa: cp /c/external/sites/charlesbrandt.com/templates/pylons/model/* model/

update the imports in the controllers you plan to use

update lib/helpers.py to import webhelpers cp /c/external/sites/charlesbrandt.com/templates/pylons/lib/* lib/

 

*2009.01.09 08:30:41 python pylons mako caching templates
pylons template cache - Google Search
Caching in Templates and Controllers - Pylons Official Docs - PythonWeb
Mako Documentation - Caching