Fix device.enabled check for modules which have no devices
Add wsgi.py file back to fix django runserver