I have a problem trying to setup django project:
from django.conf.urls import patterns, include, url
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
url(r'^admin/', include(webshop.admin.site.urls)),
url(r'^about/', include(webshop.views.about)),
url(r'^products/', include(webshop.views.available_products)),
url(r'^products/(\d+)/', include(webshop.views.productview)),
and I get the next error:
Exception Type: NameError
Exception Value:
name 'webshop' is not defined
Exception Location: /home/Python/myProject/myProject/urls.py in <module>, line 11
UPDATE: Thanks, it was nub, mistake.
Now, I'm getting this error:
Exception Value:
No module named about
Thanks for help, it my first time using django