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
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
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
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
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
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:
>
> #*
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?
--~--~-~--~~-
7 matches
Mail list logo