uhhh
i tried but nooo... your suggestion doesn't work...
let me show you 2 versions of error...
1. "Reverse for 'proyName.view_aboutPage' with arguments '()' and
keyword arguments '{}' not found."
settings:
# in proyName.packages.appName.urls.py:
... url(r'^about/$', 'view_aboutPage',
name='proyName.link_aboutPage'), ...
# in the template (about.html):
... <a href="{% url link_aboutPage%}">show 'about'<a> ...
2. "Reverse for '<function link_aboutPage at 0x015A8670>' with
arguments '()' and keyword arguments '{}' not found."
settings:
# in proyName.packages.appName.urls.py:
... url(r'^about/$', 'view_aboutPage', name='link_aboutPage'), ... #
also fails with "name='proyName.link_aboutPage'"
# in the template (about.html):
... <a href="{% url packages.appName.views.link_aboutPage%}">show
'about'<a> ...
by the way, the view loks like:
# in proyName.packages.appName.views.py:
...
def view_aboutPage(request):
return render_to_response('pages/about.html',
context_instance=RequestContext(request))
...
what can i do?? honestly, i do not know...
thanks!
On Apr 29, 12:37 pm, Kevin Audleman <[email protected]> wrote:
> You might be able to solve your problem by changing the name attribute
> of your URL to include "proyName":
>
> url(r'^about/$', 'view_aboutPage', name='proyName.view_aboutPage'),
>
> ---------------
>
> The error message is telling you exactly what it's looking for, after
> all:
>
> the error:
> "Reverse for 'proyName.view_aboutPage' with arguments '()' and keyword
> arguments '{}' not found."
>
> I have solved most of my URL problems this way.
>
> Cheers,
> Kevin
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---