Changed check_course from a decorator to a regular function that throws...
Changed check_course from a decorator to a regular function that throws exceptions. Much easier to understand now.
Showing
- common/djangoapps/student/views.py 6 additions, 5 deletionscommon/djangoapps/student/views.py
- lms/djangoapps/courseware/courses.py 27 additions, 56 deletionslms/djangoapps/courseware/courses.py
- lms/djangoapps/courseware/decorators.py 0 additions, 64 deletionslms/djangoapps/courseware/decorators.py
- lms/djangoapps/courseware/views.py 12 additions, 11 deletionslms/djangoapps/courseware/views.py
- lms/djangoapps/simplewiki/views.py 36 additions, 26 deletionslms/djangoapps/simplewiki/views.py
- lms/djangoapps/staticbook/views.py 3 additions, 3 deletionslms/djangoapps/staticbook/views.py
Please register or sign in to comment