1
0
mirror of https://github.com/django/django.git synced 2025-10-26 07:06:08 +00:00

Add check constraint support - needed a few Field changes

This commit is contained in:
Andrew Godwin
2012-09-07 15:40:59 -04:00
parent 375178fc19
commit ca9c3cd39f
12 changed files with 143 additions and 24 deletions

View File

@@ -7,6 +7,7 @@ from django.db import models
class Author(models.Model):
name = models.CharField(max_length=255)
height = models.PositiveIntegerField(null=True, blank=True)
class Meta:
managed = False