updated urls.py
added settings function to views.py