mirror of
https://github.com/django/django.git
synced 2025-11-01 12:25:37 +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:
parent
4b81d790a8
commit
ccc0e122d4
3 changed files with 18 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue