Browse Source

added EMailField for validation

master
Benni Baermann 4 years ago
parent
commit
1809287852
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      input/models.py

+ 1
- 1
input/models.py View File

@ -7,7 +7,7 @@ from .settings import ACCOUNTS
class Volunteer(models.Model): class Volunteer(models.Model):
realname = models.CharField(max_length=200, null=True, verbose_name="Name / Hauptansprechperson") realname = models.CharField(max_length=200, null=True, verbose_name="Name / Hauptansprechperson")
email = models.CharField(max_length=200, null=True, verbose_name='E-Mail-Adresse')
email = models.EmailField(max_length=200, null=True, verbose_name='E-Mail-Adresse')
# the following Fields are not supposed to be edited by users # the following Fields are not supposed to be edited by users
granted = models.BooleanField(null=True) granted = models.BooleanField(null=True)

Loading…
Cancel
Save