data_export_1.py 308 B

1234567891011
  1. def list_export_uploads(request, tag):
  2. uploads = models.FileMonitor.objects.filter(tags__contains="upload").order_by(
  3. "-created"
  4. )
  5. if tag:
  6. uploads = uploads.filter(tags_contains=tag)
  7. ctx = {"uploads": uploads}
  8. return render(request, "rundb/data/data_export.html", ctx)