Closed sbuss closed 8 years ago
Part of #16
Adds a propose-swap json view at /users/swap that takes {"to_profile": <int>} as POST data.
/users/swap
{"to_profile": <int>}
@devinblais You can get that url by using {% url "users:propose_swap" %} in a template, eg:
{% url "users:propose_swap" %}
<a href="{% url "users:propose_swap" %}" type="button">...</a>
Part of #16
Adds a propose-swap json view at
/users/swap
that takes{"to_profile": <int>}
as POST data.@devinblais You can get that url by using
{% url "users:propose_swap" %}
in a template, eg:<a href="{% url "users:propose_swap" %}" type="button">...</a>