• 
      

    Update all urlpatterns to be compatible with modern Django.

    Review Request #8679 — Created Jan. 29, 2017 and submitted — Latest diff uploaded

    Information

    Djblets
    release-0.10.x
    6496987...

    Reviewers

    Older versions of Django (including 1.6) provided a patterns() method
    to normalize a list of URL patterns, which included url() entries
    and tuples. Modern versions simplify all this, requiring the use of
    url(), and removed patterns().

    This change updates all URL patterns in Djblets to use url() and lists,
    providing compatibility with Django 1.6 and higher.

    Unit tests pass under Django 1.6. URL-related operations are no longer
    failing under Django 1.10 (at least with the tests I've been able to run
    so far).