• Markus Holtermann's avatar
    Fixed #24914 -- Added authentication mixins for CBVs · e5cb4e14
    Markus Holtermann yazdı
    Added the mixins LoginRequiredMixin, PermissionRequiredMixin and
    UserPassesTestMixin to contrib.auth as counterparts to the respective
    view decorators.
    
    The authentication mixins UserPassesTestMixin, LoginRequiredMixin and
    PermissionRequiredMixin have been inspired by django-braces
    <https://github.com/brack3t/django-braces/>
    
    Thanks Raphael Michel for the initial patch, tests and docs on the PR
    and Ana Balica, Kenneth Love, Marc Tamlyn, and Tim Graham for the
    review.
    e5cb4e14
Adı
Son kayıt (commit)
Son güncelleme
.tx Loading commit data...
django Loading commit data...
docs Loading commit data...
extras Loading commit data...
scripts Loading commit data...
tests Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.hgignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.rst Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...