Whenever an error occurs during development, Django presents a detailed error page with a lot of useful information. However, when the application goes into production, you don't want your users to see such information. Apart from confusing your users, you risk exposing your website to security problems if you let strangers see such information.
In the beginning when we used the
django-admin.py mytweets command, which created all the basic configuration for the project for which we used the
debug=True parameter in the
settings.py file when this mode was
True. The following extra work is done by Django to help you debug the problem faster. The memory usage of Django is more, as all the queries are stored as