]> snippets.scripts.mit.edu Git - Scripts/git/.git/blame - django/mit/README
Add README and COPYING for django/mit/
[Scripts/git/.git] / django / mit / README
CommitLineData
300e8f6a
AD
1__init__.py contains some useful functionality for Django applications running
2at MIT, particularly on the scripts.mit.edu platform
3* zephyr(msg, clas, instance, rcpt) sends a zephyr (by shelling out to zwrite).
4 This may be useful for debugging or logging
5* ScriptsRemoteUserMiddleware and ScriptsRemoteUserBackend work together to
6 auto-create users from certificates on scripts.mit.edu-hosted sites. Account
7 details are automatically retrieved from LDAP.
8* scripts_login is a view that tries to log users into a site using certs.
9
10To use them, you'll probably want to symlink or copy this directory ("mit")
11into your project, add it to your apps list, and modify your middlewares and
12auth backend appropriately. Do *not* link the django directory into your app;
13it's reasonably likely to break your "import django.foo" statements.
14
15This code is descended from work on Remit (https://remit.scripts.mit.edu/trac/)
16and the ASA DB (https://asa.scripts.mit.edu/trac/); current and past bugs are
17likely to be filed there.