medor.www
clone your own copy | download snapshot

Snapshots | iceberg

Inside this repository

buy_tags.py
text/x-python

Download raw (202 bytes)

from django import template
from buy.models import RetailOutlet


register = template.Library()


@register.assignment_tag
def get_retail_outlet_list():
    return RetailOutlet.objects.order_by("city")