Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Masking local.py errors #6

Open
jameshume opened this issue Jan 27, 2018 · 0 comments
Open

Masking local.py errors #6

jameshume opened this issue Jan 27, 2018 · 0 comments

Comments

@jameshume
Copy link

Hi Chaps,

Thanks for this great resource to learn Django with. Its is really useful and well written. I'm just starting my journey and one thing I found useful was to change the "except:" in settings/__init__.py into "except ModuleNotFoundError:". The reason for this was that if I made a mistake in local.py it was quietly being ignored, not because it didn't exist but because I made an error. It would be nice if those errors were reported back rather than masked :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant