blog_post in public snipt resources.

master
Nick Sergeant 2014-11-23 15:55:59 -05:00
parent 4a0a31b199
commit 17820f1a78
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ class PublicSniptResource(ModelResource):
'stylized', 'created', 'modified', 'publish_date', 'blog_post']
include_absolute_url = True
allowed_methods = ['get']
filtering = { 'user': 'exact', }
filtering = { 'user': 'exact', 'blog_post': 'exact' }
ordering = ['created', 'modified',]
max_limit = 200
cache = SimpleCache()