Hi,good! thankś allTry thisfechaProyecto = 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 <goosfancito@gmail.com> wrote:
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 problem?
Thank's
Gustavo.
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Sunday, November 27, 2011
Re: [ date and null value ]
El 27/11/11 02:00, Anoop Thomas Mathew escribió:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment