Running Template Syntax Error


#1

Hello,

Im facing running template syntax error after trying follow Ebook CH 5 P.31, with details erros is below :

TemplateSyntaxError at /
‘file’ is not a registered tag library. Must be one of:
admin_list
admin_modify
admin_static
admin_urls
cache
i18n
l10n
log
static
staticfiles
tz
Request Method: GET
Request URL: http://127.0.0.1:8000/
Django Version: 1.11.7
Exception Type: TemplateSyntaxError
Exception Value:
‘file’ is not a registered tag library. Must be one of:
admin_list
admin_modify
admin_static
admin_urls
cache
i18n
l10n
log
static
staticfiles
tz
Exception Location: D:\Evrip\development\hellowebproject\venv\lib\site-packages\django\template\base.py in parse, line 515
Python Executable: D:\Evrip\development\hellowebproject\venv\Scripts\python.exe
Python Version: 2.7.14
Python Path:
[‘D:\Evrip\Development\hellowebproject\hellowebprojects’,
‘C:\Windows\system32\python27.zip’,
‘D:\Evrip\development\hellowebproject\venv\DLLs’,
‘D:\Evrip\development\hellowebproject\venv\lib’,
‘D:\Evrip\development\hellowebproject\venv\lib\plat-win’,
‘D:\Evrip\development\hellowebproject\venv\lib\lib-tk’,
‘D:\Evrip\development\hellowebproject\venv\Scripts’,
‘c:\python27\Lib’,
‘c:\python27\DLLs’,
‘c:\python27\Lib\lib-tk’,
‘D:\Evrip\development\hellowebproject\venv’,
‘D:\Evrip\development\hellowebproject\venv\lib\site-packages’]
Server time: Sat, 18 Nov 2017 11:17:04 +0000

this is our url setting pattern : https://pastebin.com/YEXQrC6X


#2

Which template is it happening for? And for that template, can you post the code that’s in that template?