dfunckt / django-rules

Awesome Django authorization, without the database
MIT License
1.84k stars 148 forks source link

Broken link in documentation #191

Closed dpgraham4401 closed 2 months ago

dpgraham4401 commented 2 months ago

The "Django Documentation" hyperlink in the using the class based view mixin section is pointing to a non-existent page.

dfunckt commented 2 months ago

That’s likely because the link points to docs for Django 1.9, which is a very old version and may been taken down. This link, even though it still has the same problem of hardcoding a version, is currently valid: https://docs.djangoproject.com/en/5.0/topics/auth/default/#limiting-access-to-logged-in-users

I’ll make a PR as soon as I get the chance unless someone else beats me to it.

dpgraham4401 commented 2 months ago

Instead of hardcoding a version in the URL path, we can use 'stable'. I made a PR. Thanks for being so responsive!