Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Configuring static files in Django

# 1. Make sure that django.contrib.staticfiles is included in your
#    INSTALLED_APPS.
# 2. In your settings file, define STATIC_URL, for example:

STATIC_URL = '/static/'
Source by docs.djangoproject.com #
 
PREVIOUS NEXT
Tagged: #Configuring #static #files #Django
ADD COMMENT
Topic
Name
5+7 =