From b3059dd3e871de3bc34fa3ee7ab9730c034f22df Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 11 Jun 2010 17:29:46 -0500 Subject: Remove action when submitting to same URL It looks like the `action="."` business was screwing up some browsers, notably lynx and links. We don't need it as the default is to submit to the same page anyway, so kill this gunk and see if it fixes a login CSRF issue. Signed-off-by: Dan McGee --- templates/news/add.html | 2 +- templates/news/delete.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/news') diff --git a/templates/news/add.html b/templates/news/add.html index 04a55689..9b2ebae4 100644 --- a/templates/news/add.html +++ b/templates/news/add.html @@ -10,7 +10,7 @@

News: Edit Article

News: Add Article

{% endif %} -
{% csrf_token %} + {% csrf_token %}
{{ form.as_p }}
diff --git a/templates/news/delete.html b/templates/news/delete.html index 3e3ba95e..191c6929 100644 --- a/templates/news/delete.html +++ b/templates/news/delete.html @@ -14,7 +14,7 @@

News: Delete Entry Confirmation

Are you sure?

- {% csrf_token %} + {% csrf_token %}

-- cgit v1.2.3-54-g00ecf