mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-17 00:24:26 -04:00

Some checks are pending
Build Debian package / build (push) Waiting to run
Build Docker image / buildx (push) Waiting to run
Build Homebrew package / build (push) Waiting to run
Run linters / lint (push) Waiting to run
Build Pip package / build (push) Waiting to run
Run tests / python_tests (ubuntu-22.04, 3.11) (push) Waiting to run
Run tests / docker_tests (push) Waiting to run
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
|