django1/django
Adrian Holovaty ec31445c52 Added '--settings' option to django-admin. This specifies which settings module to use, if you don't want to deal with setting the DJANGO_SETTINGS_MODULE environment variable. Refactored django-admin to use optparse. Updated the tutorials to use '--settings' instead of environment variables, which can be confusing.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 17:42:36 +00:00
..
bin Added '--settings' option to django-admin. This specifies which settings module to use, if you don't want to deal with setting the DJANGO_SETTINGS_MODULE environment variable. Refactored django-admin to use optparse. Updated the tutorials to use '--settings' instead of environment variables, which can be confusing. 2005-07-20 17:42:36 +00:00
conf Cleaned up code in django.conf.settings to move DJANGO_SETTINGS_MODULE into a variable, so other scripts can introspect it. Also made it display a better error message if DJANGO_SETTINGS_MODULE is set to the empty string 2005-07-20 06:05:32 +00:00
contrib Argh: fixed another bug in [244] 2005-07-20 17:12:12 +00:00
core Fixed #97 -- Refactored django-admin.py so that it only contains command-line-interface code. Moved the actual meat into django/core/management.py 2005-07-20 15:00:34 +00:00
middleware Fixed #95 -- Added SECRET_KEY setting instead of hard-coding keys that are shared for every Django installation. 'django-admin.py startproject' now creates a random SECRET_KEY. The auth and comments modules, and the admin middleware, all use SECRET_KEY now, instead of hard-coded values. 2005-07-20 00:37:45 +00:00
models Changed models.auth.Session.get_session_from_cookie to raise SessionDoesNotExist instead of SuspiciousOperation if tamper check fails 2005-07-20 00:57:38 +00:00
parts Changed many-to-many API to be get_FOO_list instead of get_FOOs 2005-07-14 03:17:09 +00:00
templatetags More installation streamlining/automation: Added adminapplist templatetag library and changed the default admin index.html template to display all installed apps that have admins 2005-07-16 23:38:12 +00:00
tests Imported Django from private SVN repository (created from r. 8825) 2005-07-13 01:25:57 +00:00
utils Moved django.views.decorators.cache.compress_string into django.utils.text 2005-07-18 17:23:04 +00:00
views Fixed ForeignKey('self') so that extra cruft parameters aren't necessary. Also refactored the way meta.Admin is handled, so that fields aren't initialized until you manually call meta.Admin.get_field_objs() 2005-07-20 05:46:00 +00:00
__init__.py Imported Django from private SVN repository (created from r. 8825) 2005-07-13 01:25:57 +00:00