InterviewSolution
Saved Bookmarks
| 1. |
How can you set up static files in Django? |
|
Answer» Static files MAY include CSS, JavaScript, and images. Django refers to these images, JavaScript, or CSS files as static files. Django provides django.contrib.staticfiles to manage static files. You may want to serve these static files alongside your site.
STATIC_url = '/static/'
{% LOAD static %}
|
|