Skip to content

Commit

Permalink
refactored
Browse files Browse the repository at this point in the history
  • Loading branch information
atkinson committed Nov 13, 2012
1 parent d734d16 commit 1770513
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Usage
Use in your signup form like this:

from django import forms
from passwords.fields import PasswordField
from django_zxcvbn.fields import PasswordField

class ExampleForm(forms.Form):
password = PasswordField(label="Password")
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion passwords/fields.py → django_zxcvbn/fields.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from django.forms import CharField, PasswordInput

from passwords.validators import length_validator, zxcvbn_validator
from django_zxcvbn.validators import length_validator, zxcvbn_validator

class PasswordField(CharField):
default_validators = [length_validator, zxcvbn_validator ]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name = "django-zxcvbn",
version = __import__("passwords").__version__,
version = __import__("django_zxcvbn").__version__,
author = "Rich Atkinson",
author_email = "[email protected]",
description = "Django app providing zxcvbn password validation (see http://tech.dropbox.com/?p=165)",
Expand Down

0 comments on commit 1770513

Please sign in to comment.