mirror of
https://github.com/jazzband/django-fernet-encrypted-fields.git
synced 2026-03-16 22:40:27 +00:00
Fix #10
This commit is contained in:
parent
89f3acff8a
commit
5c00880dd1
2 changed files with 4 additions and 2 deletions
|
|
@ -94,7 +94,9 @@ class EncryptedDateTimeField(EncryptedFieldMixin, models.DateTimeField):
|
|||
|
||||
|
||||
class EncryptedIntegerField(EncryptedFieldMixin, models.IntegerField):
|
||||
pass
|
||||
@cached_property
|
||||
def validators(self):
|
||||
return [*self.default_validators, *self._validators]
|
||||
|
||||
|
||||
class EncryptedDateField(EncryptedFieldMixin, models.DateField):
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -11,7 +11,7 @@ setup(
|
|||
author="fragment.co.jp",
|
||||
author_email="info@fragment.co.jp",
|
||||
packages=["encrypted_fields"],
|
||||
version="0.1.1",
|
||||
version="0.1.2",
|
||||
install_requires=[
|
||||
"Django>=2.2",
|
||||
"cryptography>=35.0.0",
|
||||
|
|
|
|||
Loading…
Reference in a new issue