1
0
mirror of https://gitlab.crans.org/bde/nk20-scripts synced 2025-06-29 17:51:08 +02:00

Export activities in the Crans Wiki

This commit is contained in:
Yohann D'ANELLO
2020-08-06 12:15:22 +02:00
parent b311d7d51b
commit 18be620b60
2 changed files with 183 additions and 0 deletions

View File

@ -63,6 +63,7 @@ class Command(ImportCommand):
"pk": pk_activity,
"name": row["titre"],
"description": row["description"],
"location": row["lieu"],
"activity_type_id": activity_type_id, # By default Pot
"creater_id": NoteUser.objects.get(pk=note).user.id,
"organizer_id": organizer.pk,