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 importin

Re: Named URLs Error

2011-11-24 Thread eeyore
;products.urls' successfully? Yes On Nov 24, 11:45 am, Tom Evans wrote: > 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'

Re: Named URLs Error

2011-11-24 Thread eeyore
e module to test it. "from product.urls import urlpatterns" Returns no errors. Matt On Nov 24, 7:46 am, Tom Evans wrote: > 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 wor

Named URLs Error

2011-11-23 Thread eeyore
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 -- urlpatterns = patterns('', (r'^products/', inc

Template Inheritance - best solution

2009-08-28 Thread eeyore
I am working on an app that currently has two main base templates. What I would like to do is to avoid having multiple base templates and having duplicated code withing my templates. For example I might have navigation include in the base template, but on the login screen there is no navigation