Skip to content

Commit a9b91de

Browse files
committed
Added a file which was missed in the 5.8.0 release.
- Legacy-Id: 8759
1 parent f403aa9 commit a9b91de

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

ietf/utils/resources.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
username = CharField()
15+
class Meta:
16+
queryset = ContentType.objects.all()
17+
18+

0 commit comments

Comments
 (0)