1👍
You need to include your api urls like this:
urlpatterns = patterns(''`,
(r'^api/', include(v1_api.urls)),
)
Make sure that you’ve set your resource name:
class ApiActionsResource(Resource):
class Meta:
resource_name = 'action_type'
After that, you can access any resourse in a rest way, using the resource name.
In your case that would be: '/api/v1/action_type/1'
It’s all explained under http://django-tastypie.readthedocs.org/en/latest/interacting.html.
Source:stackexchange.com