Re: Django Tutorial Part 3 Decoupling the URLconfs

2012-02-06 Thread Thorsten Sanders
You are using the tutorial of the development version which is 1.4 alpha, but using yourself version 1.3.1, so you need to use django.conf.urls.defaults instead of django.conf.urls Better use the 1.3 tutorial instead of the development one to not run into such troubles. Am 06.02.2012 23:23,

Re: Django Tutorial Part 3 Decoupling the URLconfs

2012-02-06 Thread John Paton
Thanks for the help. Here's what it says: from django.conf.urls import patterns, include, url and then it says unresolved import: url, include, patterns. Can you tell me what is going wrong here. Thanks! On Feb 6, 12:02 pm, Pavlo Kapyshin wrote: > As this exception says, you have an error o

Re: Django Tutorial Part 3 Decoupling the URLconfs

2012-02-06 Thread Pavlo Kapyshin
As this exception says, you have an error on first line of urls.py. Double-check that line. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send

Django Tutorial Part 3 Decoupling the URLconfs

2012-02-06 Thread John Paton
Hi, I have just tried to decouple my polls urls. Everything was working before but when I now go to mysite I get the following error message. Do you have any idea how I could fix this? Thanks for the help! ImportError at / cannot import name patterns Request Method: GET Request URL:http://127