Changed the URL to scope based system.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Wed, 21 Jul 2010 02:04:48 +0530
changeset 135 782f958b2cb2
parent 134 6d8d8b64853e
child 136 267d9eee024b
Changed the URL to scope based system.
project/templates/user/account.html
--- a/project/templates/user/account.html	Wed Jul 21 02:04:03 2010 +0530
+++ b/project/templates/user/account.html	Wed Jul 21 02:04:48 2010 +0530
@@ -22,8 +22,12 @@
         {% if user.first_name %}
             <span>{{ user.get_full_name }}</span>
         {% else %}
-        <span class="important">No name, please <a 
-            href="{% url scipycon_edit_profile params.scope %}">edit profile</a>.</span>
+        <span class="important">
+          No name, please
+          <a href="{% url scipycon_edit_profile params.scope %}">
+            edit profile
+          </a>.
+        </span>
         {% endif %}
         </td>
         <td rowspan="4">
@@ -65,7 +69,7 @@
 <div id="talks">
   <h2>Your Registration</h2>
 <p>
-  <a href="/edit-registration/{{ registration.id }}/"
+  <a href="{% url scipycon_edit_registration params.scope registration.id %}"
     title="Edit">Edit Registration</a>
   </p>
 </div>