Working with unsanitized input like this might be dangerous.
http://localhost/content/../../../etc/passwd
How about this?
{{extend 'layout.html'}}
div id=homeContent
{{include default/content.html'}}
/div
you do not need a controller function to include a view.
On Jan 31, 4:18 pm, Ed Greenberg greenberg...@gmail.com wrote:
I have some html files which I want to render inside the
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
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
4 matches
Mail list logo