Your message dated Tue, 16 Sep 2008 21:17:29 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#498086: fixed in python-django-registration 0.6-3
has caused the Debian Bug report #498086,
regarding python-django-registration: fix django-registration with django 1.0: 
django.core.validations
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 [EMAIL PROTECTED]
immediately.)


-- 
498086: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=498086
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: python-django-registration
Version: 0.6-2.1
Severity: important
Tags: patch

When using django-registration with django 1.0, it fails to import
'validators'. This has already been fixed upstream (r167, r168). The
attached patch applies those changesets to the current package.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.16-xen (SMP w/1 CPU core)
Locale: LANG=he_IL.UTF-8, LC_CTYPE=he_IL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-django-registration depends on:
ii  python                        2.5.2-2    An interactive high-level object-o
ii  python-django                 1.0-1      A high-level Python Web framework
ii  python-support                0.8.4      automated rebuilding support for P

python-django-registration recommends no packages.

python-django-registration suggests no packages.

-- no debconf information

-- 
Tzafrir Cohen         | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il |                    | a Mutt's
[EMAIL PROTECTED] |                    |  best
ICQ# 16849754         |                    | friend
django.core.validators was removed a while before 1.0 . 
This patch removes the need for it. It is taken from upstream:

  svn diff -r166:168 http://django-registration.googlecode.com/svn/trunk/

Index: registration/forms.py
===================================================================
--- registration/forms.py	(revision 166)
+++ registration/forms.py	(revision 168)
@@ -5,7 +5,6 @@
 
 
 from django import forms
-from django.core.validators import alnum_re
 from django.utils.translation import ugettext_lazy as _
 from django.contrib.auth.models import User
 
@@ -33,9 +32,10 @@
     ``RegistrationProfile.objects.create_inactive_user()``.
     
     """
-    username = forms.CharField(max_length=30,
-                               widget=forms.TextInput(attrs=attrs_dict),
-                               label=_(u'username'))
+    username = forms.RegexField(regex=r'^\w+$',
+                                max_length=30,
+                                widget=forms.TextInput(attrs=attrs_dict),
+                                label=_(u'username'))
     email = forms.EmailField(widget=forms.TextInput(attrs=dict(attrs_dict,
                                                                maxlength=75)),
                              label=_(u'email address'))
@@ -50,8 +50,6 @@
         in use.
         
         """
-        if not alnum_re.search(self.cleaned_data['username']):
-            raise forms.ValidationError(_(u'Usernames can only contain letters, numbers and underscores'))
         try:
             user = User.objects.get(username__iexact=self.cleaned_data['username'])
         except User.DoesNotExist:

--- End Message ---
--- Begin Message ---
Source: python-django-registration
Source-Version: 0.6-3

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:

python-django-registration_0.6-3.diff.gz
  to 
pool/main/p/python-django-registration/python-django-registration_0.6-3.diff.gz
python-django-registration_0.6-3.dsc
  to pool/main/p/python-django-registration/python-django-registration_0.6-3.dsc
python-django-registration_0.6-3_all.deb
  to 
pool/main/p/python-django-registration/python-django-registration_0.6-3_all.deb



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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stephan Peijnik <[EMAIL PROTECTED]> (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 [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 16 Sep 2008 12:06:09 +0200
Source: python-django-registration
Binary: python-django-registration
Architecture: source all
Version: 0.6-3
Distribution: unstable
Urgency: low
Maintainer: Debian Python Modules Team 
<python-modules-team@lists.alioth.debian.org>
Changed-By: Stephan Peijnik <[EMAIL PROTECTED]>
Description: 
 python-django-registration - A user-registration application for Django
Closes: 498086
Changes: 
 python-django-registration (0.6-3) unstable; urgency=low
 .
   * Modified package to use quilt patchsys (requested by Raphael Hertzog).
   * Added myself to Uploaders.
   * Moved package to unstable, as it is compatible with the version of
     python-django in unstable.
   * debian/control:
     - Updated dependency on python-django (>= 1.0).
     - Removed Prority: optional from binary package.
   * debian/rules:
     - Removed simple-patchsys.mk from includes.
     - Added patchsys-quilt.mk to includes.
     - Made clean target depend on unpatch.
   * debian/patches/01_validators_removed.patch:
     - Pulled in bugfixes in revisions 167 and 168 from upstream SVN.
       This patch fixes the bug introduced by the removal of
       django.core.validators in python-django 1.0-1. (Closes: #498086)
   * debian/patches/02_overview_rst_fix.patch:
     - Fixes a typo in overview.txt causing rst2html to return an error.
   * Moved delete_expired_users.py script out of site-packages into
     /usr/share/doc/python-django-registration/examples.
   * Added debian/python-django-registration.README.Debian to document
     the delete_expired_users.py change.
   * Documented patches in debian/patches.
Checksums-Sha1: 
 42b0ecbca8ae82987798e75129783e8acded68ff 1613 
python-django-registration_0.6-3.dsc
 73579c3ec8703152be6732bf6200637fa32bc104 4431 
python-django-registration_0.6-3.diff.gz
 da1b26349b3ddfac38344d33755fe313eb75a428 44762 
python-django-registration_0.6-3_all.deb
Checksums-Sha256: 
 00196ed1170638e4dc92193f3c2c3edf08a397035b526b30e8f7c6ccebdf2e8b 1613 
python-django-registration_0.6-3.dsc
 77dec0033ec9fd744a37a4bbc173891478f0f6f01c0f9cd10bf041de3ba0d839 4431 
python-django-registration_0.6-3.diff.gz
 5d7c38d9c93fac0816679fdd987c7a24b2bf2390f395656e497b0895b9c3e8ae 44762 
python-django-registration_0.6-3_all.deb
Files: 
 cb13fef79871d3f0363f6519dcc7ea81 1613 python optional 
python-django-registration_0.6-3.dsc
 e3b936bd6188d9c5d00996c3b4d13e46 4431 python optional 
python-django-registration_0.6-3.diff.gz
 2fb05fd04901fa5d9b80c2dbfca442a0 44762 python optional 
python-django-registration_0.6-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkjQH64ACgkQB01zfu119ZmPhgCeIcyuvn/6oH1L9pXsZmuS9270
WHYAoKdbOVpDO+CUN8lveEjyUnfN6y9E
=bt/w
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team

Reply via email to