defrex / django-encrypted-fields

This is a collection of Django Model Field classes that are encrypted using Keyczar.
MIT License
193 stars 60 forks source link

Added new EcryptedDateField class #6

Closed expobrain closed 10 years ago

defrex commented 10 years ago

Thanks for the pull request. Unfortunately your test compares Django's string-serialization to a native Python date, so even if the encryption failed for some reason the test would still pass.

Can you update the test so it would fail if the encryption failed?

expobrain commented 10 years ago

Done it, it will now check that the returned value is not a string representation of the original date

defrex commented 10 years ago

Thanks for the contribution.