Jump snipts limit back to 200.
parent
5467ccbd5f
commit
5d8a5ab07a
|
@ -234,7 +234,7 @@ class PublicSniptResource(ModelResource):
|
||||||
allowed_methods = ['get']
|
allowed_methods = ['get']
|
||||||
filtering = {'user': 'exact', 'blog_post': 'exact'}
|
filtering = {'user': 'exact', 'blog_post': 'exact'}
|
||||||
ordering = ['created', 'modified']
|
ordering = ['created', 'modified']
|
||||||
max_limit = 20
|
max_limit = 200
|
||||||
cache = SimpleCache()
|
cache = SimpleCache()
|
||||||
|
|
||||||
def dehydrate(self, bundle):
|
def dehydrate(self, bundle):
|
||||||
|
@ -362,7 +362,7 @@ class PrivateSniptResource(ModelResource):
|
||||||
validation = SniptValidation()
|
validation = SniptValidation()
|
||||||
ordering = ['created', 'modified']
|
ordering = ['created', 'modified']
|
||||||
always_return_data = True
|
always_return_data = True
|
||||||
max_limit = 20
|
max_limit = 200
|
||||||
cache = SimpleCache()
|
cache = SimpleCache()
|
||||||
|
|
||||||
def dehydrate(self, bundle):
|
def dehydrate(self, bundle):
|
||||||
|
|
Loading…
Reference in New Issue