0
0
mirror of https://github.com/django/django.git synced 2024-11-29 22:56:46 +01:00
Commit Graph

22853 Commits

Author SHA1 Message Date
Adrian Holovaty
f926982800 Fixed ReST errors in docs/tutorial02.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@130 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 01:00:25 +00:00
Adrian Holovaty
c012d6ccf1 Added first part of docs/tutorial02.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@129 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 00:54:15 +00:00
Adrian Holovaty
82f0468801 Changed generic admin changelist to order by ID if no other ordering is specified, rather than raising a scary exception
git-svn-id: http://code.djangoproject.com/svn/django/trunk@128 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 23:58:49 +00:00
Adrian Holovaty
cfcf3ca1e3 More installation streamlining/automation: Added adminapplist templatetag library and changed the default admin index.html template to display all installed apps that have admins
git-svn-id: http://code.djangoproject.com/svn/django/trunk@127 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 23:38:12 +00:00
Adrian Holovaty
a2a7fd0b82 Added help_text to auth.User.password_md5
git-svn-id: http://code.djangoproject.com/svn/django/trunk@126 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 23:34:07 +00:00
Adrian Holovaty
d9e5a4ea5b Removed an unneeded line of code in django/templatetags/adminmedia.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@125 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 23:00:04 +00:00
Adrian Holovaty
a22f823e00 More installation streamlining: Added default urlconfs, for both main and admin, to project_template. Changed ROOT_URLCONF in default main and admin settings to point at their respective default urlconfs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@124 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 22:58:29 +00:00
Adrian Holovaty
820e12dac6 Temporarily commented-out the link to 'forgotten your password?' on the default admin login.html template
git-svn-id: http://code.djangoproject.com/svn/django/trunk@123 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 22:44:37 +00:00
Adrian Holovaty
1e0fb3b7a3 Added helpful error message if DATABASE_NAME or DATABASE_USER is blank for postgresql
git-svn-id: http://code.djangoproject.com/svn/django/trunk@122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 22:21:50 +00:00
Wilson Miner
b9ec05d4c0 Fixed formatting in admin css docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@121 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 22:19:10 +00:00
Adrian Holovaty
60bdadb9a3 Moved django.core.handler.ImproperlyConfigured into django.core.exceptions
git-svn-id: http://code.djangoproject.com/svn/django/trunk@120 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 22:12:24 +00:00
Wilson Miner
980b3ce696 One more extra image.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@119 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 22:07:47 +00:00
Wilson Miner
e6a39617e5 Removed unneeded images
git-svn-id: http://code.djangoproject.com/svn/django/trunk@118 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 22:07:20 +00:00
Wilson Miner
6aa49f2675 Added missing images, updated copyright on stylesheets
git-svn-id: http://code.djangoproject.com/svn/django/trunk@117 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 22:03:37 +00:00
Adrian Holovaty
8cb4eeeafe Changed delete_stage admin view to run strip_tags on repr() of object to be deleted
git-svn-id: http://code.djangoproject.com/svn/django/trunk@116 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 21:21:02 +00:00
Adrian Holovaty
87b7703bd3 Fixed bug in template example in docs/overview.txt -- thanks, pbx!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 21:17:58 +00:00
Adrian Holovaty
31cd933263 Copy-edited docs/faq.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@114 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 21:16:40 +00:00
Adrian Holovaty
caef61945d Fixed #39 -- Thanks for the research, deelan!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 21:10:25 +00:00
Jacob Kaplan-Moss
058c526ef9 Rolled comments from template page into FAQ
git-svn-id: http://code.djangoproject.com/svn/django/trunk@112 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 17:13:20 +00:00
Jacob Kaplan-Moss
fca1ef1d15 Rolled comments from install and faq pages into those docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 17:01:38 +00:00
Adrian Holovaty
5721396426 Fixed inconsistent capitalization in [109]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 16:56:27 +00:00
Adrian Holovaty
361be49fe7 Changed postgresql DB backend so that it gives a helpful error message if people are using psycopg 2 instead of version 1
git-svn-id: http://code.djangoproject.com/svn/django/trunk@109 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 16:55:11 +00:00
Adrian Holovaty
68baafc110 Added ADMIN_MEDIA_PREFIX setting instead of hard-coding /m/
git-svn-id: http://code.djangoproject.com/svn/django/trunk@108 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 16:38:28 +00:00
Adrian Holovaty
470db1208d Changed docs/install.txt to add a short description of what mod_python is, and a link to the WSGI PEP
git-svn-id: http://code.djangoproject.com/svn/django/trunk@107 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-16 16:25:19 +00:00
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