Commit 8185145f authored by Michal Čihař's avatar Michal Čihař

Wrap long line

parent 1c81ff60
...@@ -133,14 +133,20 @@ def user_profile(request): ...@@ -133,14 +133,20 @@ def user_profile(request):
instance=request.user instance=request.user
) )
response = render_to_response('accounts/profile.html', RequestContext(request, { response = render_to_response(
'form': form, 'accounts/profile.html',
'userform': userform, RequestContext(
'subscriptionform': subscriptionform, request,
'profile': profile, {
'title': _('User profile'), 'form': form,
'licenses': Project.objects.exclude(license=''), 'userform': userform,
})) 'subscriptionform': subscriptionform,
'profile': profile,
'title': _('User profile'),
'licenses': Project.objects.exclude(license=''),
}
)
)
response.set_cookie( response.set_cookie(
settings.LANGUAGE_COOKIE_NAME, settings.LANGUAGE_COOKIE_NAME,
profile.language profile.language
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment