mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-14 07:04:27 -04:00
move snapshot id to old_id
This commit is contained in:
parent
951025228f
commit
8c50257fe9
3 changed files with 26 additions and 6 deletions
|
@ -266,7 +266,7 @@ class Link:
|
|||
@cached_property
|
||||
def snapshot(self):
|
||||
from core.models import Snapshot
|
||||
return Snapshot.objects.only('uuid').get(url=self.url)
|
||||
return Snapshot.objects.only('id').get(url=self.url)
|
||||
|
||||
@cached_property
|
||||
def snapshot_id(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue