Re: problem while passing a list of string to javascript in template

2012-12-29 Thread nimesh ghelani
use mark_safe: from django.utils.safestring import mark_safe ticks = mark_safe(["a", "b", "c", "d"]) On Saturday, December 29, 2012 9:27:55 PM UTC+5:30, Everest K.C. wrote: > > Hello Everyone, > I have problem while passing a list of string from django views to > javascript template. The quotati

Re: When I set DEBUG=False, my 404.html doesn't appear

2012-12-29 Thread nimesh ghelani
Can you post the shell output when 404 occurs along with the TEMPLATE_DIRS part of settings.py? On Saturday, December 29, 2012 9:29:11 PM UTC+5:30, Dae_James wrote: > > I put my 404.html into root of the directory specified in TEMPLATE_DIRS. > However, when I visit an inexisting page, the brows