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

Updating urls.py to be Django 2.0 through 4.0 compatibile #100

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Updating urls.py to be Django 2.0 through 4.0 compatibile #100

wants to merge 2 commits into from

Conversation

StevenMapes
Copy link

Django 2.0 introduced the new django.urls.re_path function for url dispatching to replace the old django.conf.urls.url function. The urls.py file within django-froala-editor was last updated to Django 1.9 which is dead and django.conf.urls.url will be removed in Django 4.0 therefore updating now will support not only the current LTS release of 2.2 but both the soon-to-be released 3.2 LTS release as well as Django 4.0

The urls.py file was still using the pre Django 2.0 url function rather than re_path. re_path became the new standard in 2.0 and the old url() method will be removed in Django 4.0 so it may as well be removed now to allow this package to keep working
Updated to be Django 2.0 through 4.0 compatible
@the4thv
Copy link

the4thv commented Jul 14, 2021

Any news on this one?

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

Successfully merging this pull request may close these issues.

2 participants