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

Add introspection support for BinaryField

This commit is contained in:
Claude Paroz
2012-12-17 22:35:35 +01:00
parent d680a3f447
commit c5a25c2771
5 changed files with 10 additions and 2 deletions

View File

@@ -10,6 +10,7 @@ class Reporter(models.Model):
last_name = models.CharField(max_length=30)
email = models.EmailField()
facebook_user_id = models.BigIntegerField(null=True)
raw_data = models.BinaryField(null=True)
class Meta:
unique_together = ('first_name', 'last_name')