Add statuses to timelines
This commit is contained in:
@ -34,7 +34,7 @@ class BookWyrmModel(models.Model):
|
||||
|
||||
@receiver(models.signals.post_save)
|
||||
# pylint: disable=unused-argument
|
||||
def execute_after_save(sender, instance, created, *args, **kwargs):
|
||||
def set_remote_id(sender, instance, created, *args, **kwargs):
|
||||
""" set the remote_id after save (when the id is available) """
|
||||
if not created or not hasattr(instance, "get_remote_id"):
|
||||
return
|
||||
|
Reference in New Issue
Block a user