Cleanup routing and remove middleware
This commit is contained in:
parent
4514d7e020
commit
de6088ca5f
7 changed files with 25 additions and 45 deletions
|
|
@ -37,7 +37,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||
</li>
|
||||
{% if perms.photologue.add_gallery %}
|
||||
<li class="nav-item">
|
||||
{% url 'gallery-upload' as url %}
|
||||
{% url 'photologue:pl-gallery-upload' as url %}
|
||||
<a class="nav-link {% if request.path_info == url %}active{% endif %}" href="{{ url }}">{% trans 'Upload' %}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue