diff --git a/ietf/doc/resources.py b/ietf/doc/resources.py index 18991c0c6..cb6a096f8 100644 --- a/ietf/doc/resources.py +++ b/ietf/doc/resources.py @@ -1,3 +1,5 @@ +# Copyright The IETF Trust 2014-2019, All Rights Reserved +# -*- coding: utf-8 -*- # Autogenerated by the makeresources management command 2015-10-19 12:29 PDT from ietf.api import ModelResource from ietf.api import ToOneField @@ -105,6 +107,7 @@ class DocumentResource(ModelResource): cache = SimpleCache() queryset = Document.objects.all() serializer = api.Serializer() + detail_uri_name = 'name' #resource_name = 'document' filtering = { "time": ALL, @@ -275,6 +278,7 @@ class DocAliasResource(ModelResource): cache = SimpleCache() queryset = DocAlias.objects.all() serializer = api.Serializer() + detail_uri_name = 'name' #resource_name = 'docalias' filtering = { "name": ALL,