Fixed recording release to default false
This commit is contained in:
parent
8cf4bf3490
commit
37dd7dd15b
1 changed files with 2 additions and 1 deletions
|
@ -230,7 +230,7 @@ def schedule_json(request):
|
||||||
# base proposals
|
# base proposals
|
||||||
"license": "CC BY",
|
"license": "CC BY",
|
||||||
"tags": "",
|
"tags": "",
|
||||||
"released": True,
|
"released": False,
|
||||||
"contact": [],
|
"contact": [],
|
||||||
}
|
}
|
||||||
if hasattr(slot.content, "proposal"):
|
if hasattr(slot.content, "proposal"):
|
||||||
|
@ -250,6 +250,7 @@ def schedule_json(request):
|
||||||
reverse("schedule_presentation_detail", args=[slot.content.pk])
|
reverse("schedule_presentation_detail", args=[slot.content.pk])
|
||||||
),
|
),
|
||||||
"cancelled": slot.content.cancelled,
|
"cancelled": slot.content.cancelled,
|
||||||
|
"released": slot.content.proposal.recording_release
|
||||||
})
|
})
|
||||||
if not slot.content.speaker.twitter_username == '':
|
if not slot.content.speaker.twitter_username == '':
|
||||||
slot_data["twitter_id"] = slot.content.speaker.twitter_username
|
slot_data["twitter_id"] = slot.content.speaker.twitter_username
|
||||||
|
|
Loading…
Reference in a new issue