# HG changeset patch # User Marcin Kuzminski # Date 2012-01-27 22:07:46 # Node ID 3daa7093fbbb4d84fca865b16864d3eb98034b0c # Parent 7a7ffe24b82cd24ac99ded6a1a20d289c2bd250c fix typo in db models diff --git a/rhodecode/model/db.py b/rhodecode/model/db.py --- a/rhodecode/model/db.py +++ b/rhodecode/model/db.py @@ -1158,7 +1158,7 @@ class UserNotification(Base, BaseModel): 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