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
render_to_response('webpage.html', d)

Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to