Skip to content

Commit cc84668

Browse files
committed
Updated utils resources.py
- Legacy-Id: 10489
1 parent 1759f1b commit cc84668

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

ietf/utils/resources.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# Autogenerated by the mkresources management command 2014-11-13 05:39
22
from tastypie.resources import ModelResource
33
from tastypie.fields import CharField
4+
from tastypie.constants import ALL
45

56
from django.contrib.auth.models import User
67
from django.contrib.contenttypes.models import ContentType
78

89
from ietf import api
10+
from ietf.utils.models import DumpInfo
911

1012
class UserResource(ModelResource):
1113
username = CharField()
@@ -19,16 +21,12 @@ class Meta:
1921
queryset = ContentType.objects.all()
2022
serializer = api.Serializer()
2123

22-
23-
24-
2524
class DumpInfoResource(ModelResource):
2625
class Meta:
2726
queryset = DumpInfo.objects.all()
2827
serializer = api.Serializer()
2928
#resource_name = 'dumpinfo'
3029
filtering = {
31-
"id": ALL,
3230
"date": ALL,
3331
"host": ALL,
3432
}

0 commit comments

Comments
 (0)