[Python-modules-commits] [django-celery] 01/05: django-1.10 fix import error
Thomas Goirand
zigo at moszumanska.debian.org
Tue Aug 2 22:34:02 UTC 2016
This is an automated email from the git hooks/post-receive script.
zigo pushed a commit to branch master
in repository django-celery.
commit b5675921b1452d1da6091d0a47d1c369dd72946e
Author: Thomas Goirand <zigo at debian.org>
Date: Tue Aug 2 22:22:25 2016 +0000
django-1.10 fix import error
---
tests/urls.py | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/tests/urls.py b/tests/urls.py
index 9d72f70..a236dea 100644
--- a/tests/urls.py
+++ b/tests/urls.py
@@ -1,9 +1,4 @@
-try:
- from django.conf.urls import (patterns, include, url,
- handler500, handler404)
-except ImportError:
- from django.conf.urls.defaults import (patterns, include, url, # noqa
- handler500, handler404)
+from django.conf.urls import (patterns, include, url, handler500, handler404)
from djcelery.views import apply
# Uncomment the next two lines to enable the admin:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/django-celery.git
More information about the Python-modules-commits
mailing list