Skip to content

Commit

Permalink
Datasets as YML
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-Rey committed Oct 16, 2024
1 parent 0ad6790 commit fa785db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion preflibapp/management/commands/dataset_as_yml.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def handle(self, *args, **options):
"selected_studies": dataset.selected_studies,
"publication_date": dataset.publication_date,
"modification_date": dataset.modification_date,
"tags": [t.name for t in dataset.tags]
"tags": [t.name for t in dataset.tags.all()]
})

if not options["f"]:
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Django
numpy
preflibtools
django-distill
django-distill
pyyaml

0 comments on commit fa785db

Please sign in to comment.