mirror of
https://github.com/jazzband/django-avatar.git
synced 2026-05-05 14:14:45 +00:00
fix(tags): update reverse
This commit is contained in:
parent
5ac23f3a45
commit
4be2c962dd
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ def primary_avatar(user, width=settings.AVATAR_DEFAULT_SIZE, height=None):
|
|||
else:
|
||||
kwargs["height"] = height
|
||||
|
||||
url = reverse("avatar_render_primary", kwargs=kwargs)
|
||||
url = reverse("avatar:render_primary", kwargs=kwargs)
|
||||
return """<img src="%s" width="%s" height="%s" alt="%s" />""" % (
|
||||
url,
|
||||
width,
|
||||
|
|
|
|||
Loading…
Reference in a new issue