open New High volume

TemplateSyntaxError: Could not parse the remainder: '||' from 'user.is_authenticated || user.is_staff'

GET /dashboard/

Impact

Seen 124 times 89 affected users Last seen June 26, 2026, 10:27 a.m.

Where it broke

production
542
/usr/local/lib/python3.12/site-packages/django/template/base.py
raise TemplateSyntaxError(msg)
parse · django.template.base
42
/app/templates/base.html
<div class='menu'>{% if user.is_authenticated || user.is_staff %}<a href='/profile'>Profile</a>{% endif %}</div>
{% if user.is_authenticated || user.is_staff %} · base.html

Timeline

124 total events