You need to make the local directories accessable to the webserver. The way 
you do this is specific to whatever webserver you are using. With uwsgi I 
use the --static-map parameter:

uwsgi <other args> --static-map /local="D:/SomeFolder"

I don't think werkzeug supports this type of mapping.

On Thursday, 13 October 2016 13:05:06 UTC-4, santosh...@socialcodeinc.com 
wrote:
>
> Hi,
>
> I've an application that displays the test data with different charts. 
> This is based on flask and jinja2.
> Now, I've a index.html file somewhere in my computer, say, 
> "D:/SomeFolder/index.html"
>
> Requirement:
> I need to create a link in one of the jinja2 rendered templates that will 
> open up index.html in a new tab (or same tab). 
>
> I'm new to python and jinja2 and searched for a solutions for more than a 
> couple of hours. Couldn't get anything useful.
>
> Any help will be really appreciated. 
>
> Thanks. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pocoo-libs+unsubscr...@googlegroups.com.
To post to this group, send email to pocoo-libs@googlegroups.com.
Visit this group at https://groups.google.com/group/pocoo-libs.
For more options, visit https://groups.google.com/d/optout.

Reply via email to