Cleanup routing and remove middleware

This commit is contained in:
Alexandre Iooss 2021-10-23 15:33:14 +02:00
parent 4514d7e020
commit de6088ca5f
7 changed files with 25 additions and 45 deletions

View file

@ -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 %}