On Mon, Jul 7, 2008 at 1:49 PM, Fernando Rodríguez <[EMAIL PROTECTED]>
wrote:

>
> Hi,
>
> I want one on my models to have an optional field. After checking the
> code in the Field class, there are two promising params to __init__():
> blank=False, null=False
>
> What's the difference between both and which one should I use?
>
> Thanks! :-)


It's in the docs:

http://www.djangoproject.com/documentation/model-api/#null

and following.

Karen

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to