Skip to content

Commit

Permalink
Updated the README to use the new URL aliases.
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyvoase committed Jun 25, 2010
1 parent baed379 commit 25fcd67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
Expand All @@ -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" />
Expand Down

0 comments on commit 25fcd67

Please sign in to comment.