Error:
django.template.exceptions.TemplateSyntaxError: Invalid block tag on line 98: ‘translate’, expected ‘elif’, ‘else’ or ‘endif’. Did you forget to register or load this tag?
Solution:
Find the the catalog in the error message and then delete the red codes.
Save the file and solve it.
Read More:
- [Solved] django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module.Did you install mysqlclie
- [Solved] Django backend processing Base64 file upload error
- [Solved] Python Error: IndentationError: expected an indented block
- [Solved] Django backend error: Assertion failed: (NSViewIsCurrentlyBuildingLayerTreeForDisplay()
- [Solved] Django project locally Open Error: importerror: couldn’t import Django
- cffi Security Report “c / _cffi_backend.oc / _cffi_backend.c: 15:17: error: ffi.h: No such file or directory” Problem
- [Solved] Django Error: django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module.
- [Solved] C error: expected 1 fields in line 3, saw 2 processing method
- [Solved] Python Django error: error: (1146, “Table ‘mydb.django_session’ doesn’t exist”)
- Django CSV file Error: UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xb5 in position 0: invalid start
- Using postman Test Django Interface error: RuntimeError:You called this URL via POST,but the URL doesn‘t end in a slash
- [Solved] Django Configurate celery error: django.db.utils.DatabaseError
- Pandas Read csv Error tokenizing data. C error: Expected 18 fields in line 173315, saw 20
- Django PythonConsole error: Requested setting DEFAULT_INDEX_TABLESPACE
- Python: Django exception when executing migrate operation: django.db.utils.OperationalError: (1051, “Unknown table’xxx’”)
- Django Issues: TypeError: “Settings” object is irreversible
- [Solved] Python Project Error: django.core.exceptions.ImproperlyConfigured: WSGI application ‘WebTool.wsgi.application
- [Solved] from django.core.cache import cache Error
- [Solved] SyntaxError: Generator expression must be parenthesized (widgets.py, line 152)
- [Solved] Django Error: Attributeerror: ‘wsgirequest’ object has no attribute ‘is_ajax ‘