Re: Default for varbinary in inspectdb

2018-03-20 Thread Kevin Olbrich
PS: After changing the field to BinaryField, read / write works beautiful. Am Dienstag, 20. März 2018 14:49:35 UTC+1 schrieb Kevin Olbrich: > > Hi, > > I just noticed a problem with varbinary fields and inspectdb. > When inspectdb processes all fields, it creates varbinary as CharField but > it

Default for varbinary in inspectdb

2018-03-20 Thread Kevin Olbrich
Hi, I just noticed a problem with varbinary fields and inspectdb. When inspectdb processes all fields, it creates varbinary as CharField but it needs to be BinaryField. Using CharField it is impossible to store non-ASCII (non-text) content in these columns. I noticed that problem when I tried