Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
roomlist
Commits
c280cedf
Commit
c280cedf
authored
Sep 27, 2016
by
Daniel W Bond
Browse files
added correct redirect on social connect also to the welcome view
parent
efbbeb10
Changes
1
Hide whitespace changes
Inline
Side-by-side
roomlist/welcome/views.py
View file @
c280cedf
...
...
@@ -208,8 +208,8 @@ class WelcomeSocial(LoginRequiredMixin, FormView):
if
self
.
request
.
user
.
student
.
totally_done
():
messages
.
add_message
(
request
,
messages
.
INFO
,
settings_redirect
)
return
re
nder_to_string
(
'update_student'
,
context
=
{
'slug'
:
self
.
request
.
user
.
username
})
return
re
direct
(
reverse
(
'update_student'
,
kwargs
=
{
'slug'
:
self
.
request
.
user
.
username
})
)
else
:
return
super
(
WelcomeSocial
,
self
).
get
(
request
,
*
args
,
**
kwargs
)
...
...
Write
Preview
Markdown
is supported
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