forked from DGNum/gestioCOF
On utilise un vrai dict
This commit is contained in:
parent
effed1b5c5
commit
f990934425
1 changed files with 6 additions and 6 deletions
12
bds/views.py
12
bds/views.py
|
@ -84,12 +84,12 @@ class UserCreateView(StaffRequiredMixin, MultipleFormView):
|
||||||
first_name = ""
|
first_name = ""
|
||||||
last_name = ""
|
last_name = ""
|
||||||
|
|
||||||
return dict(
|
return {
|
||||||
username=clipper,
|
"username": clipper,
|
||||||
email=email,
|
"email": email,
|
||||||
first_name=first_name,
|
"first_name": first_name,
|
||||||
last_name=last_name,
|
"last_name": last_name,
|
||||||
)
|
}
|
||||||
else:
|
else:
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue