Skip to content

Commit

Permalink
Added response for when withdrawal form is not valid
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeUrban committed Dec 3, 2019
1 parent bff1bea commit 27f458a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
author = 'Jake Urban'

# The short X.Y version
version = 'v0.9.5'
version = 'v0.9.6'

# The full version, including alpha/beta/rc tags
release = 'v0.9.5'
release = 'v0.9.6'


# -- General configuration ---------------------------------------------------
Expand Down
3 changes: 3 additions & 0 deletions polaris/polaris/withdraw/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ def interactive_withdraw(request: Request) -> Response:
},
template_name="transaction/more_info.html"
)
else:
resp_data = {"form": form, "account": request.POST.get("account")}
return Response(resp_data, template_name="withdraw/form.html")


@api_view(["POST"])
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name="django-polaris",
version="0.9.5",
version="0.9.6",
description="A SEP-24-compliant Django anchor server",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 27f458a

Please sign in to comment.