django-commons/django-cookie-consent

Compatability with django LoginRequiredMiddleware

Closed this issue · 1 comments

If an application has the LoginRequiredMiddleware. Then out of the box this library would require every user to be logged in which may not be compliant in all countries.

A developer right now has to manullay inherit all the views and add the decorator login_not_required to the view to stop this from happening, but it would be great if out of the box we just handled that for them.

It should be bacjwards compatible as well

I think this will be more of a feature for django more than this library