master
Nick Sergeant 2012-02-20 23:04:49 -05:00
parent 5d0ab55831
commit 74e716be14
1 changed files with 2 additions and 0 deletions

View File

@ -60,6 +60,7 @@ class PublicSniptResource(ModelResource):
allowed_methods = ['get']
filtering = { 'user': 'exact', }
ordering = ['created', 'modified',]
max_limit = 200
cache = SimpleCache()
def dehydrate(self, bundle):
@ -139,6 +140,7 @@ class PrivateSniptResource(ModelResource):
authentication = ApiKeyAuthentication()
authorization = DjangoAuthorization()
ordering = ['created', 'modified',]
max_limit = 200
cache = SimpleCache()
def dehydrate(self, bundle):