diff --git a/webshell/urls.py b/webshell/urls.py index 64979f3..b0d6b44 100644 --- a/webshell/urls.py +++ b/webshell/urls.py @@ -1,6 +1,6 @@ -from django.conf.urls import patterns, url +from django.conf.urls import url from .views import execute_script_view -urlpatterns = patterns('', - url(r'^execute/$', execute_script_view, name='execute-script'), -) +urlpatterns = [ + url(r'^execute/$', execute_script_view, name='execute'), +]