You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're seeing from #3 that len(value) < len(encrypted(value)). To have a CharField, one possible solution (but need to take into consideration char encoding) would be to override max_length to 'add' the bytes to not exceed the field capacity.
Also it might be interesting to think about how a DateTimeField or any other fields would be stored if implemented.
The text was updated successfully, but these errors were encountered:
We're seeing from #3 that
len(value) < len(encrypted(value))
. To have aCharField
, one possible solution (but need to take into consideration char encoding) would be to overridemax_length
to 'add' thebytes
to not exceed the field capacity.Also it might be interesting to think about how a
DateTimeField
or any other fields would be stored if implemented.The text was updated successfully, but these errors were encountered: