Your message dated Mon, 11 Jan 2016 17:01:37 +0000
with message-id <e1aifqb-0005wd...@franck.debian.org>
and subject line Bug#797208: fixed in python-django-registration 2.0.4-1
has caused the Debian Bug report #797208,
regarding Does not work with django 1.8
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
797208: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=797208
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-django-registration
Version: 1.0+dfsg-2
Severity: normal
Tags: patch
Hello,
thank you for maintaining python-django-registration. While trying it
with django from experimental, a django site with
python-django-registration will fail to start:
$ ./manage.py runserver
Traceback (most recent call last):
File "./manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 338, in execute_from_command_line
utility.execute()
File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 312, in execute
django.setup()
File "/usr/lib/python2.7/dist-packages/django/__init__.py", line 18, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/lib/python2.7/dist-packages/django/apps/registry.py", line 108, in
populate
app_config.import_models(all_models)
File "/usr/lib/python2.7/dist-packages/django/apps/config.py", line 198, in
import_models
self.models_module = import_module(models_module_name)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/usr/lib/python2.7/dist-packages/registration/models.py", line 23, in
<module>
class RegistrationManager(models.Manager):
File "/usr/lib/python2.7/dist-packages/registration/models.py", line 91, in
RegistrationManager
create_inactive_user = transaction.commit_on_success(create_inactive_user)
AttributeError: 'module' object has no attribute 'commit_on_success'
The fix is just one line, see the attached patch.
Enrico
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python-django-registration depends on:
ii libjs-sphinxdoc 1.3.1-5
ii python 2.7.9-1
ii python-django 1.8.4-1
python-django-registration recommends no packages.
python-django-registration suggests no packages.
-- no debconf information
diff -Naur python-django-registration-1.0+dfsg/registration/models.py python-django-registration-1.0+dfsg.enrico/registration/models.py
--- python-django-registration-1.0+dfsg/registration/models.py 2015-08-28 16:57:42.000000000 +0200
+++ python-django-registration-1.0+dfsg.enrico/registration/models.py 2015-08-28 17:01:22.121843325 +0200
@@ -88,7 +88,7 @@
registration_profile.send_activation_email(site)
return new_user
- create_inactive_user = transaction.commit_on_success(create_inactive_user)
+ create_inactive_user = transaction.atomic(create_inactive_user)
def create_profile(self, user):
"""
--- End Message ---
--- Begin Message ---
Source: python-django-registration
Source-Version: 2.0.4-1
We believe that the bug you reported is fixed in the latest version of
python-django-registration, which is due to be installed in the Debian FTP
archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 797...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Stephan Sürken <abs...@debian.org> (supplier of updated
python-django-registration package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 11 Jan 2016 14:50:31 +0000
Source: python-django-registration
Binary: python-django-registration
Architecture: source
Version: 2.0.4-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Stephan Sürken <abs...@debian.org>
Description:
python-django-registration - User-registration application for Django
Closes: 775363 797208 806182
Changes:
python-django-registration (2.0.4-1) unstable; urgency=medium
.
[ Stephan Sürken ]
* Bug fix: "Uses wrong uid encoding (uidb36 vs. uidb64) in auth_url.py
for django >= 1.6 (breaks reset password URLs)" (Closes: #775363).
[This is actually fixed by upstream 2.0.4 now, patch is dropped]
.
[ Raphaël Hertzog ]
* Drop myself from Uploaders.
.
[ Stephan Sürken ]
* Re-order patches.
* Removed patches (obsoleted by 2.0.4):
fix-test-suite.patch
django-1.7-compat.patch
more-django-1.7-fixes.patch
django-1.6-uid-encoding.patch
.
* New upstream: 2.0.4 (Closes: #797208, #806182).
* [d8b6d77] rules: Update testsuite calling for 2.0.4.
* [5849911] copyright: Update: Upstream URL, copyright years/authors.
* [e880ef4] control: Update homepage URL.
* [0953a11] control: Hardening django deps >= 1.7 (2.0.4 upstream
officially supports 1.7+).
* [7b458f1] control: Standards-Version: 3.9.5 -> 3.9.6 (no changes
needed).
* [0a279b2] control: Remove 'upstream unmaintained' warning.
* [168b32d] fixup! rules: Update testsuite calling for 2.0.4.
* [0d22a76] control: Update depends syntax to one depends per line.
* [8b3f6f8] control: Add missing b-d-indep: python-setuptools.
* [eaa00e5] control: Add missing b-d-indep: python-sphinx-rtd-theme
(primarily needed for backports: older sphinx versions do not have
this dependency)
Checksums-Sha1:
ecff7abcc0df25605afd879e270cf95d8ad263e2 2337
python-django-registration_2.0.4-1.dsc
d825dd8c5fe54495674728377bf11a3ff67a715f 63942
python-django-registration_2.0.4.orig.tar.gz
487656ea6a9e7a83dc40cfe04272e12286db6c89 6724
python-django-registration_2.0.4-1.debian.tar.xz
Checksums-Sha256:
e4099e5dbb69a7c71617e8bf3141d360affca487dae18f756681d4a4aa426d53 2337
python-django-registration_2.0.4-1.dsc
46f33a7232a8e387241157245ab14d3d8a62b5af565f32a68b11f2a243675f5b 63942
python-django-registration_2.0.4.orig.tar.gz
7cf6625e46394f501d5d4e0904f2ae6c8c240c842cf3867490c51b211d79a08a 6724
python-django-registration_2.0.4-1.debian.tar.xz
Files:
acb1df10ae54dd7f8736582dd820a20c 2337 python optional
python-django-registration_2.0.4-1.dsc
45d5501237218276acc55bafe440cf9b 63942 python optional
python-django-registration_2.0.4.orig.tar.gz
b544a1881d807b7741405a91927df327 6724 python optional
python-django-registration_2.0.4-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJWk8NSAAoJEAZt6AF+K2HZgYkP/jWa6ZdSl2cw/AdkaLbCgdKl
Co30QZ635KrnkQmXRBy1PRL/yKAQKZyZrNDIzfwNUAfJf47JgFG3+YhprZcrybXY
RwLhkt8H1M02Cuj/fCSPxrGY+sJqReVY5o3BJodMSsplymeB/6tzi/UBFEL2pvzv
xGUG7dpmZvqNLV/+LieTAwr6sq+eS+tTN9tCKtnY6o9thh2iKWyEyJxCEsL+EodF
RlMCVvL+w7a8pSKcUlWI9641VMCdCcEn146P5w0jaXemII36zUOahUHIg22ik3O8
ukaKUO3RbKgzPIw10S27Up5PGp9vvCUO00PIVePaHG9a1A/wVJqSILKm9nJ9fGI8
m3MgMPNDX9MdqOBz+J+Y0HcLWIMQ5wMpxswwQHV/BhTtMJT34JMH+ge+eIa8PC7C
u//4SjfYn8/+pDIg9UlG+z9Pa8vLb0R7/okHPyWyOb2SbKUyvI6/ttOBgw20SI70
sV+Qos37tDirP7yQMe14/txs1uXvgrcWsQXn34cRqXYU7+9T5qybS9c/JjcWyheJ
kpNoSt24ZuSyTtKOjYMtnRitkQchqMeluYPZwVQCJTMmtdiRnEtSDSJsAi7Lyx+r
CgE4WHEhX3P8jR1zi4GgQVeR0j6BsLj8d1R0dQBGcAkSsMoYjLLPael29v7qnhu+
6/wyIYUZ0JikB0mk/+Rw
=ueS8
-----END PGP SIGNATURE-----
--- End Message ---