# HG changeset patch # User Todd Larsen # Date 1219190569 0 # Node ID 426b4ca2a72a92a0adf65fd44245705e4ba91d31 # Parent 1b31d238ba39be1c1a4831639a48ca1df51cd7cd Move soc.views.user.profile.profile() to soc.views.user.profile.edit(). diff -r 1b31d238ba39 -r 426b4ca2a72a app/soc/templates/soc/user/profile/edit.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/soc/templates/soc/user/profile/edit.html Wed Aug 20 00:02:49 2008 +0000 @@ -0,0 +1,36 @@ +{% extends "soc/base.html" %} +{% comment %} +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +{% endcomment %} +{% load forms_helpers %} +{% block page_title %}User Profile{% endblock %} +{% block header_title %}User Profile{% endblock %} +{% block body %} +

+

+{% block instructions %} +Please use this form to set basic site-wide settings for your participation in Google Open Source Programs. +{% endblock %} +

+
+ + {% field_as_table_row form.nick_name %} + {% field_as_table_row form.link_name %} +
+
+ + +
+
+

+{% endblock %} \ No newline at end of file diff -r 1b31d238ba39 -r 426b4ca2a72a app/soc/views/user/profile.py --- a/app/soc/views/user/profile.py Tue Aug 19 23:51:31 2008 +0000 +++ b/app/soc/views/user/profile.py Wed Aug 20 00:02:49 2008 +0000 @@ -46,7 +46,7 @@ exclude = ['id'] -def profile(request, linkname=None, template='soc/user/profile.html'): +def edit(request, linkname=None, template='soc/user/profile/edit.html'): """View for a User to modify the properties of a UserModel. Args: