mirror of
http://git.carcosa.net/jmcbray/brutaldon.git
synced 2024-11-27 01:03:51 -05:00
Fix searching with new Mastodon.py
This commit is contained in:
parent
dc6260d406
commit
2dbb508fb4
2
Pipfile
2
Pipfile
@ -14,7 +14,7 @@ django-widget-tweaks = "*"
|
||||
"html5lib" = "*"
|
||||
idna = "*"
|
||||
markdown = "*"
|
||||
"mastodon.py" = "*"
|
||||
"mastodon.py" = ">=1.4.2"
|
||||
python-dateutil = "*"
|
||||
pytz = "*"
|
||||
requests = "*"
|
||||
|
@ -75,7 +75,7 @@ mastodon.search("<query>")
|
||||
<h2 class="subtitle">Tags</h2>
|
||||
<ul>
|
||||
{% for tag in results.hashtags %}
|
||||
<li><a href="{% url 'tag' tag %}">#{{ tag }}</a></li>
|
||||
<li><a href="{% url 'tag' tag.name %}">#{{ tag.name }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user