Commits

alex koval committed a50bead

deprecation warning for django.conf.urls.defaults

  • Participants
  • Parent commits b98752f

Comments (0)

Files changed (2)

yasnippets/python-mode/urlspy

 #name : urls.py (standard)
 # --
-from django.conf.urls.defaults import patterns, url, include
+from django.conf.urls import patterns, url, include
 from django.contrib import admin
 
 admin.autodiscover()

yasnippets/python-mode/urlspy.1

 #name : urls.py with handlers
 # --
-from django.conf.urls.defaults import patterns, url, include, handler404, handler500
+from django.conf.urls import patterns, url, include, handler404, handler500
 from django.contrib import admin
 
 admin.autodiscover()