Skip to content

Can't save message to the other user #18

@softzer0

Description

@softzer0

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions