diff --git a/ietf/community/resources.py b/ietf/community/resources.py index fa6330be3..eea118ed7 100644 --- a/ietf/community/resources.py +++ b/ietf/community/resources.py @@ -1,3 +1,4 @@ +# Copyright The IETF Trust 2014-2019, All Rights Reserved # Autogenerated by the mkresources management command 2014-11-13 23:53 from ietf.api import ModelResource from tastypie.fields import ToOneField, ToManyField @@ -21,6 +22,7 @@ class CommunityListResource(ModelResource): queryset = CommunityList.objects.all() serializer = api.Serializer() #resource_name = 'communitylist' + ordering = ['id', ] filtering = { "id": ALL, "secret": ALL, @@ -38,6 +40,7 @@ class SearchRuleResource(ModelResource): queryset = SearchRule.objects.all() serializer = api.Serializer() #resource_name = 'rule' + ordering = ['id', ] filtering = { "id": ALL, "rule_type": ALL, @@ -52,6 +55,7 @@ class EmailSubscriptionResource(ModelResource): queryset = EmailSubscription.objects.all() serializer = api.Serializer() #resource_name = 'emailsubscription' + ordering = ['id', ] filtering = { "id": ALL, "email": ALL_WITH_RELATIONS, diff --git a/ietf/dbtemplate/resources.py b/ietf/dbtemplate/resources.py index f043428c9..73e11a9de 100644 --- a/ietf/dbtemplate/resources.py +++ b/ietf/dbtemplate/resources.py @@ -1,3 +1,4 @@ +# Copyright The IETF Trust 2014-2019, All Rights Reserved # Autogenerated by the mkresources management command 2014-11-13 23:53 from ietf.api import ModelResource from tastypie.fields import ToOneField @@ -19,6 +20,7 @@ class DBTemplateResource(ModelResource): queryset = DBTemplate.objects.all() serializer = api.Serializer() #resource_name = 'dbtemplate' + ordering = ['id', ] filtering = { "id": ALL, "path": ALL, diff --git a/ietf/doc/resources.py b/ietf/doc/resources.py index cb6a096f8..08f5489fc 100644 --- a/ietf/doc/resources.py +++ b/ietf/doc/resources.py @@ -25,6 +25,7 @@ class BallotTypeResource(ModelResource): queryset = BallotType.objects.all() serializer = api.Serializer() #resource_name = 'ballottype' + ordering = ['id', ] filtering = { "id": ALL, "slug": ALL, @@ -47,6 +48,7 @@ class DeletedEventResource(ModelResource): queryset = DeletedEvent.objects.all() serializer = api.Serializer() #resource_name = 'deletedevent' + ordering = ['id', ] filtering = { "id": ALL, "json": ALL, @@ -62,6 +64,7 @@ class StateTypeResource(ModelResource): queryset = StateType.objects.all() serializer = api.Serializer() #resource_name = 'statetype' + ordering = ['id', ] filtering = { "slug": ALL, "label": ALL, @@ -76,6 +79,7 @@ class StateResource(ModelResource): queryset = State.objects.all() serializer = api.Serializer() #resource_name = 'state' + ordering = ['id', ] filtering = { "id": ALL, "slug": ALL, @@ -109,6 +113,7 @@ class DocumentResource(ModelResource): serializer = api.Serializer() detail_uri_name = 'name' #resource_name = 'document' + ordering = ['id', ] filtering = { "time": ALL, "title": ALL, @@ -145,6 +150,7 @@ class DocumentAuthorResource(ModelResource): queryset = DocumentAuthor.objects.all() serializer = api.Serializer() #resource_name = 'documentauthor' + ordering = ['id', ] filtering = { "id": ALL, "affiliation": ALL, @@ -165,6 +171,7 @@ class DocEventResource(ModelResource): queryset = DocEvent.objects.all() serializer = api.Serializer() #resource_name = 'docevent' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -188,6 +195,7 @@ class StateDocEventResource(ModelResource): queryset = StateDocEvent.objects.all() serializer = api.Serializer() #resource_name = 'statedocevent' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -221,6 +229,7 @@ class DocHistoryResource(ModelResource): queryset = DocHistory.objects.all() serializer = api.Serializer() #resource_name = 'dochistory' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -259,6 +268,7 @@ class ConsensusDocEventResource(ModelResource): queryset = ConsensusDocEvent.objects.all() serializer = api.Serializer() #resource_name = 'consensusdocevent' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -280,6 +290,7 @@ class DocAliasResource(ModelResource): serializer = api.Serializer() detail_uri_name = 'name' #resource_name = 'docalias' + ordering = ['id', ] filtering = { "name": ALL, "document": ALL_WITH_RELATIONS, @@ -296,6 +307,7 @@ class TelechatDocEventResource(ModelResource): queryset = TelechatDocEvent.objects.all() serializer = api.Serializer() #resource_name = 'telechatdocevent' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -319,6 +331,7 @@ class DocReminderResource(ModelResource): queryset = DocReminder.objects.all() serializer = api.Serializer() #resource_name = 'docreminder' + ordering = ['id', ] filtering = { "id": ALL, "due": ALL, @@ -338,6 +351,7 @@ class LastCallDocEventResource(ModelResource): queryset = LastCallDocEvent.objects.all() serializer = api.Serializer() #resource_name = 'lastcalldocevent' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -361,6 +375,7 @@ class NewRevisionDocEventResource(ModelResource): queryset = NewRevisionDocEvent.objects.all() serializer = api.Serializer() #resource_name = 'newrevisiondocevent' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -383,6 +398,7 @@ class WriteupDocEventResource(ModelResource): queryset = WriteupDocEvent.objects.all() serializer = api.Serializer() #resource_name = 'writeupdocevent' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -406,6 +422,7 @@ class InitialReviewDocEventResource(ModelResource): queryset = InitialReviewDocEvent.objects.all() serializer = api.Serializer() #resource_name = 'initialreviewdocevent' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -429,6 +446,7 @@ class DocHistoryAuthorResource(ModelResource): queryset = DocHistoryAuthor.objects.all() serializer = api.Serializer() #resource_name = 'dochistoryauthor' + ordering = ['id', ] filtering = { "id": ALL, "affiliation": ALL, @@ -451,6 +469,7 @@ class BallotDocEventResource(ModelResource): queryset = BallotDocEvent.objects.all() serializer = api.Serializer() #resource_name = 'ballotdocevent' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -474,6 +493,7 @@ class RelatedDocumentResource(ModelResource): queryset = RelatedDocument.objects.all() serializer = api.Serializer() #resource_name = 'relateddocument' + ordering = ['id', ] filtering = { "id": ALL, "source": ALL_WITH_RELATIONS, @@ -492,6 +512,7 @@ class RelatedDocHistoryResource(ModelResource): queryset = RelatedDocHistory.objects.all() serializer = api.Serializer() #resource_name = 'relateddochistory' + ordering = ['id', ] filtering = { "id": ALL, "source": ALL_WITH_RELATIONS, @@ -514,6 +535,7 @@ class BallotPositionDocEventResource(ModelResource): queryset = BallotPositionDocEvent.objects.all() serializer = api.Serializer() #resource_name = 'ballotpositiondocevent' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -546,6 +568,7 @@ class AddedMessageEventResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'addedmessageevent' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -573,6 +596,7 @@ class SubmissionDocEventResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'submissiondocevent' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -599,6 +623,7 @@ class ReviewRequestDocEventResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'reviewrequestdocevent' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -623,6 +648,7 @@ class EditedAuthorsDocEventResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'editedauthorsdocevent' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -646,6 +672,7 @@ class DocumentURLResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'documenturl' + ordering = ['id', ] filtering = { "id": ALL, "desc": ALL, @@ -670,6 +697,7 @@ class ReviewAssignmentDocEventResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'reviewassignmentdocevent' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, diff --git a/ietf/group/resources.py b/ietf/group/resources.py index ef3c18584..d8f86504b 100644 --- a/ietf/group/resources.py +++ b/ietf/group/resources.py @@ -1,3 +1,4 @@ +# Copyright The IETF Trust 2014-2019, All Rights Reserved # Autogenerated by the mkresources management command 2014-11-13 23:15 from ietf.api import ModelResource from ietf.api import ToOneField @@ -28,6 +29,7 @@ class GroupResource(ModelResource): queryset = Group.objects.all() serializer = api.Serializer() #resource_name = 'group' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -57,6 +59,7 @@ class GroupStateTransitionsResource(ModelResource): queryset = GroupStateTransitions.objects.all() serializer = api.Serializer() #resource_name = 'groupstatetransitions' + ordering = ['id', ] filtering = { "id": ALL, "group": ALL_WITH_RELATIONS, @@ -75,6 +78,7 @@ class GroupMilestoneResource(ModelResource): queryset = GroupMilestone.objects.all() serializer = api.Serializer() #resource_name = 'groupmilestone' + ordering = ['id', ] filtering = { "id": ALL, "desc": ALL, @@ -102,6 +106,7 @@ class GroupHistoryResource(ModelResource): queryset = GroupHistory.objects.all() serializer = api.Serializer() #resource_name = 'grouphistory' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -129,6 +134,7 @@ class GroupURLResource(ModelResource): queryset = GroupURL.objects.all() serializer = api.Serializer() #resource_name = 'groupurl' + ordering = ['id', ] filtering = { "id": ALL, "name": ALL, @@ -149,6 +155,7 @@ class RoleResource(ModelResource): queryset = Role.objects.all() serializer = api.Serializer() #resource_name = 'role' + ordering = ['id', ] filtering = { "id": ALL, "name": ALL_WITH_RELATIONS, @@ -167,6 +174,7 @@ class GroupEventResource(ModelResource): queryset = GroupEvent.objects.all() serializer = api.Serializer() #resource_name = 'groupevent' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -189,6 +197,7 @@ class RoleHistoryResource(ModelResource): queryset = RoleHistory.objects.all() serializer = api.Serializer() #resource_name = 'rolehistory' + ordering = ['id', ] filtering = { "id": ALL, "name": ALL_WITH_RELATIONS, @@ -209,6 +218,7 @@ class GroupMilestoneHistoryResource(ModelResource): queryset = GroupMilestoneHistory.objects.all() serializer = api.Serializer() #resource_name = 'groupmilestonehistory' + ordering = ['id', ] filtering = { "id": ALL, "desc": ALL, @@ -233,6 +243,7 @@ class MilestoneGroupEventResource(ModelResource): queryset = MilestoneGroupEvent.objects.all() serializer = api.Serializer() #resource_name = 'milestonegroupevent' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -257,6 +268,7 @@ class ChangeStateGroupEventResource(ModelResource): queryset = ChangeStateGroupEvent.objects.all() serializer = api.Serializer() #resource_name = 'changestategroupevent' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -278,6 +290,7 @@ class GroupFeaturesResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'groupfeatures' + ordering = ['id', ] filtering = { "has_milestones": ALL, "has_chartering_process": ALL, @@ -308,6 +321,7 @@ class HistoricalGroupFeaturesResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'historicalgroupfeatures' + ordering = ['id', ] filtering = { "has_milestones": ALL, "has_chartering_process": ALL, diff --git a/ietf/iesg/resources.py b/ietf/iesg/resources.py index 2fdc105a1..96293bc45 100644 --- a/ietf/iesg/resources.py +++ b/ietf/iesg/resources.py @@ -1,3 +1,4 @@ +# Copyright The IETF Trust 2014-2019, All Rights Reserved # Autogenerated by the mkresources management command 2014-11-13 23:53 from ietf.api import ModelResource from tastypie.constants import ALL @@ -14,6 +15,7 @@ class TelechatDateResource(ModelResource): queryset = TelechatDate.objects.all() serializer = api.Serializer() #resource_name = 'telechatdate' + ordering = ['id', ] filtering = { "id": ALL, "date": ALL, @@ -26,6 +28,7 @@ class TelechatResource(ModelResource): queryset = Telechat.objects.all() serializer = api.Serializer() #resource_name = 'telechat' + ordering = ['tlechat_id', ] filtering = { "telechat_id": ALL, "telechat_date": ALL, @@ -44,6 +47,7 @@ class TelechatAgendaItemResource(ModelResource): queryset = TelechatAgendaItem.objects.all() serializer = api.Serializer() #resource_name = 'telechatagendaitem' + ordering = ['id', ] filtering = { "id": ALL, "text": ALL, diff --git a/ietf/ipr/resources.py b/ietf/ipr/resources.py index ed9f6aba1..65cb551f5 100644 --- a/ietf/ipr/resources.py +++ b/ietf/ipr/resources.py @@ -1,3 +1,4 @@ +# Copyright The IETF Trust 2015-2019, All Rights Reserved # Autogenerated by the mkresources management command 2015-03-21 14:05 PDT from ietf.api import ModelResource from ietf.api import ToOneField @@ -23,6 +24,7 @@ class IprDisclosureBaseResource(ModelResource): cache = SimpleCache() serializer = api.Serializer() #resource_name = 'iprdisclosurebase' + ordering = ['id', ] filtering = { "id": ALL, "compliant": ALL, @@ -49,6 +51,7 @@ class IprDocRelResource(ModelResource): queryset = IprDocRel.objects.all() serializer = api.Serializer() #resource_name = 'iprdocrel' + ordering = ['id', ] filtering = { "id": ALL, "sections": ALL, @@ -73,6 +76,7 @@ class HolderIprDisclosureResource(ModelResource): queryset = HolderIprDisclosure.objects.all() serializer = api.Serializer() #resource_name = 'holderiprdisclosure' + ordering = ['id', ] filtering = { "id": ALL, "compliant": ALL, @@ -116,6 +120,7 @@ class ThirdPartyIprDisclosureResource(ModelResource): queryset = ThirdPartyIprDisclosure.objects.all() serializer = api.Serializer() #resource_name = 'thirdpartyiprdisclosure' + ordering = ['id', ] filtering = { "id": ALL, "compliant": ALL, @@ -149,6 +154,7 @@ class RelatedIprResource(ModelResource): queryset = RelatedIpr.objects.all() serializer = api.Serializer() #resource_name = 'relatedipr' + ordering = ['id', ] filtering = { "id": ALL, "source": ALL_WITH_RELATIONS, @@ -171,6 +177,7 @@ class NonDocSpecificIprDisclosureResource(ModelResource): queryset = NonDocSpecificIprDisclosure.objects.all() serializer = api.Serializer() #resource_name = 'nondocspecificiprdisclosure' + ordering = ['id', ] filtering = { "id": ALL, "compliant": ALL, @@ -209,6 +216,7 @@ class GenericIprDisclosureResource(ModelResource): queryset = GenericIprDisclosure.objects.all() serializer = api.Serializer() #resource_name = 'genericiprdisclosure' + ordering = ['id', ] filtering = { "id": ALL, "compliant": ALL, @@ -245,6 +253,7 @@ class IprEventResource(ModelResource): queryset = IprEvent.objects.all() serializer = api.Serializer() #resource_name = 'iprevent' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -273,6 +282,7 @@ class LegacyMigrationIprEventResource(ModelResource): queryset = LegacyMigrationIprEvent.objects.all() serializer = api.Serializer() #resource_name = 'legacymigrationiprevent' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, diff --git a/ietf/liaisons/resources.py b/ietf/liaisons/resources.py index c93dc12e3..3bfd6321f 100644 --- a/ietf/liaisons/resources.py +++ b/ietf/liaisons/resources.py @@ -1,3 +1,4 @@ +# Copyright The IETF Trust 2015-2019, All Rights Reserved # Autogenerated by the makeresources management command 2015-10-11 13:15 PDT from ietf.api import ModelResource from ietf.api import ToOneField @@ -28,6 +29,7 @@ class LiaisonStatementResource(ModelResource): queryset = LiaisonStatement.objects.all() serializer = api.Serializer() #resource_name = 'liaisonstatement' + ordering = ['id', ] filtering = { "id": ALL, "title": ALL, @@ -59,6 +61,7 @@ class LiaisonStatementGroupContactsResource(ModelResource): queryset = LiaisonStatementGroupContacts.objects.all() serializer = api.Serializer() #resource_name = 'liaisonstatementgroupcontacts' + ordering = ['id', ] filtering = { "id": ALL, "contacts": ALL, @@ -78,6 +81,7 @@ class LiaisonStatementEventResource(ModelResource): queryset = LiaisonStatementEvent.objects.all() serializer = api.Serializer() #resource_name = 'liaisonstatementevent' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -97,6 +101,7 @@ class LiaisonStatementAttachmentResource(ModelResource): queryset = LiaisonStatementAttachment.objects.all() serializer = api.Serializer() #resource_name = 'liaisonstatementattachment' + ordering = ['id', ] filtering = { "id": ALL, "removed": ALL, @@ -115,6 +120,7 @@ class RelatedLiaisonStatementResource(ModelResource): queryset = RelatedLiaisonStatement.objects.all() serializer = api.Serializer() #resource_name = 'relatedliaisonstatement' + ordering = ['id', ] filtering = { "id": ALL, "source": ALL_WITH_RELATIONS, diff --git a/ietf/mailinglists/resources.py b/ietf/mailinglists/resources.py index e4abee20d..7f48ac35e 100644 --- a/ietf/mailinglists/resources.py +++ b/ietf/mailinglists/resources.py @@ -1,4 +1,4 @@ -# Copyright The IETF Trust 2016, All Rights Reserved +# Copyright The IETF Trust 2016-2019, All Rights Reserved # Autogenerated by the makeresources management command 2016-06-12 12:29 PDT from ietf.api import ModelResource from tastypie.fields import ToManyField # pyflakes:ignore @@ -19,6 +19,7 @@ class WhitelistedResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'whitelisted' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -33,6 +34,7 @@ class ListResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'list' + ordering = ['id', ] filtering = { "id": ALL, "name": ALL, @@ -48,6 +50,7 @@ class SubscribedResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'subscribed' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, diff --git a/ietf/meeting/resources.py b/ietf/meeting/resources.py index 3cd065dd0..62fea679c 100644 --- a/ietf/meeting/resources.py +++ b/ietf/meeting/resources.py @@ -1,3 +1,4 @@ +# Copyright The IETF Trust 2014-2019, All Rights Reserved # Autogenerated by the mkresources management command 2014-11-13 23:15 from ietf.api import ModelResource from ietf.api import ToOneField @@ -21,7 +22,7 @@ class MeetingResource(ModelResource): queryset = Meeting.objects.all() serializer = api.Serializer() #resource_name = 'meeting' - ordering = ['date', ] + ordering = ['id', 'date', ] filtering = { "id": ALL, "number": ALL, @@ -57,6 +58,7 @@ class ResourceAssociationResource(ModelResource): queryset = ResourceAssociation.objects.all() serializer = api.Serializer() resource_name = 'resourceassociation' + ordering = ['id', ] filtering = { "id": ALL, "icon": ALL, @@ -79,6 +81,7 @@ class ConstraintResource(ModelResource): queryset = Constraint.objects.all() serializer = api.Serializer() #resource_name = 'constraint' + ordering = ['id', ] filtering = { "id": ALL, "day": ALL, @@ -97,6 +100,7 @@ class FloorPlanResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'floorplan' + ordering = ['id', ] filtering = { "id": ALL, "name": ALL, @@ -119,6 +123,7 @@ class RoomResource(ModelResource): queryset = Room.objects.all() serializer = api.Serializer() #resource_name = 'room' + ordering = ['id', ] filtering = { "id": ALL, "name": ALL, @@ -141,6 +146,7 @@ class ScheduleResource(ModelResource): queryset = Schedule.objects.all() serializer = api.Serializer() #resource_name = 'schedule' + ordering = ['id', ] filtering = { "id": ALL, "name": ALL, @@ -171,7 +177,7 @@ class SessionResource(ModelResource): queryset = Session.objects.all() serializer = api.Serializer() #resource_name = 'session' - ordering = ['modified', 'scheduled','meeting',] + ordering = ['id', 'modified', 'scheduled','meeting',] filtering = { "id": ALL, "name": ALL, @@ -206,7 +212,7 @@ class TimeSlotResource(ModelResource): queryset = TimeSlot.objects.all() serializer = api.Serializer() #resource_name = 'timeslot' - ordering = ['time', 'modified', 'meeting',] + ordering = ['id', 'time', 'modified', 'meeting',] filtering = { "id": ALL, "name": ALL, @@ -231,7 +237,7 @@ class SchedTimeSessAssignmentResource(ModelResource): queryset = SchedTimeSessAssignment.objects.all() serializer = api.Serializer() #resource_name = 'schedtimesessassignment' - ordering = ['modified', ] + ordering = ['id', 'modified', ] filtering = { "id": ALL, "modified": ALL, @@ -256,6 +262,7 @@ class SessionPresentationResource(ModelResource): queryset = SessionPresentation.objects.all() serializer = api.Serializer() #resource_name = 'sessionpresentation' + ordering = ['id', ] filtering = { "id": ALL, "rev": ALL, @@ -275,6 +282,7 @@ class UrlResourceResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() resource_name = 'urlresource' + ordering = ['id', ] filtering = { "id": ALL, "url": ALL, @@ -294,6 +302,7 @@ class ImportantDateResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'importantdate' + ordering = ['id', ] filtering = { "id": ALL, "date": ALL, @@ -312,6 +321,7 @@ class SlideSubmissionResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'slidesubmission' + ordering = ['id', ] filtering = { "id": ALL, "title": ALL, diff --git a/ietf/message/resources.py b/ietf/message/resources.py index e156f044e..f1e77cb5b 100644 --- a/ietf/message/resources.py +++ b/ietf/message/resources.py @@ -1,3 +1,4 @@ +# Copyright The IETF Trust 2014-2019, All Rights Reserved # Autogenerated by the mkresources management command 2014-11-13 23:53 from ietf.api import ModelResource from ietf.api import ToOneField @@ -21,6 +22,7 @@ class MessageResource(ModelResource): queryset = Message.objects.all() serializer = api.Serializer() #resource_name = 'message' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -47,6 +49,7 @@ class SendQueueResource(ModelResource): queryset = SendQueue.objects.all() serializer = api.Serializer() #resource_name = 'sendqueue' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -67,6 +70,7 @@ class MessageAttachmentResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'messageattachment' + ordering = ['id', ] filtering = { "id": ALL, "filename": ALL, @@ -88,6 +92,7 @@ class AnnouncementFromResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'announcementfrom' + ordering = ['id', ] filtering = { "id": ALL, "address": ALL, diff --git a/ietf/nomcom/resources.py b/ietf/nomcom/resources.py index 43d5e2029..311485fb0 100644 --- a/ietf/nomcom/resources.py +++ b/ietf/nomcom/resources.py @@ -1,3 +1,4 @@ +# Copyright The IETF Trust 2014-2019, All Rights Reserved # Autogenerated by the mkresources management command 2014-11-13 23:53 from ietf.api import ModelResource from ietf.api import ToOneField @@ -18,6 +19,7 @@ class NomComResource(ModelResource): queryset = NomCom.objects.all() serializer = api.Serializer() #resource_name = 'nomcom' + ordering = ['id', ] filtering = { "id": ALL, "public_key": ALL, @@ -40,6 +42,7 @@ class PositionResource(ModelResource): queryset = Position.objects.all() serializer = api.Serializer() #resource_name = 'position' + ordering = ['id', ] filtering = { "id": ALL, "name": ALL, @@ -63,6 +66,7 @@ class NomineeResource(ModelResource): queryset = Nominee.objects.all() serializer = api.Serializer() #resource_name = 'nominee' + ordering = ['id', ] filtering = { "id": ALL, "email": ALL_WITH_RELATIONS, @@ -79,6 +83,7 @@ class ReminderDatesResource(ModelResource): queryset = ReminderDates.objects.all() serializer = api.Serializer() #resource_name = 'reminderdates' + ordering = ['id', ] filtering = { "id": ALL, "date": ALL, @@ -96,6 +101,7 @@ class NomineePositionResource(ModelResource): queryset = NomineePosition.objects.all() serializer = api.Serializer() #resource_name = 'nomineeposition' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -118,6 +124,7 @@ class FeedbackResource(ModelResource): queryset = Feedback.objects.all() serializer = api.Serializer() #resource_name = 'feedback' + ordering = ['id', ] filtering = { "id": ALL, "author": ALL, @@ -143,6 +150,7 @@ class NominationResource(ModelResource): queryset = Nomination.objects.all() serializer = api.Serializer() #resource_name = 'nomination' + ordering = ['id', ] filtering = { "id": ALL, "candidate_name": ALL, @@ -165,6 +173,7 @@ class FeedbackLastSeenResource(ModelResource): cache = SimpleCache() queryset = FeedbackLastSeen.objects.all() serializer = api.Serializer() + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -185,6 +194,7 @@ class TopicResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'topic' + ordering = ['id', ] filtering = { "id": ALL, "subject": ALL, @@ -205,6 +215,7 @@ class TopicFeedbackLastSeenResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'topicfeedbacklastseen' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, diff --git a/ietf/person/resources.py b/ietf/person/resources.py index c5b51e6c4..049b3e104 100644 --- a/ietf/person/resources.py +++ b/ietf/person/resources.py @@ -1,3 +1,4 @@ +# Copyright The IETF Trust 2014-2019, All Rights Reserved # Autogenerated by the mkresources management command 2014-11-13 23:53 from ietf.api import ModelResource from tastypie.fields import ToOneField @@ -38,6 +39,7 @@ class EmailResource(ModelResource): queryset = Email.objects.all() serializer = api.Serializer() #resource_name = 'email' + ordering = ['address', ] filtering = { "address": ALL, "time": ALL, @@ -53,6 +55,7 @@ class AliasResource(ModelResource): queryset = Alias.objects.all() serializer = api.Serializer() #resource_name = 'alias' + ordering = ['id', ] filtering = { "id": ALL, "name": ALL, @@ -68,6 +71,7 @@ class PersonalApiKeyResource(ModelResource): cache = SimpleCache() excludes = ['salt', ] #resource_name = 'personalapikey' + ordering = ['id', ] filtering = { "id": ALL, "endpoint": ALL, @@ -88,6 +92,7 @@ class PersonEventResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'personevent' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -107,6 +112,7 @@ class PersonApiKeyEventResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'personapikeyevent' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -128,6 +134,7 @@ class HistoricalPersonResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'historicalperson' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -157,6 +164,7 @@ class HistoricalEmailResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'historicalemail' + ordering = ['id', ] filtering = { "address": ALL, "time": ALL, diff --git a/ietf/redirects/resources.py b/ietf/redirects/resources.py index a9e9632c9..d65726280 100644 --- a/ietf/redirects/resources.py +++ b/ietf/redirects/resources.py @@ -1,3 +1,4 @@ +# Copyright The IETF Trust 2014-2019, All Rights Reserved # Autogenerated by the mkresources management command 2014-11-13 23:53 from ietf.api import ModelResource from tastypie.fields import ToOneField @@ -15,6 +16,7 @@ class RedirectResource(ModelResource): queryset = Redirect.objects.all() serializer = api.Serializer() #resource_name = 'redirect' + ordering = ['id', ] filtering = { "id": ALL, "cgi": ALL, @@ -30,6 +32,7 @@ class SuffixResource(ModelResource): queryset = Suffix.objects.all() serializer = api.Serializer() #resource_name = 'suffix' + ordering = ['id', ] filtering = { "id": ALL, "rest": ALL, @@ -45,6 +48,7 @@ class CommandResource(ModelResource): queryset = Command.objects.all() serializer = api.Serializer() #resource_name = 'command' + ordering = ['id', ] filtering = { "id": ALL, "command": ALL, diff --git a/ietf/review/resources.py b/ietf/review/resources.py index a71956784..45599e7b1 100644 --- a/ietf/review/resources.py +++ b/ietf/review/resources.py @@ -1,3 +1,4 @@ +# Copyright The IETF Trust 2016-2019, All Rights Reserved # Autogenerated by the makeresources management command 2016-06-14 04:21 PDT from tastypie.resources import ModelResource from tastypie.fields import ToManyField # pyflakes:ignore @@ -23,6 +24,7 @@ class ReviewerSettingsResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'reviewer' + ordering = ['id', ] filtering = { "id": ALL, "min_interval": ALL, @@ -49,6 +51,7 @@ class ReviewRequestResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'reviewrequest' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -74,6 +77,7 @@ class UnavailablePeriodResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'unavailableperiod' + ordering = ['id', ] filtering = { "id": ALL, "start_date": ALL, @@ -98,6 +102,7 @@ class ReviewWishResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'reviewwish' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -118,6 +123,7 @@ class NextReviewerInTeamResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'nextreviewerinteam' + ordering = ['id', ] filtering = { "id": ALL, "team": ALL_WITH_RELATIONS, @@ -136,6 +142,7 @@ class ReviewSecretarySettingsResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'reviewsecretarysettings' + ordering = ['id', ] filtering = { "id": ALL, "remind_days_before_deadline": ALL, @@ -157,6 +164,7 @@ class ReviewTeamSettingsResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'reviewteamsettings' + ordering = ['id', ] filtering = { "id": ALL, "autosuggest": ALL, @@ -180,6 +188,7 @@ class HistoricalReviewerSettingsResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'historicalreviewersettings' + ordering = ['id', ] filtering = { "id": ALL, "min_interval": ALL, @@ -210,6 +219,7 @@ class ReviewAssignmentResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'reviewassignment' + ordering = ['id', ] filtering = { "id": ALL, "assigned_on": ALL, diff --git a/ietf/stats/resources.py b/ietf/stats/resources.py index ab5f50803..6d7afd9f5 100644 --- a/ietf/stats/resources.py +++ b/ietf/stats/resources.py @@ -1,3 +1,4 @@ +# Copyright The IETF Trust 2017-2019, All Rights Reserved # Autogenerated by the makeresources management command 2017-02-15 10:10 PST from tastypie.resources import ModelResource from tastypie.fields import ToManyField # pyflakes:ignore @@ -18,6 +19,7 @@ class CountryAliasResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'countryalias' + ordering = ['id', ] filtering = { "id": ALL, "alias": ALL, @@ -31,6 +33,7 @@ class AffiliationIgnoredEndingResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'affiliationignoredending' + ordering = ['id', ] filtering = { "id": ALL, "ending": ALL, @@ -43,6 +46,7 @@ class AffiliationAliasResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'affiliationalias' + ordering = ['id', ] filtering = { "id": ALL, "alias": ALL, @@ -56,6 +60,7 @@ class MeetingRegistrationResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'meetingregistration' + ordering = ['id', ] filtering = { "id": ALL, "meeting": ALL_WITH_RELATIONS, diff --git a/ietf/submit/resources.py b/ietf/submit/resources.py index e2ff72f08..66a82cdf8 100644 --- a/ietf/submit/resources.py +++ b/ietf/submit/resources.py @@ -1,3 +1,4 @@ +# Copyright The IETF Trust 2014-2019, All Rights Reserved # Autogenerated by the mkresources management command 2014-11-13 23:53 from ietf.api import ModelResource from tastypie.fields import ToOneField, ToManyField @@ -17,6 +18,7 @@ class PreapprovalResource(ModelResource): queryset = Preapproval.objects.all() serializer = api.Serializer() #resource_name = 'preapproval' + ordering = ['id', ] filtering = { "id": ALL, "name": ALL, @@ -38,6 +40,7 @@ class SubmissionResource(ModelResource): queryset = Submission.objects.all() serializer = api.Serializer() #resource_name = 'submission' + ordering = ['id', ] filtering = { "id": ALL, "remote_ip": ALL, @@ -72,6 +75,7 @@ class SubmissionEventResource(ModelResource): queryset = SubmissionEvent.objects.all() serializer = api.Serializer() #resource_name = 'submissionevent' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -88,6 +92,7 @@ class SubmissionCheckResource(ModelResource): queryset = SubmissionCheck.objects.all() serializer = api.Serializer() #resource_name = 'submissioncheck' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, @@ -116,6 +121,7 @@ class SubmissionEmailEventResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'submissionemailevent' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL, diff --git a/ietf/utils/resources.py b/ietf/utils/resources.py index a35e972f0..c1f115d05 100644 --- a/ietf/utils/resources.py +++ b/ietf/utils/resources.py @@ -1,3 +1,4 @@ +# Copyright The IETF Trust 2014-2019, All Rights Reserved # Autogenerated by the mkresources management command 2014-11-13 05:39 from ietf.api import ModelResource from tastypie.fields import CharField @@ -33,6 +34,7 @@ class DumpInfoResource(ModelResource): queryset = DumpInfo.objects.all() serializer = api.Serializer() #resource_name = 'dumpinfo' + ordering = ['id', ] filtering = { "date": ALL, "host": ALL, @@ -46,6 +48,7 @@ class VersionInfoResource(ModelResource): serializer = api.Serializer() cache = SimpleCache() #resource_name = 'versioninfo' + ordering = ['id', ] filtering = { "id": ALL, "time": ALL,