Commit Graph

9287 Commits

Author SHA1 Message Date
Adrian Holovaty f3a43a2dd4 Folded django.core.handler.CoreHandler.get_request() into CoreHandler.call()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 03:13:02 +00:00
Adrian Holovaty dd85d8da10 Fixed #50 -- Fixed small bug in tutorial1 directory-listing example. Thanks, sirpete@iki.fi!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@163 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 02:48:52 +00:00
Adrian Holovaty 683755118f Fixed #53 -- Thanks, Dobbes!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@162 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 02:38:44 +00:00
Adrian Holovaty b1c543d091 Factored out database-specific date_trunc behavior into dbmod.get_date_trunc_sql(). Refs #46
git-svn-id: http://code.djangoproject.com/svn/django/trunk@161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 20:16:06 +00:00
Adrian Holovaty d4ddc06021 Changed core.db to give a friendlier error message if the DATABASE_ENGINE setting is invalid
git-svn-id: http://code.djangoproject.com/svn/django/trunk@160 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 20:03:24 +00:00
Adrian Holovaty 272b217557 Factored out database-specific date_extract behavior into dbmod.get_date_extract_sql(). Refs #46
git-svn-id: http://code.djangoproject.com/svn/django/trunk@159 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 18:23:34 +00:00
Adrian Holovaty 35e81ce5af Changed models.auth.LogEntry.get_admin_url NOT to be hard-coded with an initial slash
git-svn-id: http://code.djangoproject.com/svn/django/trunk@158 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 17:44:57 +00:00
Adrian Holovaty 58df4ce636 Fixed #40 -- Removed legacy code from meta.py method_set_related_many_to_many(). Thanks, jforeman@hark.org
git-svn-id: http://code.djangoproject.com/svn/django/trunk@157 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 17:27:34 +00:00
Adrian Holovaty 6ae4def03b Fixed #42 -- OneToOneField now works with SQL generation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@156 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 17:22:17 +00:00
Adrian Holovaty 729fc547ef Changed setup.py to include admin_templates. Thanks for the heads-up, Freewheel and Nicholas Riley!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@155 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 17:05:01 +00:00
Wilson Miner 9629e40f35 Fixed img paths in css to point to img/admin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@154 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 16:26:46 +00:00
Wilson Miner 1680686e3a Fixed path to icon_searchbox.png
git-svn-id: http://code.djangoproject.com/svn/django/trunk@153 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 16:14:29 +00:00
Wilson Miner 35c16cba2c Moved admin images to correct path specified in views/admin/main.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@152 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 16:11:13 +00:00
Adrian Holovaty fe3373c794 Fixed inevitable ReST bugs in [150]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@151 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 15:59:59 +00:00
Adrian Holovaty f87473e12d Fixed inevitable ReST bugs in [149]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 15:59:37 +00:00
Adrian Holovaty 7718319cbd Fixed inevitable ReST bugs in [148]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@149 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 15:58:53 +00:00
Adrian Holovaty ad8e55db9b Added notes to documentation that MySQL support has not been comprehensively tested. Thanks, Simon!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@148 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 15:53:56 +00:00
Wilson Miner aef751972c Fixed #43
git-svn-id: http://code.djangoproject.com/svn/django/trunk@147 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 15:35:22 +00:00
Adrian Holovaty 7e951c92f3 Changed tutorial01 to clarify how to set an environment variable in Windows. Thanks, JZ!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 15:23:34 +00:00
Adrian Holovaty 136d78b86e Fixed typo in template docs -- Thanks, Nicholas Riley and Robin Munn!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@145 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 15:15:26 +00:00
Adrian Holovaty 0b62adddb2 Linked tutorial 2 to the admin CSS guide
git-svn-id: http://code.djangoproject.com/svn/django/trunk@144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 06:30:31 +00:00
Adrian Holovaty a1ef6aa10b Fixed mistake in tutorial01 -- it mentioned expiration date by mistake. Thanks for the pointer, Barryp!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 06:12:58 +00:00
Adrian Holovaty c9cc6f87f9 Finished tutorial02 and added a link to it from tutorial01
git-svn-id: http://code.djangoproject.com/svn/django/trunk@142 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 06:11:33 +00:00
Adrian Holovaty 7ade767819 Tiny tweaks to tutorial02.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@141 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 05:54:43 +00:00
Adrian Holovaty 069bd054fd Fixed small formatting errors in [139]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@140 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 05:53:34 +00:00
Adrian Holovaty 081f2f8c8d Added 'Customize the admin change list' section to docs/tutorial02.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@139 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 05:52:07 +00:00
Adrian Holovaty 5162e4745f Fixed the inevitable ReST bug in [137]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@138 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 05:22:48 +00:00
Adrian Holovaty af86b4e4b1 Added 'Adding related objects' section to docs/tutorial02.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@137 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 05:21:19 +00:00
Adrian Holovaty 5e309eb6e4 Copy-edited model-API docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@136 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 04:20:57 +00:00
Wilson Miner d0e5eab657 Added missing admin images (for real this time)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 03:58:08 +00:00
Adrian Holovaty 81215d7933 Improved tutorial02 to discuss login errors, linking to the FAQ
git-svn-id: http://code.djangoproject.com/svn/django/trunk@134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 02:59:31 +00:00
Adrian Holovaty 4211bcb437 Added an example to one of the FAQ answers from [132]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@133 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 02:46:04 +00:00
Adrian Holovaty 364f3704b0 Added two admin login-related questions to the FAQ
git-svn-id: http://code.djangoproject.com/svn/django/trunk@132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 02:43:18 +00:00
Adrian Holovaty 2b681e9203 Changed FAQ 'Who's behind this' to give our locations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@131 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 02:21:54 +00:00
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