File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Autogenerated by the mkresources management command 2014-11-13 05:39
22from tastypie .resources import ModelResource
33from tastypie .fields import CharField
4+ from tastypie .constants import ALL
45
56from django .contrib .auth .models import User
67from django .contrib .contenttypes .models import ContentType
78
89from ietf import api
10+ from ietf .utils .models import DumpInfo
911
1012class UserResource (ModelResource ):
1113 username = CharField ()
@@ -19,16 +21,12 @@ class Meta:
1921 queryset = ContentType .objects .all ()
2022 serializer = api .Serializer ()
2123
22-
23-
24-
2524class 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 }
You can’t perform that action at this time.
0 commit comments