Added a file which was missed in the 5.8.0 release.
- Legacy-Id: 8759
This commit is contained in:
parent
f403aa9886
commit
a9b91deead
18
ietf/utils/resources.py
Normal file
18
ietf/utils/resources.py
Normal file
|
@ -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()
|
||||
|
||||
|
Loading…
Reference in a new issue