pivotal-energy-solutions / django-datatable-view

Server-side datatable representations for Django querysets for automatic rendering in templates
Apache License 2.0
347 stars 141 forks source link

ImportError: cannot import name 'get_datatable_structure' (django 3.1.3) #248

Open DonatoTotalSim opened 4 years ago

DonatoTotalSim commented 4 years ago

The following import:

from datatableview.utils import get_datatable_structure

give an error on django 3.1.3

ImportError: cannot import name 'get_datatable_structure'

rh0dium commented 3 years ago

Still an issue? This is working for us on 3.2

antarcticrainforest commented 3 years ago

I am facing the same issue with django-datatable-view version 2.1.5

django.__version__
'3.2.2'
from datatableview.utils import get_datatable_structure
ImportError: cannot import name 'get_datatable_structure' from 'datatableview.utils' 

Currently I am trying to migrate a website that was setup with Django 1.9 to Django 3.X . Could it be that something not quite right configured on the Django settings side?

@maheshguru