On Sat, Apr 18, 2009 at 2:34 PM, Aaron <[email protected]> wrote:
>
> Hi, I get this annoying error.
>
> Here is the error:
>
> <class 'django.template.TemplateSyntaxError'>: Caught an exception
> while rendering: Reverse for 'settings.contact-consultation-request'
> with arguments '()' and keyword arguments '{}' not found.
[snipped remainder]
>
> I don't have a clue why I am getting this. And no I didn't name the
> url: 'settings.contact-consultation-request
>
>
> I named the url : 'contact-consultation-request"
>
Ignore the 'settings.' part of the message, that's a red herring. I haven't
looked at this in detail but I believe what happens is when an reversal
fails the code re-tries the reversal using a project prefix, when that fails
the error is reported. However the error message resulting from the re-try
with the project prefix confuses people so it looks like #10599 fixed that
to re-raise the original NoReverseMatch exception to avoid confusion.
However you won't have that fix since it was just made recently and you
appear to be running 1.0.2.
So just ignore the 'settings.' part of the message and fix the original
problem: contact-consultation-request has no reverse match with arguments
'()' and keyword arguments '{}' . If you want help fixing that you'll have
to post more information, such as your urls where you think this url name is
specified.
Karen
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---