From af222ebdda6d2bc1e0ad3b03a3a7b0298f2a0447 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Wed, 2 Oct 2013 22:17:50 -0400 Subject: [PATCH] content html consistiency --- service/models.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/service/models.py b/service/models.py index 6bff0d1..bef7b2f 100644 --- a/service/models.py +++ b/service/models.py @@ -159,6 +159,10 @@ class URL(DynamoDBModel): def text(self): return Content.get(self.content).text + @property + def html(self): + return Content.get(self.content).html + @classmethod def get_or_store(cls, url): try: