Hi,

I get the following error when trying to use the {% url %}
templatetag. I have read the documentation several times but cannot
understand where is the problem:

AttributeError at /c/albums/wonderful-world/
'str' object has no attribute 'callback'

My urls.py:
urlpatterns = patterns('',
    url(r'^artists/(?P<slug>[-\w]+)/$', view_artist, name='view-
artist'),
   ....

My template:
...
{% url view-artist slug=album.artist.slug %}
...

I have tried also {% url view-artist album.artist.slug %} but get
still the same error :(
Any ideas why this might happen?

Thank you!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to