Changeset 2151

Show
Ignore:
Timestamp:
11/28/06 23:11:05 (2 years ago)
Author:
fredlin
Message:

qstemplate sync with 1.0

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/turbogears/qstemplates/quickstartbig/+package+/controllers/root.py_tmpl

    r1996 r2151  
    1111class Root(controllers.RootController): 
    1212    ${b}expose(template="${package}.templates.welcome")${e} 
    13 #if $identity != "none"  
     13#if $identity != "none" 
    1414    # ${b}identity.require(identity.in_group("admin"))${e} 
    1515#end if 
  • trunk/turbogears/qstemplates/quickstart/+package+/controllers.py_tmpl

    r1985 r2151  
    11from turbogears import controllers, expose 
    2 # from ${package} import model 
     2# from model import * 
    33#if $identity != "none" 
    44from turbogears import identity, redirect 
    55from cherrypy import request, response 
    6 from ${package} import json 
     6# from ${package} import json 
    77#end if 
    88# import logging 
     
    1111class Root(controllers.RootController): 
    1212    ${b}expose(template="${package}.templates.welcome")${e} 
    13 #if $identity != "none"  
     13#if $identity != "none" 
    1414    # ${b}identity.require(identity.in_group("admin"))${e} 
    1515#end if 
  • trunk/turbogears/qstemplates/quickstart/sample-prod.cfg_tmpl

    r1842 r2151  
    77# ${package}/config/app.cfg 
    88 
     9# DATABASE 
     10 
    911#if $sqlalchemy == "True" 
    1012# driver://username:password@host:port/database 
     13 
    1114# pick the form for your database 
    1215# sqlalchemy.dburi="postgres://username@hostname/databasename" 
  • trunk/turbogears/qstemplates/widget/setup.py_tmpl

    r1660 r2151  
    1111    # uncomment the following lines if you fill them out in release.py 
    1212    #description=description, 
    13     #long_description=long_description,  
     13    #long_description=long_description, 
    1414    #author=author, 
    1515    #author_email=email,