joshourisman / django-tablib

django-tablib is a helper library for Django that allows Django models to be used to generate tablib datasets with introspection of the fields on the models if no headers are provided. If headers are provided they can reference any attribute, fields, properties, or methods on the model.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

does django-tablib works in django1.6?

ximutou123 opened this issue · comments

I use the source django-tablib 3.0.2.tar.gz
and then
python setup.py install
It show an error
SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/site-packages/django_tablib/models.py', 80, 41, ' self.fields = {field: Field() for field in included}\n'))

Django 1.6 is fine, Python 2.6 currently not. This is already reported here: #37