# HG changeset patch # User Marcin Kuzminski # Date 1327702066 -7200 # Node ID 3daa7093fbbb4d84fca865b16864d3eb98034b0c # Parent 7a7ffe24b82cd24ac99ded6a1a20d289c2bd250c fix typo in db models diff -r 7a7ffe24b82c -r 3daa7093fbbb rhodecode/model/db.py --- 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