From a9b91deeadceee1d88d2d42edda2f43ba4ebf755 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Thu, 18 Dec 2014 18:37:53 +0000 Subject: [PATCH] Added a file which was missed in the 5.8.0 release. - Legacy-Id: 8759 --- ietf/utils/resources.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ietf/utils/resources.py diff --git a/ietf/utils/resources.py b/ietf/utils/resources.py new file mode 100644 index 000000000..d24ee109b --- /dev/null +++ b/ietf/utils/resources.py @@ -0,0 +1,18 @@ +# Autogenerated by the mkresources management command 2014-11-13 05:39 +from tastypie.resources import ModelResource +from tastypie.fields import CharField + +from django.contrib.auth.models import User +from django.contrib.contenttypes.models import ContentType + +class UserResource(ModelResource): + username = CharField() + class Meta: + queryset = User.objects.all() + +class ContentTypeResource(ModelResource): + username = CharField() + class Meta: + queryset = ContentType.objects.all() + + \ No newline at end of file