Changes between Initial Version and Version 1 of Ticket #35594
- Timestamp:
- Jul 11, 2024, 8:14:00 AM (5 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35594 – Description
initial v1 9 9 {{{ 10 10 class Book(models.Model): 11 name = CharField(max_length=255, null=True )11 name = CharField(max_length=255, null=True, blank=True) 12 12 13 13 class Meta: … … 21 21 > book = Book(name=None) 22 22 > book.full_clean() # Should raise a `ValidationError` but doesn't. 23 > book.save() # The database raises a n `IntegrityError`.23 > book.save() # The database raises a `UniqueViolation`. 24 24 }}} 25 25