Render DataSyncChange.obtained as humanized timestamp within UI.

This commit is contained in:
Lance Edgar 2015-11-11 15:58:13 -06:00
parent 18a5f16b2c
commit 864300b927

View file

@ -28,6 +28,7 @@ from __future__ import unicode_literals
from rattail.db import model
from tailbone import forms
from tailbone.views import MasterView
@ -45,6 +46,7 @@ class DataSyncChangeView(MasterView):
def configure_grid(self, g):
g.default_sortkey = 'obtained'
g.obtained.set(renderer=forms.DateTimeFieldRenderer(self.rattail_config))
g.configure(
include=[
g.source,