Skip to content

Commit

Permalink
Remove uncommented line
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Wickström committed Jun 18, 2015
1 parent 9adf038 commit ff1ac92
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion reversion_compare/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ff1ac92

Please sign in to comment.