Changeset - 3daa7093fbbb
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 14 years ago 2012-01-27 23:07:46
marcin@python-works.com
fix typo in db models
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/model/db.py
Show inline comments
 
@@ -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
0 comments (0 inline, 0 general)