Fixed a bug in the resource description for SchedulingEvent that prevented it from being accessed under /api/v1/meeting/schedulingevent/.

- Legacy-Id: 17303
This commit is contained in:
Henrik Levkowetz 2020-02-17 12:20:14 +00:00
parent d902aa0b1b
commit ab99478913

View file

@ -1,4 +1,4 @@
# Copyright The IETF Trust 2014-2019, All Rights Reserved # Copyright The IETF Trust 2014-2020, All Rights Reserved
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Autogenerated by the mkresources management command 2014-11-13 23:15 # Autogenerated by the mkresources management command 2014-11-13 23:15
@ -208,7 +208,7 @@ from ietf.name.resources import SessionStatusNameResource
class SchedulingEventResource(ModelResource): class SchedulingEventResource(ModelResource):
session = ToOneField(SessionResource, 'session') session = ToOneField(SessionResource, 'session')
status = ToOneField(SessionStatusNameResource, 'status') status = ToOneField(SessionStatusNameResource, 'status')
by = ToOneField(PersonResource, 'location') by = ToOneField(PersonResource, 'by')
class Meta: class Meta:
cache = SimpleCache() cache = SimpleCache()
queryset = SchedulingEvent.objects.all() queryset = SchedulingEvent.objects.all()