djoser icon indicating copy to clipboard operation
djoser copied to clipboard

Update authentication_backends.rst to use the recent path() method, i…

Open obamwonyi opened this issue 2 years ago • 0 comments

…nstead of the url() method

The url() method is no longer common, as a junior dev in python and django i was surprised to see the use of url() for declaring djoser path as I am more familiar with the path(). The some study on which is most common and realised that of path is more up to date and should also be more frequent this days, so I felt it would be great if djoser docks is updated to use the most recent path() instead as it eliminates the regex start flage (^) and the use of raw string , which looks a bit more complex to a rookie like myself.

obamwonyi avatar Feb 08 '24 21:02 obamwonyi