From 4a1d358fcc56a21796d35c8486e0ae6043220fd7 Mon Sep 17 00:00:00 2001 From: zuber Date: Thu, 22 Oct 2009 18:14:45 +0200 Subject: [PATCH] =?utf8?q?Usuni=C4=99cie=20r=C3=B3=C5=BCowego=20kolorku=20?= =?utf8?q?w=20tle=20element=C3=B3w=20blokowych=20oraz=20zwi=C4=99kszenie?= =?utf8?q?=20czcionki,=20kt=C3=B3r=C4=85=20wy=C5=9Bwietlany=20jest=20eleme?= =?utf8?q?nt=20dzielo=5Fnadrzedne.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- apps/api/admin.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/apps/api/admin.py b/apps/api/admin.py index efa64f3a..332935d8 100644 --- a/apps/api/admin.py +++ b/apps/api/admin.py @@ -1,6 +1,9 @@ from django.contrib import admin -import api.models +from api import models -admin.site.register(api.models.PullRequest) -admin.site.register(api.models.PartCache) +class PullRequestAdmin(admin.ModelAdmin): + list_display = ('comitter', 'timestamp', 'comment', 'document', 'source_revision') + +admin.site.register(models.PullRequest, PullRequestAdmin) +admin.site.register(models.PartCache) -- 2.20.1