mirror of
http://git.carcosa.net/jmcbray/brutaldon.git
synced 2024-11-23 07:13:52 -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" = "*"
|
"html5lib" = "*"
|
||||||
idna = "*"
|
idna = "*"
|
||||||
markdown = "*"
|
markdown = "*"
|
||||||
"mastodon.py" = "*"
|
"mastodon.py" = ">=1.4.2"
|
||||||
python-dateutil = "*"
|
python-dateutil = "*"
|
||||||
pytz = "*"
|
pytz = "*"
|
||||||
requests = "*"
|
requests = "*"
|
||||||
|
@ -75,7 +75,7 @@ mastodon.search("<query>")
|
|||||||
<h2 class="subtitle">Tags</h2>
|
<h2 class="subtitle">Tags</h2>
|
||||||
<ul>
|
<ul>
|
||||||
{% for tag in results.hashtags %}
|
{% 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 %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user