We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Django 1.6 changed validation of email addresses. Regex disappeared, see django/django/core/validators.py
Traceback (most recent call last): File "setup.py", line 26, in <module> test_suite='tests.main', File "/usr/lib/python2.7/distutils/core.py", line 152, in setup dist.run_commands() File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/dist-packages/setuptools/command/test.py", line 138, in run self.with_project_on_sys_path(self.run_tests) File "/usr/lib/python2.7/dist-packages/setuptools/command/test.py", line 118, in with_project_on_sys_path func() File "/usr/lib/python2.7/dist-packages/setuptools/command/test.py", line 164, in run_tests testLoader = cks File "/usr/lib/python2.7/unittest/main.py", line 94, in __init__ self.parseArgs(argv) File "/usr/lib/python2.7/unittest/main.py", line 149, in parseArgs self.createTests() File "/usr/lib/python2.7/unittest/main.py", line 158, in createTests self.module) File "/usr/lib/python2.7/unittest/loader.py", line 128, in loadTestsFromNames suites = [self.loadTestsFromName(name, module) for name in names] File "/usr/lib/python2.7/unittest/loader.py", line 91, in loadTestsFromName module = __import__('.'.join(parts_copy)) File "/home/dev/django-password-policies/tests.py", line 13, in <module> from password_policies.tests import settings File "/home/dev/django-password-policies/password_policies/tests/__init__.py", line 1, in <module> from password_policies.tests.forms import * File "/home/dev/django-password-policies/password_policies/tests/forms.py", line 5, in <module> from password_policies.forms import PasswordPoliciesForm, PasswordPoliciesChangeForm File "/home/dev/django-password-policies/password_policies/forms/__init__.py", line 16, in <module> from password_policies.forms.fields import PasswordPoliciesField File "/home/dev/django-password-policies/password_policies/forms/fields.py", line 3, in <module> from password_policies.forms.validators import validate_common_sequences File "/home/dev/django-password-policies/password_policies/forms/validators.py", line 9, in <module> from django.core.validators import email_re ImportError: cannot import name email_re
The text was updated successfully, but these errors were encountered:
f819f88
tarak
No branches or pull requests
Django 1.6 changed validation of email addresses. Regex disappeared, see django/django/core/validators.py
The text was updated successfully, but these errors were encountered: