Browse Source

Remove urlpatterns from url file

urlpatterns has been deprecated since Django 1.8 and has been
removed in 1.10 (the current version horizon master is on).
Source: https://docs.djangoproject.com/en/1.10/releases/1.8/#django-conf-urls-patterns

Change-Id: Iaf14e7401908f30093ffc6014f5efe46e525c57f
Amelia Cordwell 1 year ago
parent
commit
c66fdf932d
1 changed files with 2 additions and 4 deletions
  1. 2
    4
      distil_ui/content/billing/urls.py

+ 2
- 4
distil_ui/content/billing/urls.py View File

@@ -12,12 +12,10 @@
12 12
 # See the License for the specific language governing permissions and
13 13
 # limitations under the License.
14 14
 
15
-from django.conf.urls import patterns  # noqa
16 15
 from django.conf.urls import url  # noqa
17 16
 
18 17
 from distil_ui.content.billing import views
19 18
 
20
-urlpatterns = patterns(
21
-    '',
19
+urlpatterns = [
22 20
     url(r'^$', views.IndexView.as_view(), name='index'),
23
-)
21
+]

Loading…
Cancel
Save