Better for perspective to port the first example in second syntax to compare:
if not request.user.is_authenticated: content.append( Li( A([_('Log in')], dict(href=reverse('crudlfap:login'))), dict(cls='no-padding'), ) ) else: content.append(Li(A( [_('Log out')], { 'class': 'waves-effect', 'data-noprefetch': 'true', 'href': reverse('crudlfap:logout'), } ), {'class': 'no-padding'})) I think I could get used to it, but I still feel like the first syntax is nicer to use. Looking forward to read your opinions on this ! Have a great day -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAC6Op19fRRybpkUxHYy2s7%3DncBq5OB1g0%2BH0f-_BHQbz6ENejA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.