django-postman

Issue #90 closed
Former user created an issue

How can i make the Recipient field polulate/show the recipient username instead of user typing in the recipient username.

I hope my question is clear to you? Now when user try to write another user the fields are three,

Recipient: Subject: body:

Now i want the Recipient to show the recipient username.

Thank you.

Comments (7)

  1. Calum Devitt

    Is there a way of putting a message-user button on someones profile, and it will auto-populate the recipient field with the users username?

    I think its similar to what you're looking for, would be amazing if you could.

  2. Engross Host

    CALUM DEVITT, sure there is a way of putting message-user button but each time other user client on message-user button it show the form empty without the recipient username

  3. Engross Host

    error.jpg

    Even after adding the ;

    <a href="{% url 'postman:write' username %}">write to {{ username }}</a>

  4. Patrick Samson repo owner

    It's because with your url .../write/6/, "6" doesn't match with any known username. Check directly in the url bar by providing a valid username.

  5. Log in to comment