Make the API accept ordering and relations for the meeting date field.
- Legacy-Id: 14273
This commit is contained in:
parent
0f2a79dfe3
commit
a146c22f8d
|
@ -21,10 +21,11 @@ class MeetingResource(ModelResource):
|
|||
queryset = Meeting.objects.all()
|
||||
serializer = api.Serializer()
|
||||
#resource_name = 'meeting'
|
||||
ordering = ['date', ]
|
||||
filtering = {
|
||||
"id": ALL,
|
||||
"number": ALL,
|
||||
"date": ALL,
|
||||
"date": ALL_WITH_RELATIONS,
|
||||
"city": ALL,
|
||||
"country": ALL,
|
||||
"time_zone": ALL,
|
||||
|
|
Loading…
Reference in a new issue