Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated the README to use the new URL aliases.

  • Loading branch information...
commit 25fcd67f1dda38336793b149eca380314a264640 1 parent baed379
@zacharyvoase authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -95,7 +95,7 @@ Create the templates:
<p><a href="{% url Poll#new %}">Create a poll</a></p>
<!-- polls/new.html -->
- <form method="post" action="{% url Poll#index %}">
+ <form method="post" action="{% url Poll#create %}">
{% csrf_token %}
{{ self.form.as_p }}
<input type="submit" value="Create Poll" />
@@ -106,7 +106,7 @@ Create the templates:
<p><a href="{% url Poll#edit self.poll.id %}">Edit this poll</a></p>
<!-- polls/edit.html -->
- <form method="post" action="{% url Poll#show self.poll.id %}">
+ <form method="post" action="{% url Poll#update self.poll.id %}">
{% csrf_token %}
{{ self.form.as_p }}
<input type="submit" value="Update poll" />
Please sign in to comment.
Something went wrong with that request. Please try again.