* All access control logic is now in access.py * It exports a single method for general use: has_access(user, object, action) - possible actions depend on object type (e.g. 'see_exists', 'enroll', 'staff') * Removed DARK_LAUNCH feature flag--it is now the default behavior * Replaced check_course with three separate more focused functions that use has_access Minor things: * note on using pdb in testing * moved time parsing helper into timeparse.py * x_modules now have a .start attribute (None if not in metadata)
Transitional for moving to new settings scheme. To use: rake lms or django-admin.py runserver --settings=lms.envs.dev --pythonpath=. NOTE: Using manage.py will automatically run mitx/settings.py first, regardless of what you send it for an explicit --settings flag. It still works, but might have odd side effects. Using django-admin.py avoids that problem. django-admin.py is installed by default when you install Django. To use with gunicorn_django in debug mode: gunicorn_django lms/envs/dev.py