Django 1.5 changed the url tag slightly such that we need to put quotes around namespaced urls.
Removed view from context before rendering to json.
With Django 1.5.1 and tastypie 0.9.14, the tastypie_swagger.views.ResourceView object is in the context and can't be json serialized.
Merge pull request #24 from algrs/master

Fix for django 1.5 and tastypie 0.9.14