hello all, I just upgrade my old but stable 1.6.4 app to django 1.9.5 and immediately ran into issues when I deployed it. I've figured out that uwsgi and django no longer works with 'uwsgi --master'. Has anybody seen this before?
shangxia1 has quit
zain
kneufeld: uwsgi and django definitely work together. if you can paste errors/tracebacks then we can help debug.
Quitta has quit
titankiller
Can I pass a dictionary inside the context ? I have a set of pairs of link (name and href) that i want to pass , how can I send it in the context to the template ?
kneufeld
zain: they _used_ to work together. ;) That's the problem, there are no logs to paste, everything appears to lock up and I have to kill -9 to recover (or have nginx timeout)
zain
titankiller: you can pass a dictionary, yes
kneufeld
zain: and it's only when I use uwsgi in master mode that there is a problem.
zain
kneufeld: does uwsgi log anything at all?
dang`r`us
debugging uwsgi is not fun
zain
kneufeld: if not, turn up the verbosity of its logging
kneufeld
only that it's starting: [uWSGI] getting INI configuration from comics.ini [uWSGI] getting INI configuration from ../uwsgi.ini
zain: how to increase log level?
dodobrain has quit
Quitta joined the channel
ojii has quit
sykhader joined the channel
titankiller
zain : and how can i expand that in the template ?
zain
titankiller: {{ my_dict.thing }} will access the 'thing' key in my_dict
InfoTest joined the channel
hutch34 joined the channel
estulticia joined the channel
ycon1_ joined the channel
eka joined the channel
Sir_Narwhal has quit
Disavowed
I think I've asked this before but I can't find where I did it: How do I render HTML from a custom form validation error?
acangiani joined the channel
holler joined the channel
Ignore that. It's mark_safe.
titankiller
zain :if I want to access the pair directly , somthing like 'for thing,value in my_dict:' ?