Your urls.py needs to contain sth. like that:
urlpatterns = patterns('your_app.views',
url(r'^the_url_you_want_for_tellfriend$', 'name_of_viewfunction',
name='tellfriend'),
....
)
the last argument, name='tellfriend', is what the {% url %} tag is
searching for in your urlpatterns, and then directs to the
corresponding viewfunction.
Details here:
http://docs.djangoproject.com/en/1.1/topics/http/urls/#topics-http-urls
--
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.