Settings.py file
STATICFILES_DIRS = (
os.path.join(BASE_DIR,'static')
)
Change to the following
STATICFILES_DIRS=[(os.path.join(BASE_DIR,'static'))]
Read More:
- List indexes must be integers or slices, not tuple solution
- python-TypeError: list indices must be integers, not tuple Solution
- SystemError: new style getargs format but argument is not a tuple
- Syntax error or access violation: 1055 Expression #1 of SELECT list is not in GROUP BY clause and co
- There is a solution to the problem: severity = corrected, type = physical layer, id = 00e5 or id = 00e8 (receiver ID) under Ubuntu
- request:fail url not in domain list or Cannot send network request to localhost
- Kafka reported error shutdown broker because all log dirs in… Have failed
- “Typeerror: List indexes must be integers or slices, not STR” about error reporting solutions
- MySQL password setting error message: error 1054 (42s22): unknown column ‘password’ in ‘field list’
- Error 0210: stick key 28 is displayed when ThinkPad E40 is turned on
- Android studio NDK setting is gray and cannot be solved
- When setting up etcd cluster, an error is reported. Etcd: request cluster ID mismatch error resolution is only applicable to new etcd cluster or no data cluster
- An import error is reported in the python. The solution to setting. Pylintrc is invalid
- Error Code: 1055. Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated
- The media could not be loaded, either because the server or network failed or because the format is
- Error: Projects must list all files or use an ‘include‘ pattern.
- Configuration file for vscode setting.json UI interface or JSON form
- How to Fix LDPlayer4 Proxy Setting Not Work Issue
- In windows, “cmake” is not an internal or external command, nor a runnable program or batch file.
- Virtual environment: error: virtualenv is not compatible with this system or executable