wq / django-data-wizard

🧙⚙️ Import structured data (e.g. Excel, CSV, XML, JSON) into one or more Django models via an interactive web-based wizard
https://django-data-wizard.wq.io
MIT License
338 stars 53 forks source link

TypeError at /datawizard/ #13

Closed mureiken closed 5 years ago

mureiken commented 6 years ago

Hi,

I am trying to import an XML file.

I am getting this error

Request Method: | POST Request URL: | http://127.0.0.1:8000/datawizard/ Django Version: | 2.0.6 Exception Type: | TypeError Exception Value: | int() argument must be a string, a bytes-like object or a number, not 'ContentType' Exception Location: | /Applications/Django/venv/lib/python3.6/site-packages/django/db/models/fields/init.py in get_prep_value, line 947 Python Executable: | /Applications/Django/venv/bin/python Python Version: | 3.6.4 ..... ..... Error during template rendering In template /Applications/Django/myvenv3/lib/python3.6/site-packages/rest_framework/templates/rest_framework/horizontal/select.html, error at line 15

`