Mercurial > public > src > rhodecode
changeset 2046:3daa7093fbbb beta
fix typo in db models
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 28 Jan 2012 00:07:46 +0200 |
parents | 7a7ffe24b82c |
children | f48bce87475b |
files | rhodecode/model/db.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/model/db.py Sat Jan 28 00:00:51 2012 +0200 +++ b/rhodecode/model/db.py Sat Jan 28 00:07:46 2012 +0200 @@ -1158,7 +1158,7 @@ user = relationship('User', lazy="joined") notification = relationship('Notification', lazy="joined", - rder_by=lambda: Notification.created_on.desc(),) + order_by=lambda: Notification.created_on.desc(),) def mark_as_read(self): self.read = True