Tivix / django-rest-auth

This app makes it extremely easy to build Django powered SPA's (Single Page App) or Mobile apps exposing all registration and authentication related functionality as CBV's (Class Base View) and REST (JSON)
www.tivix.com
MIT License
2.41k stars 661 forks source link

Replace deprecated url method #629

Open Naartti opened 4 years ago

Naartti commented 4 years ago

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 commented 3 years ago

This should be merged

Cactus35 commented 2 years ago

Hop it too