configuring static files in django

31

STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, "/static/")

STATICFILES_DIRS = ( 
    STATIC_ROOT,        
)
STATICFILES_DIRS = [
    BASE_DIR / "static",
    '/var/www/static/',
]

Comments

Submit
0 Comments