Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

gunicorn django static files

from django.contrib.staticfiles.urls import staticfiles_urlpatterns

# ... the rest of your URLconf goes here ...

urlpatterns += staticfiles_urlpatterns()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #gunicorn #django #static #files
ADD COMMENT
Topic
Name
5+3 =