@sarina - no, that only checks to see which modulestore is being used.
LMS+github course authors are free to use any of the modulestores,
including mongo.  For example, many MITx courses do all their development
with github, and simply upload to Studio, e.g. using git2edx (
https://github.com/MITx/git2edx).

There should be a separate and distinct setting to indicate which workflow
a course is using, which is independent of the modulestore it happens to
use.


On Wed, Mar 19, 2014 at 9:58 AM, Sarina Canelake
<notifications@github.com>wrote:

> In lms/djangoapps/courseware/courses.py:
>
> > +
> > +def get_cms_block_link(block, page):
> > +    """
> > +    Returns a link to block_index for editing the course in cms,
> > +    assuming that the block is actually cms-backed.
> > +    """
> > +    locator = loc_mapper().translate_location(
> > +        block.location.course_id, block.location, False, True
> > +    )
> > +    return "//" + settings.CMS_BASE + locator.url_reverse(page, '')
> > +
> > +def get_studio_url(course_id, page):
> > +    """
> > +    Get the Studio URL of the page that is passed in.
> > +    """
> > +    is_studio_course = (modulestore().get_modulestore_type(course_id) == MONGO_MODULESTORE_TYPE)
>
> @ichuang <https://github.com/ichuang> this gates the feature to work for
> STudio courses only.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/edx/edx-platform/pull/2552/files#r10749622>
> .
>