Hi Tim,
I've taken a look at this one:
https://github.com/django/django/pull/9072
- Simplified URL routing syntax. (docs)
Seems good to me (there are some indentation changes, like in docs/ref/contrib/sitemaps.txt
that are not systematic in the urlpatterns,
but I don't know if it's important).
I would just have added something in docs/releases/2.0.txt to tell that previous behaviour (with url()) has been moved to django.urls.re_path(). If I understood it well at least... There might be cases where the new syntax won't be sufficient (or at least I believe so, like in urls like /ab/cd/abcdefghi for example), and pushing upgraders to start using re_match directly instead of url() might be a good idea, IMHO. Does it make sense or did I miss something?
-
Brice
--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/d7b7a5bd-26ad-4763-9da4-22c477b2ac1c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.