]> git.ozlabs.org Git - patchwork/blobdiff - apps/patchwork/views/user.py
Set content-disposition header for pwclientrc
[patchwork] / apps / patchwork / views / user.py
index 4a34414a01446399b5b74b70ef851f62f3cc7c8f..b042d35b2f8a433984a981e60f55c1b50c68c114 100644 (file)
@@ -24,9 +24,9 @@ from django.shortcuts import render_to_response, get_object_or_404
 from django.contrib import auth
 from django.http import HttpResponse, HttpResponseRedirect
 from patchwork.models import Project, Patch, Bundle, Person, UserProfile, \
-        UserPersonConfirmation, State
+         UserPersonConfirmation, State
 from patchwork.forms import MultiplePatchForm, UserProfileForm, \
-        UserPersonLinkForm
+         UserPersonLinkForm
 from patchwork.utils import Order, get_patch_ids
 from patchwork.filters import DelegateFilter
 from patchwork.paginator import Paginator
@@ -75,7 +75,7 @@ def link(request):
                 send_mail('Patchwork email address confirmation',
                             render_to_string('patchwork/user-link.mail',
                                 context),
-                            settings.PATCHWORK_FROM_EMAIL,
+                            settings.DEFAULT_FROM_EMAIL,
                             [form.cleaned_data['email']])
                 conf.save()
             except Exception, ex: