Commit Graph

15329 Commits

Author SHA1 Message Date
Jacob Kaplan-Moss 9049477738 Changed [105] to match our code standards
git-svn-id: http://code.djangoproject.com/svn/django/trunk@106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 16:10:04 +00:00
Jacob Kaplan-Moss f69ce6c2b3 django.conf.settings now fails loudly if DJANGO_SETTINGS_MODULE is broken in any way.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@105 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 16:07:04 +00:00
Adrian Holovaty b4168db4af Changed tutorial01 so that it explicitly says: Make sure you've already created the database
git-svn-id: http://code.djangoproject.com/svn/django/trunk@104 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 16:01:34 +00:00
Wilson Miner edba7a435f Broadened scope of admin docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@103 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 14:41:31 +00:00
Adrian Holovaty fca9ba3f8c Set executable bit on django-admin.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@102 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 06:00:19 +00:00
Adrian Holovaty 2b40dee38d Changed django-admin so that it doesn't load django.core.db or django.core.meta unless it needs to. As a result, 'django-admin startproject' works even if the database parameters are set incorrectly
git-svn-id: http://code.djangoproject.com/svn/django/trunk@101 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 05:44:50 +00:00
Adrian Holovaty 451cdae8ae Added link to installation guide from docs/tutorial01.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@100 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 05:34:17 +00:00
Adrian Holovaty e327294ade Renamed docs/tutorial.txt to docs/tutorial01.txt in preparation for the long list of extremely helpful tutorials
git-svn-id: http://code.djangoproject.com/svn/django/trunk@99 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 05:20:04 +00:00
Adrian Holovaty a5a3eca757 Fixed a bunch of ReST-related bugs in docs/tutorial.txt and made some improvements
git-svn-id: http://code.djangoproject.com/svn/django/trunk@98 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 05:19:28 +00:00
Adrian Holovaty d30ffb4db6 Added docs/tutorial.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@97 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 04:55:40 +00:00
Adrian Holovaty dd5320d1d5 Added admin media to the Django distribution
git-svn-id: http://code.djangoproject.com/svn/django/trunk@96 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 04:27:41 +00:00
Adrian Holovaty c0daa77ea6 django-admin.py startproject now automatically points admin TEMPLATE_DIRS setting at the location of the default admin templates
git-svn-id: http://code.djangoproject.com/svn/django/trunk@95 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 04:07:06 +00:00
Adrian Holovaty 635220c5cc Moved default admin templates from templates.admin to django.conf.admin_templates
git-svn-id: http://code.djangoproject.com/svn/django/trunk@94 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 04:02:41 +00:00
Adrian Holovaty d095db81f5 'django-admin.py init' now creates a site in the sites table, and project_template.settings.main.SITE_ID is now set to 1
git-svn-id: http://code.djangoproject.com/svn/django/trunk@93 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 03:48:36 +00:00
Adrian Holovaty 52f5c949e9 Added default Django admin templates
git-svn-id: http://code.djangoproject.com/svn/django/trunk@92 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 03:46:17 +00:00
Adrian Holovaty 40b8afaf32 Added ROOT_URLCONF and MIDDLEWARE_CLASSES to project_template.settings.admin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@91 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 03:12:07 +00:00
Adrian Holovaty 07c8a965b6 Fixed small typo in overview
git-svn-id: http://code.djangoproject.com/svn/django/trunk@90 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 02:40:24 +00:00
Adrian Holovaty 8d0610d054 Gave django.core.meta.Model a repr(), as a fallback
git-svn-id: http://code.djangoproject.com/svn/django/trunk@89 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 23:48:54 +00:00
Adrian Holovaty dc5f2506d1 Changed 'django-admin sqlclear' to output deletion of content_types table now that we're not using ON DELETE CASCADE anymore
git-svn-id: http://code.djangoproject.com/svn/django/trunk@88 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 23:43:17 +00:00
Adrian Holovaty 0a35fce98a Changed 'django-admin startapp' so that it try to write to INSTALLED_APPS magically. Also changed 'django-admin sqlclear' to reverse the output
git-svn-id: http://code.djangoproject.com/svn/django/trunk@87 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 23:41:39 +00:00
Adrian Holovaty 8c61d243df Fixed tiny formatting bug in install.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@86 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 22:45:03 +00:00
Adrian Holovaty 97daa07bfe Added clarification about psycopg version 1, not version 2
git-svn-id: http://code.djangoproject.com/svn/django/trunk@85 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 22:44:39 +00:00
Adrian Holovaty 3eaa0cf126 Changed docs/install to point out that you need Python DB bindings
git-svn-id: http://code.djangoproject.com/svn/django/trunk@84 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 22:43:30 +00:00
Adrian Holovaty 03f72b629d Fixed small bug in auto-generated comment in project_template.settings.main
git-svn-id: http://code.djangoproject.com/svn/django/trunk@83 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 22:36:26 +00:00
Adrian Holovaty fd5b0fa55c Added project_template.settings.admin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@82 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 22:35:17 +00:00
Adrian Holovaty 5c7b04122a Added DATABASE_PASSWORD stub to project_template/settings/main
git-svn-id: http://code.djangoproject.com/svn/django/trunk@81 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 22:32:37 +00:00
Adrian Holovaty 8718675469 Changed DEBUG to be True by default in new projects
git-svn-id: http://code.djangoproject.com/svn/django/trunk@80 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 22:29:10 +00:00
Adrian Holovaty d75fde94a7 Changed django-admin startproject so that it doesn't copy .pyc files
git-svn-id: http://code.djangoproject.com/svn/django/trunk@79 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 22:24:51 +00:00
Adrian Holovaty 7aed83c854 Fixed typo in install.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@78 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 22:14:15 +00:00
Adrian Holovaty 158b54380e Added a small clarification to doc/install.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@77 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 21:53:20 +00:00
Adrian Holovaty 835240cf04 Added some spacing to doc/install.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@76 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 21:52:16 +00:00
Adrian Holovaty 246402a233 Added Apache and DB instructions to doc/install.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@75 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 21:51:05 +00:00
Jacob Kaplan-Moss 7fcae93850 Fixed small indentation error in [73]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@74 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 21:46:44 +00:00
Wilson Miner 6b68559c9a Clarified template documentation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@73 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 21:44:19 +00:00
Jacob Kaplan-Moss 8d1623e68b Fixed a few small errors in the install doc
git-svn-id: http://code.djangoproject.com/svn/django/trunk@72 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 21:26:43 +00:00
Adrian Holovaty 0d2b5e33cd Added docs/install.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@71 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 21:21:18 +00:00
Jacob Kaplan-Moss 4c4f135418 Added URL config documentation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@70 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 21:17:52 +00:00
Jacob Kaplan-Moss c1c308468e Fixed small error in overview doc
git-svn-id: http://code.djangoproject.com/svn/django/trunk@69 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 20:53:17 +00:00
Adrian Holovaty 41c99f35db Changed setup.py author and added django-admin to distutils 'scripts'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@68 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 20:46:05 +00:00
Jacob Kaplan-Moss 604cd7fe14 Yes yes yes -- more documentation improvements
git-svn-id: http://code.djangoproject.com/svn/django/trunk@67 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 20:37:03 +00:00
Adrian Holovaty 05c5dabb8f Added ez_setup.py -- companion to [65]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@66 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 19:50:29 +00:00
Adrian Holovaty 775f433988 Moved django.bin.setup to root level and converted it to use setuptools. Still not ready for prime time, though
git-svn-id: http://code.djangoproject.com/svn/django/trunk@65 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 19:49:10 +00:00
Jacob Kaplan-Moss 8acc6048e8 Removed the vestigal get_choices_from from ManyToMany relations.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@64 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 19:44:52 +00:00
Adrian Holovaty 64c0ae5204 Linked-up Apache, Python and PostgreSQL in the FAQ
git-svn-id: http://code.djangoproject.com/svn/django/trunk@63 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 19:41:54 +00:00
Jacob Kaplan-Moss 1380de538a Changed name on LICENSE to be lawyerriffic
git-svn-id: http://code.djangoproject.com/svn/django/trunk@62 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 19:38:37 +00:00
Adrian Holovaty b1ccec3d3d Fixed typo in FAQ -- Thanks, nathancolgate
git-svn-id: http://code.djangoproject.com/svn/django/trunk@61 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 19:38:35 +00:00
Adrian Holovaty c8cae5bed9 Removed gunk from legacy django.bin.setup, although distutils installation isn't done yet
git-svn-id: http://code.djangoproject.com/svn/django/trunk@60 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 19:18:09 +00:00
Adrian Holovaty dc2933f73b Fixed #3 -- Made OneToOneField act like ForeignKey and ManyToManyField. This is the last big API change before the official launch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@59 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 18:40:21 +00:00
Adrian Holovaty 7b47dcd773 Changed faq to add 'What does Django mean'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@58 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 17:59:30 +00:00
Adrian Holovaty f4c581158d Renamed CMSRequest to DjangoRequest, and CMSContext to DjangoContext. Old code will still work.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@57 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-15 17:09:01 +00:00