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
f4b8bfe4
Commit
f4b8bfe4
authored
Oct 01, 2012
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Turn off dumping the course back into git
parent
60e79145
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
cms/djangoapps/contentstore/views.py
+0
-10
No files found.
cms/djangoapps/contentstore/views.py
View file @
f4b8bfe4
...
...
@@ -385,16 +385,6 @@ def save_item(request):
existing_item
.
metadata
.
update
(
posted_metadata
)
modulestore
()
.
update_metadata
(
item_location
,
existing_item
.
metadata
)
# Export the course back to github
# This uses wildcarding to find the course, which requires handling
# multiple courses returned, but there should only ever be one
course_location
=
Location
(
item_location
)
.
_replace
(
category
=
'course'
,
name
=
None
)
courses
=
modulestore
()
.
get_items
(
course_location
,
depth
=
None
)
for
course
in
courses
:
author_string
=
user_author_string
(
request
.
user
)
export_to_github
(
course
,
"CMS Edit"
,
author_string
)
descriptor
=
modulestore
()
.
get_item
(
item_location
)
preview_html
=
get_module_previews
(
request
,
descriptor
)[
0
]
...
...
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