On Wed, Jan 7, 2009 at 10:51 AM, Jeff Anderson <jeffe...@programmerq.net>wrote:
> varikin wrote: > > I agree with this. I use null=False, blank=True for some ImageFields > > and integers. > I'm interested in how a blank integer looks in a MySQL database. Can you > provide an example? > > I believe the further description a bit later in the email covered this: In the case of an integer, I use it for order of the images. So if a number > is given for an image, it is used, otherwise auto assign the order number. That is, blank is not actually stored in the DB but rather the lack of a user-provided value triggers creation of an auto-assigned value. 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---