Question:

Explain how you can setup static files in Django?

Answer:

There are three main things required to set up static files in Django

  • Set STATIC_ROOT in settings.py
  • run manage.py collectsatic
  • set up a Static Files entry on the PythonAnywhere web tab

Keywords:

© 2017 QuizBucket.org