Support for django-constance:  variables scope bug fixed.