Fix up the URLs mapping to soc.views.user.profile.edit() and make the site base
template (mostly a mock-up) point to /user/profile instead of the old
/usr/linkname/profile from the static mock-up.
--- a/app/soc/templates/soc/base.html Wed Aug 20 00:02:49 2008 +0000
+++ b/app/soc/templates/soc/base.html Wed Aug 20 00:04:42 2008 +0000
@@ -68,7 +68,7 @@
<a class="selected" href="/">Google Open Source Programs</a>
<ul>
<li>
-<a href="/user/linkname/profile">User (Sign In)</a>
+<a href="/user/profile">User (Sign In)</a>
<span title=" No Profile or Roles sidebar menu items until user signs in " class="popup">
<small>*</small>
</span>
--- a/app/urls.py Wed Aug 20 00:02:49 2008 +0000
+++ b/app/urls.py Wed Aug 20 00:04:42 2008 +0000
@@ -31,8 +31,9 @@
(r'^user/roles/(?P<linkname>[_0-9a-z]+)$',
'soc.views.user.roles.dashboard'),
- (r'^user/profile$','soc.views.user.profile'),
- (r'^user/profile/(?P<linkname>[_0-9a-z]+)$','soc.views.user.profile'),
+ (r'^user/profile$', 'soc.views.user.profile.edit'),
+ (r'^user/profile/(?P<linkname>[_0-9a-z]+)$',
+ 'soc.views.user.profile.edit'),
(r'^org/profile/(?P<program>ghop[_0-9a-z]+)/(?P<linkname>[_0-9a-z]+)/$',
'soc.views.person.profile.edit',