Re: Named URLs Error

2011-11-24 Thread eeyore
Here is the traceback: http://pastebin.com/AXrfkAiW Matt On Nov 24, 12:07 pm, Tom Evans wrote: > On Thu, Nov 24, 2011 at 4:58 PM, eeyore wrote: > > > Traceback: > > >http://pastebin.com/9nLp4uP5 > > >> Confused, how does creating a new app and importing urls.py from that > >> test the validity

Re: Named URLs Error

2011-11-24 Thread Tom Evans
On Thu, Nov 24, 2011 at 4:58 PM, eeyore wrote: > > Traceback: > > http://pastebin.com/9nLp4uP5 > >> Confused, how does creating a new app and importing urls.py from that >> test the validity of the urls.py in your current app? > > I did this to make sure no other app was causing errors. > > > With

Re: Named URLs Error

2011-11-24 Thread eeyore
Traceback: http://pastebin.com/9nLp4uP5 > Confused, how does creating a new app and importing urls.py from that > test the validity of the urls.py in your current app? I did this to make sure no other app was causing errors. Without starting a new app(!), can you import > from 'products.urls'

Re: Named URLs Error

2011-11-24 Thread Tom Evans
On Thu, Nov 24, 2011 at 3:43 PM, eeyore wrote: > Tom, > > 1) The 'product' directory is not a module itself - it has no > __init__.py > > The 'product' directory has __init.__.py > > 2) You have two modules called 'product', and it is attempting to > import urls from the 'wrong one'. > > I created

Re: Named URLs Error

2011-11-24 Thread eeyore
Tom, 1) The 'product' directory is not a module itself - it has no __init__.py The 'product' directory has __init.__.py 2) You have two modules called 'product', and it is attempting to import urls from the 'wrong one'. I created a new app with only one module to test it. "from product.urls im

Re: Named URLs Error

2011-11-24 Thread Tom Evans
On Thu, Nov 24, 2011 at 5:07 AM, eeyore wrote: > This seems like a very simple problem but I can't figure out why it > doesn't work. > > What I am trying to do is to link to a particular view via a named > url. > > > Error > -

Re: Named URLs Error

2011-11-24 Thread Ivo Brodien
forget my previous post, it is wrong. > /templates/products/index.html > -- > Products > > Error > -- > In template /home/user/app/temp

Re: Named URLs Error

2011-11-24 Thread Ivo Brodien
Not sure but I think you have to put {% load tags %} in your template. On Nov 24, 2011, at 6:07 , eeyore wrote: > This seems like a very simple problem but I can't figure out why it > doesn't work. > > What I am trying to do is to link to a particular view via a named > url. > > > /urls.py >