Files
edx-platform/lms/envs
Carlos Andrés Rocha 5d85fab283 Fix django auth login redirection
The django authentication decorator login_required, redirects to
settings.LOGIN_URL. If it is missing, it redirects to /accounts/login.

We did not have the setting enable, not a proper page where to
redirect. This cause users not logged in to see a 404 error when
accessing courseware directly, by using a link or a bookmark.

[#41499213]
2012-12-19 18:48:30 -05:00
..
2012-06-06 14:09:01 -04:00
2012-12-07 10:35:44 -05:00
2012-12-19 18:48:30 -05:00
2012-07-27 16:06:54 -04:00
2012-11-30 10:27:34 -05:00

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