Commit Graph

15 Commits

Author SHA1 Message Date
Bill Filler
4fe5f3457d Conditionally display gated content in courseware
Display gated sections in course outline, navigation and in the course
when user has met prerequiste condition.

WL-1273, WL-1317
2018-01-18 12:34:19 -05:00
Ben Patterson
176770efad Revert "Enable PyContracts during tests"
This reverts commit 4312c0e763.
2015-05-22 15:05:11 -04:00
Calen Pennington
4312c0e763 Enable PyContracts during tests 2015-05-20 15:07:18 -04:00
stv
cf9308144d Fix PEP8: E302 expected 2 blank lines, found 1 2014-11-10 11:00:11 -08:00
Adam
7e12e40164 Merge pull request #5532 from edx/adam/disable-pycontracts-on-startup
disable pycontracts except in development environments (PLAT-122)
2014-10-22 14:17:45 -04:00
Adam Palay
1aba7f81b4 disable pycontracts except in development environments (PLAT-122) 2014-10-15 13:22:24 -04:00
Usman Khalid
32c6dad526 Moved imports to manage.py and wsgi.py. 2014-10-14 18:27:31 +05:00
Calen Pennington
407b02b358 Centralize startup code, and execute in all contexts
Inspired by: http://eldarion.com/blog/2013/02/14/entry-point-hook-django-projects/
Moves startup code to lms.startup and cms.startup, and calls the startup
methods in wsgi.py and manage.py for both projects.
2013-08-27 12:12:20 -04:00
Carlos Andrés Rocha
e6288ad19c Fix manage.py to ouput the help of the django command if requested
Commands like the following were not working correctly:
```
$ python manage.py lms runserver --lms
```
2013-08-08 19:08:35 -04:00
Calen Pennington
1bcafd32a9 Make the service-variant flag on manage.py longform only 2013-07-25 09:34:51 -04:00
Calen Pennington
3e9bbe2550 Make cms.dev environment work with manage.py 2013-07-24 14:49:07 -04:00
Calen Pennington
76055aa211 Add a manage.py command that understands the extra edX options 2013-07-24 09:04:12 -04:00
Calen Pennington
5ba03130aa Moving LMS code into subdirectory 2012-06-06 14:09:01 -04:00
Piotr Mitros
9155eedda3 manage.py has execute permissions 2012-01-17 13:39:49 -05:00
Piotr Mitros
cc1de22e26 Initial commit 2011-12-07 09:28:16 -05:00