Removed an unused variable in mia_core.models.
This commit is contained in:
1 parent
3792524022
commit
607b5be9c0
1 file changed
+1
-1
@@ -69,7 +69,7 @@ class StampedModel(models.Model):
|
||||
F"Missing current_user in {self.__class__.__name__}")
|
||||
try:
|
||||
self.created_by
|
||||
except ObjectDoesNotExist as e:
|
||||
except ObjectDoesNotExist:
|
||||
self.created_by = self.current_user
|
||||
self.updated_by = self.current_user
|
||||
super().save(force_insert=force_insert, force_update=force_update,
|
||||
|
||||
Reference in new issue
Block a user