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

update modelclone with django 4.0 compatible #46

Open
Subhrans opened this issue Feb 1, 2022 · 1 comment
Open

update modelclone with django 4.0 compatible #46

Subhrans opened this issue Feb 1, 2022 · 1 comment

Comments

@Subhrans
Copy link

Subhrans commented Feb 1, 2022

In django 4.0 some functions has been removed permanently. One of the major function is removed that must effect in this package (django-modelclone). that function is URL which was present in from django.conf.urls import url.

Here my suggestion is to replace url() with re_path() function.
re_path present in from django.urls import re_path

@gregorybrooks
Copy link

I am hitting this problem as well. Do you plan to get modelclone working with Django 4?

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