From ff1ac92bf36f8ad3c20e11b1fa93c66421b13cac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Wickstr=C3=B6m?= Date: Thu, 18 Jun 2015 13:21:11 +0300 Subject: [PATCH] Remove uncommented line --- reversion_compare/admin.py | 1 - 1 file changed, 1 deletion(-) diff --git a/reversion_compare/admin.py b/reversion_compare/admin.py index 5a2cf28..85f014c 100644 --- a/reversion_compare/admin.py +++ b/reversion_compare/admin.py @@ -107,7 +107,6 @@ def get_related(self): def get_reverse_foreign_key(self): obj = self.version.object_version.object - # self = getattr(obj, self.field.related_name) #self.field.field_name if self.has_int_pk and self.field.related_name and hasattr(obj, self.field.related_name): if isinstance(self.field, models.fields.related.OneToOneRel): try: