[Python-modules-commits] [python-passlib] 02/05: Disable Django support

Barry Warsaw barry at moszumanska.debian.org
Mon Nov 28 16:30:12 UTC 2016


This is an automated email from the git hooks/post-receive script.

barry pushed a commit to branch master
in repository python-passlib.

commit 9e5a4b32f8ff48670df80b7e97f88e3609ad6ca4
Author: Brian May <bam at debian.org>
Date:   Sun Jan 3 14:37:23 2016 +1100

    Disable Django support
    
    It is currently broken with Django 1.9, see
    https://bitbucket.org/ecollins/passlib/issues/68/tests-fail-with-django-19
---
 passlib/ext/django/utils.py | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/passlib/ext/django/utils.py b/passlib/ext/django/utils.py
index a83cb89..c828703 100644
--- a/passlib/ext/django/utils.py
+++ b/passlib/ext/django/utils.py
@@ -9,12 +9,9 @@ import sys
 import weakref
 from warnings import warn
 # site
-try:
-    from django import VERSION as DJANGO_VERSION
-    log.debug("found django %r installation", DJANGO_VERSION)
-except ImportError:
-    log.debug("django installation not found")
-    DJANGO_VERSION = ()
+log.debug("Django support disabled by Debian package")
+log.debug("See https://bitbucket.org/ecollins/passlib/issues/68/tests-fail-with-django-19")
+DJANGO_VERSION = ()
 # pkg
 from passlib import exc, registry
 from passlib.context import CryptContext

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-passlib.git



More information about the Python-modules-commits mailing list