Did you add the middleware to the MIDDLEWARE setting?

On Tue, 6 Aug 2024, at 17:19, אורי wrote:
> Hi,
> 
> I read about LoginRequiredMiddleware in Django 5.1 release notes, where it's 
> written "The new LoginRequiredMiddleware redirects all unauthenticated 
> requests to a login page."
> 
> I wanted to check so I installed django-5.1rc1 and I checked static pages 
> without login locally, and they work without change - I'm not redirected to 
> login urls. What am I missing? Is this the expected behavior?
> 
> Thanks,
> Uri.
> אורי
> u...@speedy.net
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django developers (Contributions to Django itself)" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-developers+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-developers/CABD5YeG2i59m-P%3DB-qBW%3DiVyKNJG71cDE7WKoqz%2BBazHt2dRMw%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/django-developers/CABD5YeG2i59m-P%3DB-qBW%3DiVyKNJG71cDE7WKoqz%2BBazHt2dRMw%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/c77d5930-8d5b-4fae-85d6-28fd167b72d3%40app.fastmail.com.
  • Dja... אורי
    • ... 'Adam Johnson' via Django developers (Contributions to Django itself)
      • ... אורי
        • ... James Bennett
          • ... אורי
            • ... 'Adam Johnson' via Django developers (Contributions to Django itself)

Reply via email to