summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/views.py b/devel/views.py
index 381b4a4a..e999b7fa 100644
--- a/devel/views.py
+++ b/devel/views.py
@@ -74,7 +74,7 @@ class UserProfileForm(forms.ModelForm):
def change_profile(request):
if request.POST:
form = ProfileForm(request.POST)
- profile_form = UserProfileForm(data=request.POST, instance=request.user.get_profile())
+ profile_form = UserProfileForm(request.POST, request.FILES, instance=request.user.get_profile())
if form.is_valid() and profile_form.is_valid():
request.user.email = form.cleaned_data['email']
if form.cleaned_data['passwd1']: