[ date and null value ]

2011-11-26 Thread Lord Goosfancito
Hello. I have problem when i declared field with "blank" the admin django show this error: (1048, "Column 'fechaProyecto' cannot be null") in my models.py: fechaProyecto = models.DateField(verbose_name='Ingresó a la subdirección de Proyecto') fechaProyecto.blank = True What is the

What read database and load values to diccionary?

2011-11-26 Thread Lord Goosfancito
Hello. I need load a table to fill one dictionary, next use it in my model. Example: def Articles(models.Model): rules = Here i need load table to fill rules filed... example: ( ('1', 'one'), ('2', 'delete it'),

Re: [ date and null value ]

2011-11-27 Thread Lord Goosfancito
El 27/11/11 02:00, Anoop Thomas Mathew escribió: Hi, Try this *fechaProyecto = models.DateField(verbose_name=**'Ingresó a la subdirección de Proyecto', blank=True, null=True)* Thanks, Anoop atm ___ Life is short, Live it hard. On 27 November 2011 05:22, Lord Goosfancito <ma