Open
Description
function pgp_pub_encrypt(numeric, bytea) does not exist
LINE 241: ')), pgp_pub_encrypt(60.50, dearmor('-----BEGIN PGP PUBLIC K...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
this error bellow happens when I was trying to use decimal fields in models
model:
fields.DecimalPGPPublicKeyField(max_digits=3, decimal_places=1)
fields.DecimalPGPPublicKeyField(max_digits=5, decimal_places=2,validators=[MaxValueValidator(Decimal(250.0)), MinValueValidator(Decimal(60.0))])