[tasks] Add auto importing of scale csv from webdav
All checks were successful
build & deploy / test (push) Successful in 1m48s
build & deploy / build-and-deploy (push) Successful in 30s

This commit is contained in:
2026-05-24 11:15:50 -04:00
parent 972568bebc
commit 25cbd88071
6 changed files with 105 additions and 19 deletions

View File

@ -285,6 +285,7 @@ class ScaleCSVImport(BaseFileImportMixin):
return path
csv_file = models.FileField(upload_to=get_path, **BNULL)
original_filename = models.CharField(max_length=255, **BNULL)
def process(self, force=False):
from scrobbles.importers.scale import import_scale_csv