You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using similar command like from your example, but it doesn't work:
messages.add_message(request, constants_messages.INFO_PERSISTENT, "Hola abc desde %s" %request.user, user=sally)
It produces this error: TypeError: add() got an unexpected keyword argument 'user'
It seems like there's no such parameter as user in Django messages framework. Also the functions within this app like persistant_info don't help since they're just wrapper ones and therefore behave the same.
So, can this be fixed? Thanks in advance!
The text was updated successfully, but these errors were encountered:
@softzer0 did you set MESSAGE_STORAGE in ypur settings to 'messages_extends.storages.FallbackStorage', according to the install instructions in the README.md?
I'm using similar command like from your example, but it doesn't work:
messages.add_message(request, constants_messages.INFO_PERSISTENT, "Hola abc desde %s" %request.user, user=sally)
It produces this error:
TypeError: add() got an unexpected keyword argument 'user'
It seems like there's no such parameter as
user
in Django messages framework. Also the functions within this app likepersistant_info
don't help since they're just wrapper ones and therefore behave the same.So, can this be fixed? Thanks in advance!
The text was updated successfully, but these errors were encountered: