astrosat / django-astrosat-core

Common backend library for Astrosat projects' core functionality
GNU General Public License v3.0
0 stars 0 forks source link

feat(backend): export logs as CSV #49

Closed allynt closed 3 years ago

allynt commented 3 years ago

Updated the DatabaseLogRecordAdmin to 1

  1. allow it to export selected DatabaseLogRecords as CSV
  2. provide a richer (Include/Exclude) filter for m2m "tags"

A future PR should also provide a richer filter for "created" so that admins can more easily narrow down exactly which log_records they want to export.

May also want to tweak the way the log message is serialized in case it really is stringified JSON.