Answering myself.

I knew it was something pathetic and I found it:

This is what I was doing wrong
        (r'^weblog/'$, include('coltrane.urls.entries')),

This is what I should have been doing right
        (r'^weblog/', include('coltrane.urls.entries')),

The dollar sign cuts of anything that I was including in the "entries"  
file.

Hope that may help some other bast....d like me.

Grant


On 17 Jul 2009, at 11:13, grant neale wrote:

>
> Hi,
>
> I'm going through James Bennet's Practical Django projects.
>
> When I de-couple the urls to "urls folder" + "url category"  I
> get_absolute_url doesn't work.
> If I put the urls back into the main urls.py file get_absolute_urls
> works again.
>
> I must be missing something very basic, but I'm pretty much stuck.
>
> Thoughts............ ?
>
> Grant
>
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
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 email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to