Skip to content
Snippets Groups Projects

Cleanup routing and remove middleware

Merged me5na7qbjqbrp requested to merge simpler_router into master
7 files
+ 25
45
Compare changes
  • Side-by-side
  • Inline
Files
7
@@ -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