1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Refs #28009 -- Added empty_value tests for CharField subclasses.

This commit is contained in:
David Smith
2020-09-25 12:10:45 +02:00
committed by Mariusz Felisiak
parent 997f87c5b0
commit b8239cae19
6 changed files with 36 additions and 4 deletions

View File

@@ -472,3 +472,6 @@ class Award(models.Model):
class NullableUniqueCharFieldModel(models.Model):
codename = models.CharField(max_length=50, blank=True, null=True, unique=True)
email = models.EmailField(blank=True, null=True)
slug = models.SlugField(blank=True, null=True)
url = models.URLField(blank=True, null=True)