Tell us the steps to set static files in Django?
The major steps to set up static files in Django are-
- Set STATIC_ROOT in settings.py
- Now run manage.py collect static
- Setup static files entry on pythonanywhere web tat.
This is one of the major Django interview questions and answers.
BY Best Interview Question ON 22 Sep 2019