Skip to content
This repository has been archived by the owner on Oct 28, 2023. It is now read-only.

Hooked up postman_write url to a exchange_filter function which checks a... #8

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

chrisvans
Copy link
Collaborator

...gainst a completed profile and returns an error message when a user attempts to send a message.

…s against a completed profile and returns an error message when a user attempts to send a message.
…quired to update profile with availability text
…ic for preventing messages to be sent to them.
url(r'^messages/sent/(?:(?P<option>'+OPTIONS+')/)?$', SentView.as_view(), name='postman_sent'),
url(r'^messages/archives/(?:(?P<option>'+OPTIONS+')/)?$', ArchivesView.as_view(), name='postman_archives'),
url(r'^messages/trash/(?:(?P<option>'+OPTIONS+')/)?$', TrashView.as_view(), name='postman_trash'),
url(r'^messages/write/(?:(?P<recipients>[\w.@+-:]+)/)?$', WriteView.as_view(exchange_filter=sender_profile_required), name='postman_write'),
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Postman urls added for the purpose of the exchange_filter argument pass.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant