You can always put the static pages into app/static/

On Jan 31, 6:51 pm, pbreit <pbreitenb...@gmail.com> wrote:
> You pretty much need to add both a controller function and a view to add
> static pages like that.
>
> Otherwise, you would need to program some sort of traffic cop to see the
> incoming request and manually render it with a view.
>
> So create a controller content.py with something like this:
>
> def index():
>     return response.render('content/%s' % request.args(0))
>
> Put your views in views/content
>
> Then a URL like:http://localhost/content/about
>
> Should map to the view at views/content/about.html

Reply via email to