Re: Decouple URLs and get_absolute_url issue

2009-07-17 Thread grant neale
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

Decouple URLs and get_absolute_url issue

2009-07-17 Thread grant neale
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