BUGFIX: project.start should be required because we need it to

calculate year of project
This commit is contained in:
Benni Baermann 2021-11-03 13:47:39 +01:00
parent 1b045fb77d
commit 335744cea3

View file

@ -62,7 +62,7 @@ class Account(models.Model):
class Project(Volunteer): class Project(Volunteer):
name = models.CharField(max_length=200, verbose_name='Name des Projekts') name = models.CharField(max_length=200, verbose_name='Name des Projekts')
description = models.CharField(max_length=500, verbose_name="Kurzbeschreibung", null=True) description = models.CharField(max_length=500, verbose_name="Kurzbeschreibung", null=True)
start = models.DateField('Startdatum', null=True, blank= True) start = models.DateField('Startdatum', null=True)
end = models.DateField('Erwartetes Projektende', null=True) end = models.DateField('Erwartetes Projektende', null=True)
otrs = models.URLField(max_length=300, null=True, verbose_name='OTRS-Link') otrs = models.URLField(max_length=300, null=True, verbose_name='OTRS-Link')
plan = models.URLField(max_length=2000, null=True, blank=True, verbose_name="Link zum Förderplan") plan = models.URLField(max_length=2000, null=True, blank=True, verbose_name="Link zum Förderplan")