Thanks Ryan.
On Tuesday, August 23, 2022 at 10:29:59 AM UTC-3 Ryan Nowakowski wrote:
> On Mon, Aug 22, 2022 at 05:56:00AM -0700, Dann Luciano wrote:
> > It is possible to map one field in a Model to two or more database
> columns?
> > For example:
> >
> > class User(models.Model):
> >
On Mon, Aug 22, 2022 at 05:56:00AM -0700, Dann Luciano wrote:
> It is possible to map one field in a Model to two or more database columns?
> For example:
>
> class User(models.Model):
> encrypted_hash_email = EncryptedHash()
>
> then in database we have
>
> encrypted_email and hash_email
Hi everyone,
It is possible to map one field in a Model to two or more database columns?
For example:
class User(models.Model):
encrypted_hash_email = EncryptedHash()
then in database we have
encrypted_email and hash_email columns?
Thanks and have a good day!
--
You received this
3 matches
Mail list logo