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

Replace deprecated url method #629

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

Conversation

Naartti
Copy link

@Naartti Naartti commented Oct 15, 2020

When running on latest Django, there is a warning message:

/usr/local/lib/python3.9/site-packages/rest_auth/urls.py:18: RemovedInDjango40Warning: django.conf.urls.url() is deprecated in favor of django.urls.re_path()

This PR fixes that by changing url to re_path, as suggested in the warning.

When running on latest Django, there is a warning message:
```
/usr/local/lib/python3.9/site-packages/rest_auth/urls.py:18: RemovedInDjango40Warning: django.conf.urls.url() is deprecated in favor of django.urls.re_path()
```

This PR fixes that by changing url to re_path, as suggested in the warning.
@hubertokf
Copy link

This should be merged

@Cactus35
Copy link

Hop it too

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.

None yet

3 participants