minor fix
This commit is contained in:
parent
5747468c21
commit
f4b6b38522
3 changed files with 2 additions and 3 deletions
|
@ -128,7 +128,7 @@ def create_vm_task(self, vm_template_id, user, specs, template,
|
|||
'storage': specs.get('disk_size'),
|
||||
'price': specs.get('price'),
|
||||
'template': template.get('name'),
|
||||
'vm_name': vm['name'],
|
||||
'vm_name': vm.get('name'),
|
||||
'vm_id': vm['vm_id'],
|
||||
'order_id': order.id
|
||||
}
|
||||
|
|
|
@ -267,7 +267,6 @@ class SignupValidatedView(SignupValidateView):
|
|||
section_title = _('Account activation')
|
||||
user = CustomUser.objects.filter(
|
||||
validation_slug=self.kwargs['validate_slug']).first()
|
||||
# pre_valid = user.validated
|
||||
if validated:
|
||||
message = '{account_activation_string} <br /> {login_string} {lurl}.'.format(
|
||||
account_activation_string=_(
|
||||
|
|
Loading…
Reference in a new issue