Checking your project

Django includes the check management command for checking your project anytime. This command inspects the apps installed in your Django project and outputs any errors or warnings. If you include the --deploy option, additional checks only relevant for production use will be triggered. Open the shell and run the following command to perform a check:

python manage.py check --deploy

You will see an output with no errors but several warnings. This means the check was successful, but you should go through the warnings to see if there is anything more you can do to make your project safe for production. We are not going to go deeper into this, but keep in mind that you should check your project before production use to look for any relevant issues.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset