Mercurial > kallithea
diff rhodecode/model/notification.py @ 2109:8ecfed1d8f8b beta
utils/conf
- created temporary utils2
- made config.conf for storing some configurations
- fixed some dependency import problems
- code cleanup
- rc-extensions now properly work for celery
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 07 Mar 2012 02:18:22 +0200 |
parents | 0e27da019f84 |
children | 50aa7cb78cfe |
line wrap: on
line diff
--- a/rhodecode/model/notification.py Wed Mar 07 00:27:43 2012 +0200 +++ b/rhodecode/model/notification.py Wed Mar 07 02:18:22 2012 +0200 @@ -32,6 +32,7 @@ from pylons.i18n.translation import _ import rhodecode +from rhodecode.config.conf import DATETIME_FORMAT from rhodecode.lib import helpers as h from rhodecode.model import BaseModel from rhodecode.model.db import Notification, User, UserNotification @@ -176,8 +177,6 @@ notification.TYPE_REGISTRATION: _('registered in RhodeCode') } - DATETIME_FORMAT = "%Y-%m-%d %H:%M:%S" - tmpl = "%(user)s %(action)s %(when)s" if show_age: when = h.age(notification.created_on)