Browse Source

[fix] Rename profil as profile

ljf 7 years ago
parent
commit
89467fc2cb
2 changed files with 2 additions and 2 deletions
  1. 1 1
      coin/members/views.py
  2. 1 1
      coin/settings_base.py

+ 1 - 1
coin/members/views.py

@@ -24,7 +24,7 @@ def detail(request):
         'membership_info_url': membership_info_url,
     }
 
-    if settings.MEMBER_CAN_EDIT_PROFIL:
+    if settings.MEMBER_CAN_EDIT_PROFILE:
         if request.method == "POST":
             form = MemberChangeForm(data = request.POST, instance = request.user)
             if form.is_valid():

+ 1 - 1
coin/settings_base.py

@@ -265,4 +265,4 @@ FEEDS = (
 )
 
 # Member can edit their own data
-MEMBER_CAN_EDIT_PROFIL = False
+MEMBER_CAN_EDIT_PROFILE = False