Fixes field and lists tests
This commit is contained in:
@ -38,4 +38,7 @@ def execute_after_save(sender, instance, created, *args, **kwargs):
|
||||
return
|
||||
if not instance.remote_id:
|
||||
instance.remote_id = instance.get_remote_id()
|
||||
instance.save(broadcast=False)
|
||||
try:
|
||||
instance.save(broadcast=False)
|
||||
except TypeError:
|
||||
instance.save()
|
||||
|
@ -54,5 +54,5 @@ class ProgressUpdate(BookWyrmModel):
|
||||
def save(self, *args, **kwargs):
|
||||
''' update user active time '''
|
||||
self.user.last_active_date = timezone.now()
|
||||
self.user.save()
|
||||
self.user.save(broadcast=False)
|
||||
super().save(*args, **kwargs)
|
||||
|
Reference in New Issue
Block a user