mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-25 10:33:50 +02:00
Add unit test
This commit is contained in:
parent
a5a0c136df
commit
e94412e7a5
4 changed files with 35 additions and 20 deletions
|
@ -71,7 +71,7 @@ class UserProfileView(UserProfilePermissionView, FormMixin):
|
|||
|
||||
# Preserve queryparams and add them back to the url
|
||||
base_url = reverse("user-profile")
|
||||
new_redirect = replace_url_queryparams(base_url, query_params) if query_params else base_url
|
||||
new_redirect = replace_url_queryparams(base_url, query_params, convert_list_to_csv=True)
|
||||
return new_redirect
|
||||
|
||||
def post(self, request, *args, **kwargs):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue