Re: NoReverseMatch question

2008-11-21 Thread goblue0311
ok, the view function I'm using appears to be importable - because if I remove the line "print item.get_absolute_url()", the view function is called appropriately, with the odd exception that all instances where the template is calling "get_absolute_url( )" are resolving to the same page. A clue

Re: NoReverseMatch question

2008-11-21 Thread Jarek Zgoda
Wiadomość napisana w dniu 2008-11-21, o godz. 15:40, przez goblue0311: > Thanks for the suggestion! > > This code came from the basicApps collection, so I'm not sure why > they're using a Word regex to match the day, I'm going to try changing > that to Digit. > > However, I did remove the undersc

Re: NoReverseMatch question

2008-11-21 Thread goblue0311
good call - I repeated my concern below before I saw your response, so please disregard. On Nov 21, 9:35 am, Jarek Zgoda <[EMAIL PROTECTED]> wrote: > Wiadomość napisana w dniu 2008-11-21, o godz. 15:22, przez goblue0311: > > > Another note if interest is that the error message is citing the > > k

Re: NoReverseMatch question

2008-11-21 Thread goblue0311
Thanks for the suggestion! This code came from the basicApps collection, so I'm not sure why they're using a Word regex to match the day, I'm going to try changing that to Digit. However, I did remove the underscore from my slug, so now it's just 'secondPost', and I get the same error. I also tr

Re: NoReverseMatch question

2008-11-21 Thread Jarek Zgoda
Wiadomość napisana w dniu 2008-11-21, o godz. 15:22, przez goblue0311: > Another note if interest is that the error message is citing the > keyword arguments in the order year, slug, day, and month. However, > get_absoloute_url and the urls.py function use year, month, day, and > slug. Maybe I ha

Re: NoReverseMatch question

2008-11-21 Thread Alex Koshelev
You have an underscore in slug - "second_post" but your regex doesn't allow it - "[-\w]+". I think it is the problem. And why you did you choose "\w" for day? On Fri, Nov 21, 2008 at 17:16, goblue0311 <[EMAIL PROTECTED]> wrote: > > Hi all: > > I'm receiving this error: > > #*

Re: NoReverseMatch question

2008-11-21 Thread goblue0311
Another note if interest is that the error message is citing the keyword arguments in the order year, slug, day, and month. However, get_absoloute_url and the urls.py function use year, month, day, and slug. Maybe I have some outdated code here, but where would it reside? --~--~-~--~~-