Source

django-scrypt / django_scrypt / __init__.py

Author Commit Message Labels Comments Date
Kelvin Wong
Not just for Dj 1.4 anymore
Kelvin Wong
File encoding set to UTF-8
Kelvin Wong
In Django 1.4, make_password encoded unicode to utf-8 strings using smart_str before hashing. This was removed in Django 1.5 Dj1.5 raised an error: UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-6: ordinal not in range(128) More testing is def needed.
Kelvin Wong
Version bump
Kelvin Wong
Version bump
Kelvin Wong
Test for stored encoded hashes old and new formats
Kelvin Wong
Added some docstrings
Kelvin Wong
Initial working code