Python静态文件路径

STATIC_URL = '/assets/'
STATICFILES_DIRS = [os.path.join(BASE_DIR, "assets")]

你可能感兴趣的:(Python静态文件路径)