error handling
created dev setting in settings.py