|
|
@ -39,9 +39,9 @@ class Extern(Volunteer): |
|
|
|
|
|
|
|
def save(self,*args,**kwargs): |
|
|
|
# is there a way to call super().save() only once? |
|
|
|
super().save(*args,*kwargs) |
|
|
|
super().save(*args,**kwargs) |
|
|
|
self.service_id = type(self).__name__ + str(self.pk) |
|
|
|
super().save(*args,*kwargs) |
|
|
|
super().save(*args,**kwargs) |
|
|
|
|
|
|
|
class Meta: |
|
|
|
abstract = True |
|
|
@ -84,7 +84,7 @@ class Project(Volunteer): |
|
|
|
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) |
|
|
|
|
|
|
|
finance_id = models.CharField(max_length=15, null= True, blank=True) |
|
|
|
|
|
|
|
def save(self,*args,**kwargs): |
|
|
|
# is there a way to call super().save() only once? |
|
|
|