TemplateSyntaxError: Invalid block tag on line 21: 'buttons', expected 'elif', 'else' or 'endif'. Did you forget to re...
Closed this issue · 1 comments
froi commented
https://sentry.io/organizations/app23049962herokucom/issues/2221280026/?referrer=github_plugin
KeyError: 'buttons'
File "django/template/base.py", line 470, in parse
compile_func = self.tags[command]
TemplateSyntaxError: Invalid block tag on line 21: 'buttons', expected 'elif', 'else' or 'endif'. Did you forget to register or load this tag?
(20 additional frame(s) were not displayed)
...
File "django/template/base.py", line 478, in parse
raise self.error(token, e)
File "django/template/base.py", line 476, in parse
compiled_result = compile_func(self, token)
File "django/template/defaulttags.py", line 952, in do_if
nodelist = parser.parse(('elif', 'else', 'endif'))
File "django/template/base.py", line 472, in parse
self.invalid_block_tag(token, command, parse_until)
File "django/template/base.py", line 528, in invalid_block_tag
get_text_list(["'%s'" % p for p in parse_until], 'or'),
TemplateSyntaxError: Invalid block tag on line 21: 'buttons', expected 'elif', 'else' or 'endif'. Did you forget to register or load this tag?
froi commented
I'll be working on this in the code4puertorico/horas fork