Can you set up static files in Django? How?

Submitted 3 years, 5 months ago
Ticket #281
Views 242
Language/Framework Django
Priority Low
Status Closed

Can you set up static files in Django? How?

Submitted on Nov 02, 20
add a comment

1 Answer

Verified

Yes we can. We need to set three main things to set up static files in Django:

1) Set STATIC_ROOT in settings.py

2) run manage.py collect static

3) Static Files entry on the PythonAnywhere web tab

Submitted 3 years, 5 months ago


Latest Blogs