2
votes
1answer
3k views

Django on Apache web server 'dict' object has no attribute 'render_context'

I'm having a bit of a problem, I uploaded my Django project to a webserver running apache, mod_python, and django. On the computer I developed on the following works fine nameBox = ...
1
vote
1answer
116 views

Not able to load an image in the webpage using mod_python

I have to make a webpage using mod_python, i have to load an image on the webpage this is the code that i have made import cgi import nltk import time def fill(): s = """\ ...
0
votes
2answers
243 views

Sending a request to retrieve the data from Django

I am doing a Web project, where I am using HTML5 and Django to store database in sqlite3. The part being, since I had to use python, I installed mod_python for apache2. Now the thing is I went through ...
0
votes
1answer
167 views

How to change HTML form with 2 selections to Javascript?

I am working with the following HTML form: <form method = 'POST' action = '/python/stats/'> <select name = 'team'> <option value = 'team1'> team1 </option> <option value = ...
-1
votes
3answers
2k views

how to redirect to new page with javascript , after submit html form?

I am using html, javascript & mod_python. I want to submit html form. To do this I used document.formName.submit(); after submitting I want to redirect to new page. I tried ...