Need to adjust either the templatetag or the render method of the Nav to pass in the request always.
File "/home/josh/.pyenv/versions/nav-3.12/lib/python3.12/site-packages/django/template/base.py", line 961, in render_annotated
return self.render(context)
^^^^^^^^^^^^^^^^^^^^
File "/home/josh/projects/django-simple-nav/src/django_simple_nav/templatetags/django_simple_nav.py", line 48, in render
return nav.render(context["request"], self.template_name)
~~~~~~~^^^^^^^^^^^
File "/home/josh/.pyenv/versions/nav-3.12/lib/python3.12/site-packages/django/template/context.py", line 83, in __getitem__
raise KeyError(key)
KeyError: 'request'
Need to adjust either the templatetag or the render method of the
Nav
to pass in the request always.