Change django.conf.urls.defaults -> django.conf.urls

Review Request #4566 — Created Sept. 13, 2013 and submitted

Information

Review Board
master

Reviewers

Change django.conf.urls.defaults -> django.conf.urls

Django 1.4 changed the namespace for 'patterns' and 'url' from
django.conf.urls.defaults to django.conf.urls. This was listed in the
deprecation notes, but we never updated it because 1.4 maintained
compatibility. 1.5 got rid of the compatibility shim, so we need to actually
update now.

Ran unit tests

reviewbot
  1. This is a review from Review Bot.
    Tool: PEP8 Style Checker
    Processed Files:
    reviewboard/admin/urls.py
    reviewboard/accounts/urls.py
    reviewboard/reviews/urls.py
    reviewboard/urls.py
    Ignored Files:

  2. 
      
reviewbot
  1. This is a review from Review Bot.
    Tool: Pyflakes
    Processed Files:
    reviewboard/admin/urls.py
    reviewboard/accounts/urls.py
    reviewboard/reviews/urls.py
    reviewboard/urls.py
    Ignored Files:

  2. 
      
chipx86
  1. Ship It!

  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (9e79ab2).

Loading...