  from djangorestframework.response import Response
  from djangorestframework.resource import Resource
  from djangorestframework.modelresource import ModelResource, RootModelResource
  from djangorestframework import status
  
  from blogpost import models
  
  BLOG_POST_FIELDS = ('created', 'title', 'slug', 'content', 'absolute_url', 'comment_url', 'comments_url')
  COMMENT_FIELDS = ('username', 'comment', 'created', 'rating', 'absolute_url', 'blogpost_url')
 
</s> remove 
 </s> add MAX_POSTS = 10 </s> remove from djangorestframework.response import Response
from djangorestframework.resource import Resource
 </s> add  </s> remove import os, tempfile, shutil, time, json
 </s> add import tempfile, shutil, json

  from djangorestframework.response import Response
  from djangorestframework.resource import Resource
  from djangorestframework.modelresource import ModelResource, RootModelResource

  
  from blogpost import models
  
  BLOG_POST_FIELDS = ('created', 'title', 'slug', 'content', 'absolute_url', 'comment_url', 'comments_url')
  COMMENT_FIELDS = ('username', 'comment', 'created', 'rating', 'absolute_url', 'blogpost_url')
keep keep keep replace keep keep keep keep keep
 Refactoring and added another test for blog-posts. Finally got eclipse setup properly with virtualenvs (code analysis). Also I think  I get Bitbuckets workflow now. 
examples/blogpost/views.py