Code

Ticket #17764: 0002-Add-a-versionadded-tag-for-the-check_password-funtio.patch

File 0002-Add-a-versionadded-tag-for-the-check_password-funtio.patch, 841 bytes (added by mbt, 2 years ago)

Commit 2 - Add a versionadded tag for function missing it in new hashers module

  • docs/topics/auth.txt

    From 5bc747259c004aa28b3121b999a6474b7e74807d Mon Sep 17 00:00:00 2001
    From: Michael B. Trausch <mbt@naunetcorp.com>
    Date: Sat, 25 Feb 2012 14:59:14 -0500
    Subject: [PATCH 2/2] Add a versionadded tag for the check_password funtion in d.c.a.hashers.
    
    ---
     docs/topics/auth.txt |    2 ++
     1 files changed, 2 insertions(+), 0 deletions(-)
    
    diff --git a/docs/topics/auth.txt b/docs/topics/auth.txt
    index a792069..08a8f34 100644
    a b Manually managing a user's password 
    769769 
    770770.. function:: check_password() 
    771771 
     772    .. versionadded:: 1.4 
     773 
    772774    If you'd like to manually authenticate a user by comparing a plain-text 
    773775    password to the hashed password in the database, use the convenience 
    774776    function :func:`django.contrib.auth.hashers.check_password`. It takes two