Change django.conf.urls.defaults -> django.conf.urls (djblets)
Review Request #4570 — Created Sept. 15, 2013 and submitted
Change django.conf.urls.defaults -> django.conf.urls (djblets)
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
- Used in conjunction with review board
Description | From | Last Updated | ||
---|---|---|---|---|
'handler500' imported but unused |
![]() |
|||
'handler404' imported but unused |
![]() |
|||
'handler500' imported but unused |
![]() |
|||
These are needed. Django will try to import the handler404 and handler500 from this (since it's the root URL processor) … |
|
|||
There are no open issues |

-
This is a review from Review Bot.
Tool: Pyflakes
Processed Files:
djblets/extensions/urls.py
djblets/util/misc.py
djblets/webapi/resources.py
djblets/testing/urls.py
djblets/util/rooturl.py
djblets/extensions/tests.py
djblets/extensions/test/urls.py
djblets/extensions/base.py
djblets/extensions/resources.py
djblets/feedview/test_urls.py
djblets/log/urls.py
Ignored Files: -
-
-

-
This is a review from Review Bot.
Tool: PEP8 Style Checker
Processed Files:
djblets/extensions/urls.py
djblets/util/misc.py
djblets/webapi/resources.py
djblets/testing/urls.py
djblets/util/rooturl.py
djblets/extensions/tests.py
djblets/extensions/test/urls.py
djblets/extensions/base.py
djblets/extensions/resources.py
djblets/feedview/test_urls.py
djblets/log/urls.py
Ignored Files:

-
This is a review from Review Bot.
Tool: Pyflakes
Processed Files:
djblets/extensions/urls.py
djblets/util/misc.py
djblets/webapi/resources.py
djblets/testing/urls.py
djblets/util/rooturl.py
djblets/extensions/tests.py
djblets/extensions/test/urls.py
djblets/extensions/base.py
djblets/extensions/resources.py
djblets/feedview/test_urls.py
djblets/log/urls.py
Ignored Files: