Re: Accessing 'bytea' field using django.

2009-11-12 Thread ds99
Thanks all for your comments and suggestions. I will definitely take them into account. -ds99 -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, se

Re: Accessing 'bytea' field using django.

2009-11-04 Thread David De La Harpe Golden
ds99 wrote: > Hi, > I am using django with postgres as backend. Some of the fields in the > table are of type "bytea"(bytearray). Which django fields should I use > while defining a model for such tables? > > for eg: To access "boolean" we use BooleanField while modelling. I > want to know how to

Re: Accessing 'bytea' field using django.

2009-11-03 Thread Kenneth Gonsalves
On Wednesday 04 Nov 2009 10:57:24 am ds99 wrote: > I am using django with postgres as backend. Some of the fields in the > table are of type "bytea"(bytearray). Which django fields should I use > while defining a model for such tables? > > for eg: To access "boolean" we use BooleanField while mod

Re: Accessing 'bytea' field using django.

2009-11-03 Thread James Bennett
On Tue, Nov 3, 2009 at 11:27 PM, ds99 wrote: > I am using django with postgres as backend. Some of the fields in the > table are of type "bytea"(bytearray). Which django fields should I use > while defining a model for such tables? You should write a field which does this. There is no field buil