Re: django-admin inspectdb does not detect NULL columns for PostgreSQL database

2011-07-22 Thread Andre Terra
Didn't read the original question, so excuse me for not replying. And thanks/congrats on the new patch =) Cheers, AT On 7/22/11, Ricardo L. Dani wrote: > FYI i fixed that and post a patch in the ticket. > > Regards > > On Thu, Jul 21, 2011 at 9:21 AM, Ricardo L. Dani > wrote: >> Hi everyone, >

Re: django-admin inspectdb does not detect NULL columns for PostgreSQL database

2011-07-22 Thread Ricardo L. Dani
FYI i fixed that and post a patch in the ticket. Regards On Thu, Jul 21, 2011 at 9:21 AM, Ricardo L. Dani wrote: > Hi everyone, > > I have the same problem of this ticket from django trac: > https://code.djangoproject.com/ticket/7783 > > The PostgreSQL database introspection does not detect NULL

django-admin inspectdb does not detect NULL columns for PostgreSQL database

2011-07-21 Thread Ricardo L. Dani
Hi everyone, I have the same problem of this ticket from django trac: https://code.djangoproject.com/ticket/7783 The PostgreSQL database introspection does not detect NULL columns, cursor.description does not return the null_ok field, so database introspection does not add null=True to column def