Backwards compatibility with "shelf" urls
This commit is contained in:
parent
4a490d25a8
commit
f8ce9b0956
4 changed files with 6 additions and 5 deletions
|
|
@ -42,7 +42,7 @@
|
|||
{% endif %}
|
||||
</div>
|
||||
{% with user|username as username %}
|
||||
{% if 'user/'|add:username|add:'/books' not in request.path %}
|
||||
{% if 'user/'|add:username|add:'/books' not in request.path and 'user/'|add:username|add:'/shelf' not in request.path %}
|
||||
<nav class="tabs">
|
||||
<ul>
|
||||
{% url 'user-feed' user|username as url %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue