How can you set up static files in Django?

devquora
devquora

Posted On: Feb 22, 2018

 

Basically, we require three main things to set up static files in Django:

1) Set STATIC_ROOT in settings.py

2) Run manage.py collect static

3) Set up a Static Files entry on the PythonAnywhere web tab

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Django Interview Questions

    What does Of Django Field Class types do?

    What does Of Django Field Class types do?..

    Django Interview Questions

    Does Django Follow Architectural pattern?

    Does Django Follow Architectural pattern?..