4

I've been going through the django excel documentation using Django 1.8, but haven't been able to get save_book_to_database(...) to work.

It either fails silently or gives the following error:

'tuple' object has no attribute '_meta'

I have followed the syntax from the docs, but I have no idea why it keeps breaking or failing silently: http://django-excel.readthedocs.io/en/latest/

John Smith
  • 843
  • 2
  • 9
  • 21
  • have you checked this? https://github.com/pyexcel/django-excel/issues/30 – HassenPy Feb 10 '17 at 23:57
  • Yes, the "new" syntax mentioned in the post fails silently and the syntax in the latest docs returns the `'tuple' object has no attribute '_meta'` error – John Smith Feb 11 '17 at 00:25
  • i think you should open an issue there – HassenPy Feb 11 '17 at 10:16
  • _meta is used [here, at pyexcel-io](https://github.com/pyexcel/pyexcel-io/blob/master/pyexcel_io/database/django.py#L33). Are you using django-excel with other django extensions, which might modify django models? – chfw Mar 01 '17 at 13:37

0 Answers0