Procházet zdrojové kódy

Django example supporting Django 1.9

Ask Solem před 9 roky
rodič
revize
7e3da76e0e
1 změnil soubory, kde provedl 2 přidání a 5 odebrání
  1. 2 5
      examples/django/proj/urls.py

+ 2 - 5
examples/django/proj/urls.py

@@ -1,13 +1,10 @@
-from django.conf.urls import (  # noqa
-    patterns, include, url, handler404, handler500,
-)
+from django.conf.urls import include, url, handler404, handler500  # noqa
 
 # Uncomment the next two lines to enable the admin:
 # from django.contrib import admin
 # admin.autodiscover()
 
-urlpatterns = patterns(
-    '',
+urlpatterns = (
     # Examples:
     # url(r'^$', 'proj.views.home', name='home'),
     # url(r'^proj/', include('proj.foo.urls')),