test working, but still problems with project.pid
This commit is contained in:
parent
9eda1c7f1f
commit
79dc33e125
|
@ -89,7 +89,7 @@ class Project(Volunteer):
|
||||||
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?
|
||||||
print(f'1: {self.id}')
|
print(f'1: {self.id}')
|
||||||
super().save(*args,**kwargs)
|
#super().save(*args,**kwargs)
|
||||||
print(f'2: {self.id}')
|
print(f'2: {self.id}')
|
||||||
self.pid = str(self.account) + str(self.pk).zfill(3)
|
self.pid = str(self.account) + str(self.pk).zfill(3)
|
||||||
print(f'3: {self.id}')
|
print(f'3: {self.id}')
|
||||||
|
|
Loading…
Reference in New Issue