fix: Set has_onsite_tool correctly in no_session() view (#5879)

This will prevent a session that was changed from "notmeet" to
 being scheduled from having its has_onsite_tool flag left as False
This commit is contained in:
Jennifer Richards 2023-06-26 18:10:51 -03:00 committed by GitHub
parent 98bf7afeab
commit 1db267dd7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -730,6 +730,7 @@ def no_session(request, acronym):
requested_duration=datetime.timedelta(0),
type_id='regular',
purpose_id='regular',
has_onsite_tool=group.features.acts_like_wg,
)
SchedulingEvent.objects.create(
session=session,