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

Remove providing_args from signals to make work with django >=4 #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Awmusic12635
Copy link

No description provided.

@dhiashalabi
Copy link

To make it fully migrated with Django>=4.x, you should also update urls.py file.

Code contains a problem.

from django.conf.urls import url
...
    url(r'reactivate/(?P<user_id>\d+)[/]?$', reactivate_user, name="reactivate_user"),
]

Code fix.

from django.urls import re_path
...
    re_path(r'reactivate/(?P<user_id>\d+)[/]?$', reactivate_user, name="reactivate_user"),
]

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