[Pypi-checkins] r784 - trunk/pypi/templates

georg.brandl python-checkins at python.org
Fri Jul 23 18:12:28 CEST 2010


Author: georg.brandl
Date: Fri Jul 23 18:12:28 2010
New Revision: 784

Modified:
   trunk/pypi/templates/register.pt
Log:
Give the user registering form an explicit action="/pypi".

Modified: trunk/pypi/templates/register.pt
==============================================================================
--- trunk/pypi/templates/register.pt	(original)
+++ trunk/pypi/templates/register.pt	Fri Jul 23 18:12:28 2010
@@ -5,7 +5,7 @@
       metal:use-macro="standard_template/macros/page">
   <metal:fill fill-slot="body">
 
-    <form method="POST">
+    <form tal:attributes="action app/url_path" method="POST">
       <input type="hidden" name=":action" value="user" />
       <input type="hidden" name="name" tal:condition="not:data/new_user"
 	     tal:attributes="value data/name"/>


More information about the Pypi-checkins mailing list