Moved Settings model creation code to top of urls.py (it was causing issues when the app tried to load the admin views for the first time)