首页
TemplateSyntaxError at /admin/auth/group/ Invalid block tag on line 103: 'get_model_ajax_url'. Did you forget to registe

TemplateSyntaxError at /admin/auth/group/ Invalid block tag on line 103: 'get_model_ajax_url'. Did you forget to registe

2021-12-09 20:37:53
115
2

进入后台 点击认证和授权里的组出现这个报错TemplateSyntaxError at /admin/auth/group/ Invalid block tag on line 103: 'get_model_ajax_url'. Did you forget to register or load this tag? 是什么问题 怎么解决 TemplateSyntaxError at /admin/auth/group/ Invalid block tag on line 103: 'get_model_ajax_url'. Did you forget to register or load this tag? Request Method: GET Request URL: http://127.0.0.1:8000/admin/auth/group/ Django Version: 3.2.9 Exception Type: TemplateSyntaxError Exception Value:
Invalid block tag on line 103: 'get_model_ajax_url'. Did you forget to register or load this tag? Exception Location: E:\py37code\django3\venv\lib\site-packages\django\template\base.py, line 534, in invalid_block_tag Python Executable: E:\py37code\django3\venv\Scripts\python.exe Python Version: 3.7.3 Python Path:
['E:\py37code\django3', 'E:\py37code\django3', 'C:\Program Files\JetBrains\PyCharm ' '2021.2.3\plugins\python\helpers\pycharm_display', 'C:\Users\Administrator\AppData\Local\Programs\Python\Python37\python37.zip', 'C:\Users\Administrator\AppData\Local\Programs\Python\Python37\DLLs', 'C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib', 'C:\Users\Administrator\AppData\Local\Programs\Python\Python37', 'E:\py37code\django3\venv', 'E:\py37code\django3\venv\lib\site-packages', 'C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages', 'C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\win32', 'C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\win32\lib', 'C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\Pythonwin', 'C:\Program Files\JetBrains\PyCharm ' '2021.2.3\plugins\python\helpers\pycharm_matplotlib_backend', 'E:\py37code\django3\venv\lib\site-packages\odf', 'E:\py37code\django3\venv\lib\site-packages\odf', 'E:\py37code\django3\venv\lib\site-packages\odf', 'E:\py37code\django3\venv\lib\site-packages\odf', 'E:\py37code\django3\venv\lib\site-packages\odf', 'E:\py37code\django3\venv\lib\site-packages\odf', 'E:\py37code\django3\venv\lib\site-packages\odf']

评论(2)