ad-freiburg/qlever-ui

django 4 incompatibility

WolfgangFahl opened this issue · 2 comments

To work around #38 i am trying to do the installation steps as per the documentation

python3 manage.py makemigrations —-merge && python manage.py migrate

which leads to
ImportError: cannot import name 'url' from 'django.conf.urls' (/home/wf/.local/lib/python3.8/site-packages/django/conf/urls/init.py)

see https://stackoverflow.com/questions/70319606/importerror-cannot-import-name-url-from-django-conf-urls-after-upgrading-to

requirements.txt is obviously not specific enough to make sure the documentation instructions still work:

django
requests
django-import-export

django~=3.2.12
seems to work around this issue see https://docs.djangoproject.com/en/4.0/releases

Was already fixed by ea63c57 long ago and #79 now makes sure that this cannot happen again.