You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that Django 5.2 is out, I've started looking at moving to using LoginRequiredMiddleware.
However, this seems to conflict with Ninja's auth system. I tried to use @login_not_required both with and without @decorate_view but it either didn't work or resulted in an error:
Issue
Now that Django 5.2 is out, I've started looking at moving to using LoginRequiredMiddleware.
However, this seems to conflict with Ninja's auth system. I tried to use @login_not_required both with and without @decorate_view but it either didn't work or resulted in an error:
Potential Solution
Since Ninja provides its own auth system, could it apply the login_not_required decorator (or a noop for Django<5.1) to all views it produces?
The text was updated successfully, but these errors were encountered: