Fakultas Ilmu Komputer UI
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
PMPL
Collection of Practice
2019
1506757352-practice
Commits
242d6450
Commit
242d6450
authored
Nov 12, 2019
by
Syahrul Ardiansyah
Browse files
remove print in views
parent
c9349479
Pipeline
#24540
failed with stage
in 2 minutes and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
accounts/views.py
View file @
242d6450
...
...
@@ -11,7 +11,6 @@ def send_login_email(request):
email
=
request
.
POST
[
'email'
]
uid
=
str
(
uuid
.
uuid4
())
Token
.
objects
.
create
(
email
=
email
,
uid
=
uid
)
print
(
'saving uid'
,
uid
,
'for email'
,
email
,
file
=
sys
.
stderr
)
url
=
request
.
build_absolute_uri
(
f
'/accounts/login?uid=
{
uid
}
'
)
send_mail
(
'Your login link for Superlists'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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