I'm trying to use this module in Django 2.0, Python 3.6 and getting the following error:
ModuleNotFoundError: No module named 'django.core.urlresolvers'
Traceback points to following string:
from crudbuilder import urls
Django-crudbuilder version is 0.2.6 from PyPI.
UPD:
I've installed version from git and got another error:
TypeError: view must be a callable or a list/tuple in the case of include().
to code:
path('crud/', urls),
UPD2:
I've rewrite my code to old-style django urls:
url('crud/', include(urls))
and now it works fine. It's anough for me, but i think you should make your code compatible with new-style urls too.
I'm trying to use this module in Django 2.0, Python 3.6 and getting the following error:
ModuleNotFoundError: No module named 'django.core.urlresolvers'
Traceback points to following string:Django-crudbuilder version is 0.2.6 from PyPI.
UPD: I've installed version from git and got another error:
TypeError: view must be a callable or a list/tuple in the case of include().
to code:UPD2: I've rewrite my code to old-style django urls:
and now it works fine. It's anough for me, but i think you should make your code compatible with new-style urls too.