Re: Component design question
Damnit, my port was wrong above, here goes, with list for content and dict for attributes as arguments instead of using *args, **kwargs: if not request.user.is_authenticated: content.append( Li( [A([_('Log in')], dict(href=reverse('crudlfap:
Re: Component design question
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'),