mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-10 08:14:53 +00:00
fix reverse for image_usage
change _ to :
This commit is contained in:
parent
4371368854
commit
11c7029e87
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ class AbstractImage(models.Model, TagSearchable):
|
|||
|
||||
@property
|
||||
def usage_url(self):
|
||||
return reverse('wagtailimages_image_usage',
|
||||
return reverse('wagtailimages:image_usage',
|
||||
args=(self.id,))
|
||||
|
||||
search_fields = TagSearchable.search_fields + (
|
||||
|
|
|
|||
Loading…
Reference in a new issue