Changes between Version 1 and Version 2 of Ticket #16406, comment 11
- Timestamp:
- Jun 25, 2021, 1:50:16 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16406, comment 11
v1 v2 9 9 {{{ 10 10 #!python 11 def homepage(request, *args, **kwargs):l 11 from django.shortcuts import render 12 from django.urls import resolve, reverse 13 from django.utils import translation 14 from django.utils.translation import gettext as _ 15 16 def homepage(request, *args, **kwargs): 12 17 links = [] 13 18 langs = settings.LANGUAGES … … 50 55 51 56 {% for link in links %} 52 <a href={{ link}}>{{link}}</a>57 <a href={{ link }}>{{ link }}</a> 53 58 {% endfor %} 54 59 }}}