Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
3a748b1e
Commit
3a748b1e
authored
Mar 04, 2013
by
David Ormsbee
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1587 from MITx/feature/kevin/cohorts_take_3
Feature/kevin/cohorts take 3
parents
999ed17e
a9804a33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
lms/djangoapps/django_comment_client/base/views.py
+2
-3
No files found.
lms/djangoapps/django_comment_client/base/views.py
View file @
3a748b1e
...
@@ -91,7 +91,6 @@ def create_thread(request, course_id, commentable_id):
...
@@ -91,7 +91,6 @@ def create_thread(request, course_id, commentable_id):
'user_id'
:
request
.
user
.
id
,
'user_id'
:
request
.
user
.
id
,
})
})
user
=
cc
.
User
.
from_django_user
(
request
.
user
)
user
=
cc
.
User
.
from_django_user
(
request
.
user
)
#kevinchugh because the new requirement is that all groups will be determined
#kevinchugh because the new requirement is that all groups will be determined
...
@@ -112,8 +111,8 @@ def create_thread(request, course_id, commentable_id):
...
@@ -112,8 +111,8 @@ def create_thread(request, course_id, commentable_id):
# regular users always post with their own id.
# regular users always post with their own id.
group_id
=
user_group_id
group_id
=
user_group_id
if
group_id
:
if
group_id
:
thread
.
update_attributes
(
group_id
=
group_id
)
thread
.
update_attributes
(
group_id
=
group_id
)
thread
.
save
()
thread
.
save
()
...
...
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