1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #7783 -- Made introspection of nullable columns more robust with Postgres.

Thanks bthomas AT ncorcle DOT com for the report and initial patch, and
Claude Paroz for the final, complete patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17508 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Ramiro Morales
2012-02-11 20:05:50 +00:00
parent 4b81d790a8
commit ccc0e122d4
3 changed files with 18 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ class Reporter(models.Model):
first_name = models.CharField(max_length=30)
last_name = models.CharField(max_length=30)
email = models.EmailField()
facebook_user_id = models.BigIntegerField()
facebook_user_id = models.BigIntegerField(null=True)
def __unicode__(self):
return u"%s %s" % (self.first_name, self.last_name)