aboutsummaryrefslogtreecommitdiff
path: root/rhodecode/model/db.py
diff options
context:
space:
mode:
authorMarcin Kuzminski <marcin@python-works.com>2012-10-18 20:16:00 +0200
committerMarcin Kuzminski <marcin@python-works.com>2012-10-18 20:16:00 +0200
commit5b964ffc7fb338544acf0053d90d91836e50e26d (patch)
tree494fe9b6992dacf9828dddf88616dfe5970fd277 /rhodecode/model/db.py
parenta3a395b8f55c3ebcc6086e7d6c693f2943490a1b (diff)
Added lightweight dashboard option. ref #500
--HG-- branch : beta
Diffstat (limited to 'rhodecode/model/db.py')
-rwxr-xr-xrhodecode/model/db.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/rhodecode/model/db.py b/rhodecode/model/db.py
index 0af193e4..458e24d7 100755
--- a/rhodecode/model/db.py
+++ b/rhodecode/model/db.py
@@ -856,6 +856,10 @@ class Repository(Base, BaseModel):
Session().add(repo)
Session().commit()
+ @property
+ def last_db_change(self):
+ return self.updated_on
+
#==========================================================================
# SCM PROPERTIES
#==========================================================================