[Python-modules-team] Bug#739617: python-django-auth-openid: Unusable with django 1.6
Neil Williams
codehelp at debian.org
Thu Feb 20 14:12:13 UTC 2014
Package: python-django-auth-openid
Version: 0.5-1
Severity: important
I've recently updated a django app (not currently in Debian) to
support django1.6 but the app fails due to the use of django-auth-openid
using a deprecated import:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 101, in get_response
resolver_match = resolver.resolve(request.path_info)
File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 318, in resolve
for pattern in self.url_patterns:
File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 346, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 341, in urlconf_module
self._urlconf_module = import_module(self.urlconf_name)
File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 40, in import_module
__import__(name)
File "/usr/lib/python2.7/dist-packages/lava_server/urls.py", line 80, in <module>
include('django_openid_auth.urls')),
File "/usr/lib/python2.7/dist-packages/django/conf/urls/__init__.py", line 26, in include
urlconf_module = import_module(urlconf_module)
File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 40, in import_module
__import__(name)
File "/usr/lib/pymodules/python2.7/django_openid_auth/urls.py", line 30, in <module>
from django.conf.urls.defaults import *
ImportError: No module named defaults
This line needs to be:
from django.conf.urls import *
Simple change but django1.6 is the current version in unstable, so it would be good to get
this fixed.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
armel
armhf
Kernel: Linux 3.10-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-django-auth-openid depends on:
ii python 2.7.5-5
ii python-django 1.6.1-2
ii python-openid 2.2.5-3
ii python-support 1.0.15
python-django-auth-openid recommends no packages.
python-django-auth-openid suggests no packages.
-- no debconf information
--
Neil Williams
=============
http://www.linux.codehelp.co.uk/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20140220/4eb0d66c/attachment.sig>
More information about the Python-modules-team
mailing list