I want to do sample application with Tastypie framework.
I added Tastypie to Installed app and modified urls.py
as required, adding from tastypie.api import Api
. But when I open http://localhost:8000/api/v1/?format=json
, I get the following exception:
Exception Value: No module named constants
When I run:
pip install constants
everything looks ok.
Python 2.6 (and try on 2.7)
Django 1.4
Tastypie 0.10.0