I also suggest another modification, to have a global messaging system
in any application
in db.py for the welcome scaffolding application, I suggest adding:
from gluon.storage import Messages
messages = Messages(T)
Now a developer is free to set all his messages using the messages
reference and
On Wed, Jun 2, 2010 at 06:54, hamdy.a.farag hamdy.a.fa...@inbox.com wrote:
I also suggest another modification, to have a global messaging system
in any application
in db.py for the welcome scaffolding application, I suggest adding:
from gluon.storage import Messages
messages = Messages(T)
what about reusing messages in another applications ?
can you guarantee that all your coworkers use the same typical
string ?
ex:
error_message = T('warning, you're not authorized to access ...')
another developer could do:
error_message = T('you're not authorized to access this page')
think of
3 matches
Mail list logo