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
bookshare
Commits
80709888
Commit
80709888
authored
Feb 14, 2015
by
Daniel W Bond
Browse files
corrected cas student callback
parent
e5c3b485
Changes
1
Hide whitespace changes
Inline
Side-by-side
bookshare/core/cas_callbacks.py
View file @
80709888
...
...
@@ -9,7 +9,7 @@ def create_user(tree):
if
user_created
:
user
.
email
=
"%s@%s"
%
(
username
,
settings
.
ORGANIZATION_EMAIL_DOMAIN
)
user
.
save
()
new_student
=
Student
.
objects
.
create
()
new_student
.
user
=
user
new_student
=
Student
.
objects
.
create
(
user
=
user
)
new_student
.
save
()
print
(
"Created user %s!"
%
username
)
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