renamed acc_process into account_process
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 4 Sep 2013 12:55:34 +0000 (14:55 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 4 Sep 2013 12:55:34 +0000 (14:55 +0200)
portal/templates/my_account.html
portal/urls.py
portal/views.py

index 68ac245..8444436 100644 (file)
@@ -40,7 +40,7 @@
   <div class='ms-dashboard-content' id='tophat__list__user_hrn'>
     <div id="main">
       <div id="middle" align="center">
-       <form id="editForm"  method="POST" action="acc_process" enctype="multipart/form-data">
+       <form id="editForm"  method="POST" action="account_process" enctype="multipart/form-data">
          {% csrf_token %}
          <table class="profile">          
            <tr class="odd">
index 763678e..05c8488 100644 (file)
@@ -48,7 +48,7 @@ urlpatterns = patterns('',
     url(r'^platforms/?$', PlatformsView.as_view(), name='platforms'),
     #url(r'^portal/platform/?$', PlatformView.platform_view(), name='platform'),
     url(r'^platform/(?P<platformname>[\w\.]+)/?$', PlatformView.as_view(), name='platform'),
-    url(r'^account/acc_process/?$', views.acc_process),
+    url(r'^account/account_process/?$', views.account_process),
     url(r'^register/?$', views.register_4m_f4f),
     #url(r'^reg_process/?$', views.reg_4m_f4f_process),
     url(r'^contact/?$', views.contact),
index 0c5fcd9..d8c5501 100644 (file)
@@ -260,7 +260,7 @@ class AccountView(TemplateView):
 
 @login_required
 #my_acc form value processing
-def acc_process(request):
+def account_process(request):
     # getting the user_id from the session [now hardcoded]
     get_user = PendingUser.objects.get(id='1') # here we will get the id/email from session e.g., person.email
     # getting user info from manifold