Create courseware/views folder

This commit is contained in:
Nimisha Asthagiri
2016-05-02 15:13:30 -04:00
parent 2f581448da
commit c6954902e3
21 changed files with 65 additions and 67 deletions

View File

@@ -91,7 +91,7 @@ The LMS is a django site, with root in `lms/`. It runs in many different enviro
- `lms/djangoapps/courseware/models.py`
- Core rendering path:
- `lms/urls.py` points to `courseware.views.index`, which gets module info from the course xml file, pulls list of `StudentModule` objects for this user (to avoid multiple db hits).
- `lms/urls.py` points to `courseware.views.views.index`, which gets module info from the course xml file, pulls list of `StudentModule` objects for this user (to avoid multiple db hits).
- Calls `render_accordion` to render the "accordion"--the display of the course structure.

View File

@@ -44,7 +44,7 @@ MOCK_MODULES = [
'courseware.access',
'courseware.model_data',
'courseware.module_render',
'courseware.views',
'courseware.views.views',
'util.request',
'eventtracking',
'xmodule',