Hi list,

Yet another django newbie....

In my model I would like to have a float field that is
allowed to be empty, so I write:

class xxx( models.Model ):
   myfloat = models.FloatField( decimal_places=6,
max_digits=9, blank=True )

Yet the admin interface doesn't allow me to leave it empty:

IntegrityError at /xxx/xxxxxx/xxx/add/
xxx_xxxxx.myfloat may not be NULL

After creating the model I have synced the db, and BTW I use
sqlite, python 2.5 on linux.

Any ideas?

_______________________________________________________________________
Keresd a nagyon fontos pontokat! Játssz és nyerj Garmin GPS készüléket!
http://terkep.t-online.hu


--~--~---------~--~----~------------~-------~--~----~
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