On Mar 22, 12:26 am, serek <stwa...@gmail.com> wrote: > Hi > > I use djangoflashhttp://djangoflash.destaquenet.com/ > and after add message to flash > request.flash.add('message', 'test') > and redirect > i receive > ['test'] > instead > test
Well, that's the documented behaviour : using "flash.add('key', value)", you get a list back for key - so you have to take care of this in the template code. If you don't want a list, use either "flash['key'] = value" or "flash('key', value)" - as documented, cf http://djangoflash.destaquenet.com/usage.html -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.