Is it just me or is flash broken in TG2?
I just quickstarted a new project from a fresh TG2 and Pylons
checkout, and I'm not getting any flash messages at all. No errors
either.
Using the debug template in index.html:
tg_flash = None
tg_status = status_ok
and in my controller (default quickstarted version):
@expose('tgqs.templates.index')
def index(self):
from datetime import datetime
flash(_("Your application is now running"))
return dict(now=datetime.now())
I know there have been some changes/enhancements to flash lately...do
I need to change the default template somehow?
Kevin Horn
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---