标签:rail pat lis perl 注意 dir settings 方案 错误
错误:
1.Your STATICFILES_DIRS setting is not a tuple or list; "
ImproperlyConfigured: Your STATICFILES_DIRS setting is not a tuple or list; perhaps you forgot a trailing comma?
解决方案:
找到settings.py文件,
把STATICFILES_DIRS=(os.path.join(BASE_DIR,‘static‘))
改为STATICFILES_DIRS=[(os.path.join(BASE_DIR,‘static‘))]
标签:rail pat lis perl 注意 dir settings 方案 错误
原文地址:https://www.cnblogs.com/GainLoss/p/9552688.html