Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

django 4 incompatibility #42

Closed
WolfgangFahl opened this issue Feb 12, 2022 · 2 comments
Closed

django 4 incompatibility #42

WolfgangFahl opened this issue Feb 12, 2022 · 2 comments

Comments

@WolfgangFahl
Copy link

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
@WolfgangFahl
Copy link
Author

WolfgangFahl commented Feb 12, 2022

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

hannahbast pushed a commit that referenced this issue Feb 20, 2024
#79)

- Pin the requirements. This prevents issues like #42 from happening in the future.
- Use the fully qualified name of the container registry.
- Add labels according to the [OCI Annotation format](https://github.com/opencontainers/image-spec/blob/main/annotations.md).
- Replace a usage of port 8000 with 7000.
@hannahbast
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants