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
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
2 matches
Mail list logo