Skip to content

Commit

Permalink
Fix bugs found by tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tortila committed Aug 24, 2023
1 parent c9553c5 commit 4bcbc8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/accounts/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def done(self, form_list, form_dict, **kwargs):
# process SERVICES form: assign services to ProviderRequest
services_form = form_dict[steps.SERVICES.value]
services = services_form.cleaned_data["services"]
pr.services.set(*services)
pr.services.set(services)
pr.created_by = self.request.user
pr.save()

Expand Down Expand Up @@ -345,7 +345,7 @@ def done(self, form_list, form_dict, **kwargs):
network_import_required = extra_network_form.cleaned_data.get(
"network_import_required"
)
pr.missing_network_explanation = bool(network_explanation)
pr.missing_network_explanation = network_explanation
pr.network_import_required = bool(network_import_required)
pr.save()

Expand Down

0 comments on commit 4bcbc8f

Please sign in to comment.