Did I find the right examples for you? yes no

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/l/o/logistics-HEAD/logistics_project/apps/ilsgateway/tables.py   logistics(Download)
 
from djtables import Table, Column
from models import ILSGatewayColumn, ILSGatewayDateColumn, Product
from djtables.column import DateColumn
from django.core.urlresolvers import reverse
    name = Column(link=lambda cell: reverse("ilsgateway.views.facilities_detail", args=[cell.row.pk]))
    randr_status = ILSGatewayColumn(head_verbose="R&R Status", value=_get_latest_randr_status, sortable=False)
    randr_status_date = ILSGatewayDateColumn(format="j N Y P", head_verbose="Date", value=_get_latest_randr_status_date, sortable=False)
    delivery_status = ILSGatewayColumn(head_verbose="Delivery Status", value=_get_latest_delivery_status, sortable=False)
    delivery_status_date = ILSGatewayDateColumn(format="j N Y P", head_verbose="Date", value=_get_latest_randr_status_date, sortable=False)