summaryrefslogtreecommitdiff
path: root/tests/admin_widgets/models.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-07-26 07:22:30 -0400
committerTim Graham <timograham@gmail.com>2013-07-26 08:02:10 -0400
commit5cc1ea4773f628f93dd2db9d353dc6b980e4a3ab (patch)
treee50470683eb48925a6a3c58620b234ec30fedbee /tests/admin_widgets/models.py
parent7f892cedbad13b444151a1c163a328d968ee6b44 (diff)
[1.6.x] Updated contrib.admin to use Email/URLInputs; refs #16630
Backport of 2a979d2a7b from master
Diffstat (limited to 'tests/admin_widgets/models.py')
-rw-r--r--tests/admin_widgets/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/admin_widgets/models.py b/tests/admin_widgets/models.py
index ae19d58cc4..2c9bc5b32a 100644
--- a/tests/admin_widgets/models.py
+++ b/tests/admin_widgets/models.py
@@ -13,6 +13,7 @@ class Member(models.Model):
name = models.CharField(max_length=100)
birthdate = models.DateTimeField(blank=True, null=True)
gender = models.CharField(max_length=1, blank=True, choices=[('M','Male'), ('F', 'Female')])
+ email = models.EmailField(blank=True)
def __str__(self):
return self.name