# -*- coding: utf-8 -*- from django import template from django.template import Library register = template.Library() from projeadi.dil.models import * def tumdiller(): html = "" for diloku in Diller.objects.filter(DillerAktif=True): html += '
  • ' html += '
    ' html += '' html += '' html += '' + diloku.DillerAdi + '' html += '
    ' html += '
  • ' return html register.simple_tag(tumdiller)