def render(self, context): user = Variable(self.user).resolve(context) for group in user.get_groups() pass return "<li>nada</li>"