Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

static dir in django python

# in settings.py add the following :
STATICFILES_DIRS = [
    BASE_DIR / "static",
    '/var/www/static/',
]
Source by docs.djangoproject.com #
 
PREVIOUS NEXT
Tagged: #static #dir #django #python
ADD COMMENT
Topic
Name
6+6 =