Update helpers.py

Fix module import, in Django 1.7 some `INSTALLED_APPS` can be classes and not modules.