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

Unable to run in Django 4.x #7

Open
jensenbox opened this issue May 4, 2022 · 0 comments
Open

Unable to run in Django 4.x #7

jensenbox opened this issue May 4, 2022 · 0 comments

Comments

@jensenbox
Copy link

The package is not compatible with Django 4

Expected Behavior

Able to run in Django 4

Current Behavior

ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/local/lib/python3.10/site-packages/django/conf/urls/init.py)

Possible Solution

Seems like this is a pretty easy solve - the new thing to use is re_path - https://docs.djangoproject.com/en/4.0/ref/urls/#re-path

Steps to Reproduce

Context (Environment)

Detailed Description

Possible Implementation

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

1 participant