From 79491376e46b23c10fff08041d772a4eb6dbafe6 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 4 Sep 2013 14:55:34 +0200 Subject: [PATCH] renamed acc_process into account_process --- portal/templates/my_account.html | 2 +- portal/urls.py | 2 +- portal/views.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/portal/templates/my_account.html b/portal/templates/my_account.html index 68ac2453..84444362 100644 --- a/portal/templates/my_account.html +++ b/portal/templates/my_account.html @@ -40,7 +40,7 @@
-
+ {% csrf_token %} diff --git a/portal/urls.py b/portal/urls.py index 763678e0..05c84888 100644 --- a/portal/urls.py +++ b/portal/urls.py @@ -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[\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), diff --git a/portal/views.py b/portal/views.py index 0c5fcd99..d8c5501f 100644 --- a/portal/views.py +++ b/portal/views.py @@ -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 -- 2.43.0