Commits

Anonymous committed 7ef1bad

made the tests working with django < 1.4

Comments (0)

Files changed (1)

-from django.conf.urls import patterns, include, url
-
+from django import VERSION
+if VERSION[1] < 3:
+    from django.conf.urls.defaults import patterns, include, url 
+else:
+    from django.conf.urls import patterns, include, url
 # Uncomment the next two lines to enable the admin:
 # from django.contrib import admin
 # admin.autodiscover()