I am very new, and I am doing a tutorial, that is a little bit old. I keep getting an error that this cannot import name 'patterns' then something about include, then syntax and so on. So what is wrong this section? How would I write it current day? Thank you for your time.
from django.conf.urls import patterns, include, url
from django.contrib import admin
from djangonote.views import home_view
urlpatterns = patterns('',
url(r'^$', home_view, name='home'),
url(r'^notes/', include('notes.urls', namespace='notes')),
)
The reply below fixed that issue, thank you Exprator! I now get the issue: NameError: name 'notes' is not defined. What does that mean? Ty for your time.