The Python Oracle

Is it better to use path() or url() in urls.py for django 2.0?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Ominous Technology Looping

--

Chapters
00:00 Question
01:25 Accepted answer (Score 212)
02:05 Answer 2 (Score 93)
02:59 Answer 3 (Score 21)
03:29 Answer 4 (Score 10)
03:57 Thank you

--

Full question
https://stackoverflow.com/questions/4794...

Accepted answer links:
[url]: https://docs.djangoproject.com/en/3.0/re...
[path]: https://docs.djangoproject.com/en/3.0/re...
[re_path]: https://docs.djangoproject.com/en/3.0/re...

Answer 2 links:
[django.urls.path()]: https://docs.djangoproject.com/en/2.0/re...
[django.urls.re_path()]: https://docs.djangoproject.com/en/2.0/re...
[django doc]: https://docs.djangoproject.com/en/2.0/re...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #django #djangourls

#avk47