Changes between Version 1 and Version 2 of Ticket #16406, comment 11


Ignore:
Timestamp:
Jun 25, 2021, 1:50:16 PM (3 years ago)
Author:
Alexandre Prieto Pantoja

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16406, comment 11

    v1 v2  
    99{{{
    1010#!python
    11 def homepage(request, *args, **kwargs):l
     11from django.shortcuts import render
     12from django.urls import resolve, reverse
     13from django.utils import translation
     14from django.utils.translation import gettext as _
     15
     16def homepage(request, *args, **kwargs):
    1217    links = []
    1318    langs = settings.LANGUAGES
     
    5055
    5156    {% for link in links %}
    52         <a href={{link}}>{{link}}</a>
     57        <a href={{ link }}>{{ link }}</a>
    5358    {% endfor %}
    5459}}}
Back to Top