mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-17 10:13:56 -05:00
13 lines
283 B
Python
13 lines
283 B
Python
from django.core.management.base import BaseCommand
|
|
|
|
from documents.models import Log
|
|
|
|
|
|
class Command(BaseCommand):
|
|
|
|
help = "A quick & dirty way to see what's in the logs"
|
|
|
|
def handle(self, *args, **options):
|
|
for l in Log.objects.order_by("pk"):
|
|
print(l)
|