On Jul 20, 5:49 pm, WilsonOfCanada wrote:
> Well then I will have to try a different approach. When using
> render_to_response('webpage.html', d), I have d as a dictionary. I
> was wondering if you send a whole text file as a part of the
> dictionary.
>
> For example:
>
> fileView = open('C://p
That is entirely possible; however, it might slow down the rendering
of the template, because you simply have more to handle.
Luke
On Jul 20, 12:49 pm, WilsonOfCanada wrote:
> Well then I will have to try a different approach. When using
> render_to_response('webpage.html', d), I have d as a d
Well then I will have to try a different approach. When using
render_to_response('webpage.html', d), I have d as a dictionary. I
was wondering if you send a whole text file as a part of the
dictionary.
For example:
fileView = open('C://path//main_cities.txt', 'r+')
d['main_cities'] = fileView
On Sun, Jul 19, 2009 at 1:05 PM, WilsonOfCanada wrote:
>
> Hellos,
>
> I was wondering if I can use Django caching system to store .txt
> or .img files on the client side (as temp file). I want to use
> javascript to use them later so it would not require to transfer files
> from the server again
Hellos,
I was wondering if I can use Django caching system to store .txt
or .img files on the client side (as temp file). I want to use
javascript to use them later so it would not require to transfer files
from the server again. The txt files are just list so there is
nothing about security, b
5 matches
Mail list logo