Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Rolf Erik Sesseng Aas
tdt4242-base
Commits
f472e378
Commit
f472e378
authored
Apr 19, 2021
by
Rolf Aas
Browse files
Variable names adhere to code standards in Python
parent
513fae70
Changes
1
Hide whitespace changes
Inline
Side-by-side
backend/secfit/workouts/views.py
View file @
f472e378
...
...
@@ -70,10 +70,10 @@ class RememberMe(
return
Response
({
"remember_me"
:
self
.
rememberme
()})
def
post
(
self
,
request
):
cookie
O
bject
=
namedtuple
(
"Cookies"
,
request
.
COOKIES
.
keys
())(
cookie
_o
bject
=
namedtuple
(
"Cookies"
,
request
.
COOKIES
.
keys
())(
*
request
.
COOKIES
.
values
()
)
user
=
self
.
get_user
(
cookie
O
bject
)
user
=
self
.
get_user
(
cookie
_o
bject
)
refresh
=
RefreshToken
.
for_user
(
user
)
return
Response
(
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment