I'm trying to install tastypie for Django. I also have South installed. But when I migrate I get some weird type error.
./manage.py migrate tastypie
Running migrations for tastypie:
- Migrating forwards to 0002_add_apikey_index.
> tastypie:0001_initial
TypeError: type() argument 1 must be string, not unicode
I looked into the migration 0002 and type isn't even being called!
It's a bug in the latest version (0.10.0
). A bug report has been submitted. https://github.com/toastdriven/django-tastypie/issues/1005.
You can fix it by installing a previous version:
pip install django-tastypie==0.9.16