You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 :)
The text was updated successfully, but these errors were encountered:
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:
" insettings/__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 :)The text was updated successfully, but these errors were encountered: