From cef375d1b1d7dbcb90bf1c85f0ff92a53f9d1fb9 Mon Sep 17 00:00:00 2001
From: Magnus Hagander <magnus@hagander.net>
Date: Thu, 30 Jul 2009 16:48:46 +0200
Subject: [PATCH] Add string output for log entries, so they show up nicely in
 delete warnings in /admin/.

---
 hamnadmin/register/models.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hamnadmin/register/models.py b/hamnadmin/register/models.py
index 26f4bc0..a7757f4 100644
--- a/hamnadmin/register/models.py
+++ b/hamnadmin/register/models.py
@@ -88,3 +88,5 @@ class AggregatorLog(models.Model):
 		db_table = 'planet\".\"aggregatorlog'
 		ordering = ['-ts']
 
+	def __unicode__(self):
+		return "Log entry (%s)" % self.ts
-- 
2.39.5

