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