Thursday, June 26, 2014

problem with variable which comes up in my Django template

Hello everyone,
 
I have a problem with a variable in my Django template showing up. Somehow it shows two different variable when it is mod_wsgi and it is runserver. One possibility is that the cache keep the old html. So I use disable cache mode in Chrome. F12 => setting => disable cache. This may not be right.
     
<p>"{{ voiceURL }}"</p> shows as
agent01.wav  when runserver
agent02.wav when mod_wsgi

I rather keep the environment of runserver. HTML and the other variable comes up as I expected. For some information, I often use and am comfortable with render_to_response and Django template. I have never seen this problem. 

If anyone can solve the problem above, please help me. Also for my knowledge, I would like to know what is the difference of environment between runserver and mod_wsgi. 


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/dd8fce4a-ba90-4016-8589-1e0d621522c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment