#16626: login_required attribute in class-based Generic Views -------------------------------------+------------------------------------- Reporter: szczav | Owner: nobody Type: New feature | Status: closed Component: Generic views | Version: master Severity: Normal | Resolution: | worksforme Keywords: login_required | Triage Stage: decorator view generic views | Unreviewed Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by StephenChan): For anyone else stumbling upon this ticket years later, three mixins including `LoginRequiredMixin` were added by #24914 and made available in Django 1.9. Docs [https://docs.djangoproject.com/en/dev/topics/auth/default/#the- loginrequired-mixin here]. -- Ticket URL: <https://code.djangoproject.com/ticket/16626#comment:4> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/064.53b0ced1ca83df9713c028ecf158a783%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.