mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 06:34:25 -04:00
14 lines
332 B
Python
14 lines
332 B
Python
from django.db import models
|
|
|
|
from core.models import ArchiveResult
|
|
|
|
class SinglefileResultManager(models.Manager):
|
|
def get_queryset(self):
|
|
return super().get_queryset().filter(extractor='singlefile')
|
|
|
|
|
|
class SinglefileResult(ArchiveResult):
|
|
objects = SinglefileResultManager()
|
|
|
|
class Meta:
|
|
proxy = True
|