We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f403aa9 commit a9b91deCopy full SHA for a9b91de
ietf/utils/resources.py
@@ -0,0 +1,18 @@
1
+# Autogenerated by the mkresources management command 2014-11-13 05:39
2
+from tastypie.resources import ModelResource
3
+from tastypie.fields import CharField
4
+
5
+from django.contrib.auth.models import User
6
+from django.contrib.contenttypes.models import ContentType
7
8
+class UserResource(ModelResource):
9
+ username = CharField()
10
+ class Meta:
11
+ queryset = User.objects.all()
12
13
+class ContentTypeResource(ModelResource):
14
15
16
+ queryset = ContentType.objects.all()
17
18
0 commit comments