On Tue, Sep 20, 2016 at 11:21:20AM -0400, Etienne Robillard wrote: > Hi Alessandro, > > I have replaced the only occurrence of SortedDict with > collections.OrderedDict in app_plugins, but the issue persist. > > Is it possible that the templatetags module is being cached somehow by > Django ? > > Thanks, > > Etienne
No, Django caching never applies to Python code. However, as with any code change, you need to make sure to restart the Python process (i.e., if you're running under gunicorn or uwsgi, restart those, if you're using runserver, you might have to try restarting it – most of the time, runserver tries to reload itself automatically, but there are pathological cases where it doesn't work). If that doesn't help, try checking if there are any stale leftover .pyc files, and try removing those. Good luck, Michal -- 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+unsubscr...@googlegroups.com. To post to this group, send email to email@example.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/20160920152542.GI6601%40koniiiik.org. For more options, visit https://groups.google.com/d/optout.
Description: Digital signature