Skip to content

Conversation

@kamil1marczak
Copy link

Add crypto fields

Add crypto fields

Add crypto fields
self.salt = kwargs.pop("salt", DEFAULT_SALT)
self.password = kwargs.pop("password", DEFAULT_PASSWORD)
self.ttl = kwargs.pop("ttl", None)
super(CryptoBinaryField, self).__init__(*args, **kwargs)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

python 2 compatibilities is not needed anymore so just super().init(*, **)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants