from django.conf.urls import url
from . import views           # This line is new!

urlpatterns = [
    url(r'^$', views.index, name='index'),     # This line has changed!
    url(r'^new$', views.new, name='new')
]
