|
@ -43,6 +43,8 @@ class Project(Volunteer): |
|
|
# the following Fields are not supposed to be edited by users |
|
|
# the following Fields are not supposed to be edited by users |
|
|
pid = models.CharField(max_length=15, null=True, blank=True) |
|
|
pid = models.CharField(max_length=15, null=True, blank=True) |
|
|
end_mail_send = models.BooleanField(null=True) |
|
|
end_mail_send = models.BooleanField(null=True) |
|
|
|
|
|
status = models.CharField(max_length=3,choices=(('RUN', 'läuft'),('END','beendet')),default='RUN') |
|
|
|
|
|
persons = models.IntegerField(default=1) |
|
|
|
|
|
|
|
|
def save(self,*args,**kwargs): |
|
|
def save(self,*args,**kwargs): |
|
|
# is there a way to call super().save() only once? |
|
|
# is there a way to call super().save() only once? |
|
|