messages.error(request, 'Error: An error occured during the update of your public key at the Registry, or your public key is not matching the one stored.')
raise Exception,"Keys are not matching"
except Exception,e:
messages.error(request, 'Error: An error occured during the update of your public key at the Registry, or your public key is not matching the one stored.')
+ print "Exception in accountview ", e
return HttpResponseRedirect("/portal/account/")
else:
messages.error(request, 'Account error: You need an account in myslice platform to perform this action')
return HttpResponseRedirect("/portal/account/")
else:
messages.error(request, 'Account error: You need an account in myslice platform to perform this action')