django collect static files code example
Example 1: https://docs.djangoproject.com/en/2.0/howto/static-files/
STATICFILES_DIRS = [
BASE_DIR / "static",
'/var/www/static/',
]
Example 2: static file link in django
STATIC_URL = '/static/'
STATICFILES_DIRS = [
BASE_DIR / "static",
'/var/www/static/',
]
STATIC_URL = '/static/'