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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user