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
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
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'
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
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
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
> -
forget my previous post, it is wrong.
> /templates/products/index.html
> --
> Products
>
> Error
> --
> In template /home/user/app/temp
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
>
8 matches
Mail list logo