Commit Graph

496 Commits

Author SHA1 Message Date
Adrian Holovaty 2d49f70b0d Small style cleanup of docs/generic_views.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1256 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-16 00:25:48 +00:00
Georg Bauer 9b3b250291 added danish translation to the settings documentation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1251 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-15 18:40:10 +00:00
Jacob Kaplan-Moss 400cf5658d Added django.views.generic.simple.redirect_to view for issuing simple redirects. Also updated direct_to_template to use render_to_response to be consistant with coding style, and documented the simple generic views.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1249 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-15 17:19:33 +00:00
Adrian Holovaty ed92d36825 Followup faq change to [1237]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1238 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-15 07:36:09 +00:00
Adrian Holovaty a411d68a10 Added extra paragraphs to 'Why did you write all of Django from scratch' FAQ question
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1237 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-15 07:34:18 +00:00
Adrian Holovaty 74865663bb Fixed #787 -- High-level syndication framework now picks up author details. Also updated documentation. Thanks, mattycakes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1228 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14 05:15:40 +00:00
Adrian Holovaty 7626cb0581 Improved Atom feed-generating framework to output <link rel='self'>. Added a feed_url hook to feedgenerator for this purpose, and changed the syndication Feed and views to use it. Also updated docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1227 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14 04:59:20 +00:00
Adrian Holovaty f6bf41e59a Fixed #121 -- Django now quotes all names in SQL queries. Also added unit tests to confirm. Thanks, Robin Munn and Sune.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14 01:44:35 +00:00
Adrian Holovaty 6e40d8c29f Fixed #783 -- Added AnonymousUser.id = None. Thanks, EABinGA
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1221 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-13 23:33:05 +00:00
Adrian Holovaty 8a0137446f Added Icelandic and Swedish translations to docs/settings.txt LANGUAGES section
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1220 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-13 23:18:22 +00:00
Adrian Holovaty 27eaf5a891 Fixed #782 -- Fixed broken link in docs/overview.txt. Thanks, frederik
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1219 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-13 23:10:27 +00:00
Adrian Holovaty e70be11814 Added 'Safety and security' section to docs/design_philosophies.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1218 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-13 22:59:51 +00:00
Adrian Holovaty b40952b0a1 Fixed #780 -- Fixed typo in docs/modpython.txt. Thanks, jhernandez
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1214 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-13 16:14:14 +00:00
Adrian Holovaty 29bdbc3dbf Added 'Limiting access to generic views' section to docs/authentication.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1212 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-13 04:48:52 +00:00
Adrian Holovaty 46083845d4 Changed slightly misleading example in docs/sessions.txt to use baggage-less 'members' instead of 'users'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1211 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-13 04:43:07 +00:00
Adrian Holovaty 23c9e2aec9 Fixed typo in docs/tutorial03.txt. Thanks, Dave Hodder
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1210 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-13 00:22:39 +00:00
Adrian Holovaty f7d2e9ea9f Grammar cleanups for recent documentation and docstring changes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1209 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-13 00:19:16 +00:00
Georg Bauer f3d1f39559 added the LANGUAGES setting to the settings documentation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1206 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12 21:36:38 +00:00
Georg Bauer 33accf560d updated i18n documentation for the LANGUAGES setting
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1205 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12 21:33:46 +00:00
Adrian Holovaty b2e05910ed Fixed #773 -- Removed reference to CACHE_MIDDLEWARE_GZIP in docs/cache.txt. Thanks, Eugene
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1200 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12 18:17:22 +00:00
Adrian Holovaty a70c04d83b Fixed #774 -- Fixed typos in docs/authentication.txt. Thanks, footless and jbennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1199 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12 18:15:26 +00:00
Adrian Holovaty 91f1b08759 More small tweaks to docs/syndication_feeds.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1197 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12 04:00:35 +00:00
Adrian Holovaty 782edb393b Fixed ReST bug in docs/syndication_feeds.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1196 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12 03:48:53 +00:00
Adrian Holovaty 10214bdac0 Fixed ReST bugs in docs/syndication_feeds.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1195 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12 03:48:14 +00:00
Adrian Holovaty 944de9e9e6 Completely refactored legacy RSS framework to the new django.contrib.syndication package. Also added Atom support, changed the way feeds are registered and added documentation for the whole lot. This is backwards-incompatible, but the RSS framework had not yet been documented, so this should only affect tinkerers and WorldOnline. Fixes #329, #498, #502 and #554. Thanks for various patches/ideas to alastair, ismael, hugo, eric moritz and garthk
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1194 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12 03:44:53 +00:00
Adrian Holovaty e8ae356739 Added 'Install Python' section to docs/install.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1193 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12 03:24:32 +00:00
Adrian Holovaty 1873c95b31 Added INSTALLED_APPS to global_settings. It's an empty tuple by default.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1184 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 22:56:18 +00:00
Adrian Holovaty c62b427b12 Added a link to docs/outputting_csv.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1172 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 14:54:27 +00:00
Adrian Holovaty 16a3822460 Fixed ReST missing link in docs/outputting_csv.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1171 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 14:53:15 +00:00
Adrian Holovaty a3a1fcddc5 Added docs/outputting_csv.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1170 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 14:51:33 +00:00
Adrian Holovaty 1b035c35d9 BACKWARDS-INCOMPATIBLE CHANGE -- Moved flatpages and redirects to standalone apps in django.contrib that are NOT installed by default. See http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges for full migration information.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1166 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 04:45:05 +00:00
Adrian Holovaty a11a1d5e16 Added SITE_ID to docs/settings.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1165 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 03:50:21 +00:00
Adrian Holovaty d0a0a54538 Added INSTALLED_APPS to docs/settings.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 03:25:52 +00:00
Adrian Holovaty d38e882695 Updated docs/middleware.txt to say exception middleware is applied in reverse order.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1162 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 01:14:02 +00:00
Adrian Holovaty 394eafb840 Updated middleware.txt to note that response middleware is applied in reverse
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 00:25:03 +00:00
Adrian Holovaty e3e37ed120 Fixed #724 -- Ensured get_next_by_FOO() and get_previous_by_FOO() methods don't skip or duplicate any records in the case of duplicate values. Thanks for reporting the bug, mattycakes@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1155 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-10 05:36:41 +00:00
Adrian Holovaty f85cd32dbd Improved docs/authentication.txt to note that messages only work with registered users, not anonymous users
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1142 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09 18:07:06 +00:00
Adrian Holovaty 1847c9ef64 Small formatting fix to docs/settings.txt -- MIDDLEWARE_CLASSES example was scrolling off the page
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1140 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09 17:39:18 +00:00
Adrian Holovaty 8b71b9b870 Finished docs/authentication.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1127 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-08 18:45:03 +00:00
Adrian Holovaty c7b28cf7e6 Added 'Serving the admin files' section in docs/modpython.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1124 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-07 14:47:29 +00:00
Adrian Holovaty 54c3367a63 Updated install.txt and modpython.txt to note required Apache and mod_python versions. Also gave full example for Apache config
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1123 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-07 14:39:13 +00:00
Adrian Holovaty c6ef1e0588 Changed register_tag example in docs/templates_python.txt to be consistent with other examples. Thanks, EABinGA
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-07 14:26:40 +00:00
Adrian Holovaty e205b96825 Fixed typo in docs/i18n.txt. Thanks, Esaj
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1121 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-07 14:24:13 +00:00
Adrian Holovaty c6fd835137 Added note about CacheMiddleware to docs/i18n.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1117 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:57:56 +00:00
Adrian Holovaty 371f63c210 Fixed #742 -- Implemented 't' dateformat. Thanks, radek.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1116 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:53:13 +00:00
Adrian Holovaty d4df074d41 Fixed #109 -- Created DATE_FORMAT, DATETIME_FORMAT and TIME_FORMAT settings.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:49:03 +00:00
Adrian Holovaty 72547994c1 Fixed ReST bug in templates.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1114 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:37:20 +00:00
Adrian Holovaty bd0d8a779e Fixed ReST bug in templates.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:36:28 +00:00
Adrian Holovaty eb590d894d Changed headers in docs/templates.txt to match style from other documentation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1112 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:33:23 +00:00
Adrian Holovaty aa89487fd0 Fixed ReST bug in [1110]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:32:22 +00:00
Adrian Holovaty 92241e21b8 Reformatted docs/templates.txt to put headings in filter and tag references, so each tag/filter gets a permalink
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:30:06 +00:00
Adrian Holovaty af4bef19ad Documented meta.Admin list_select_related option from [1092]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1108 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:08:29 +00:00
Adrian Holovaty 1b626e4083 Fixed #723 -- Documented 'django-admin installperms'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1107 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:02:54 +00:00
Adrian Holovaty a218cf5798 Fixed #281 -- Made e-mail address validation much more strict and accurate.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 22:59:18 +00:00
Adrian Holovaty 911a6dfe04 Fixed #319 -- Updated docs/model-api.txt to note that prepopulate_from doesn't accept DateTimeFields
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1105 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 22:53:07 +00:00
Adrian Holovaty e19c9ccfcb Reworded docstrings and settings documentation from [1068]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1098 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 22:22:02 +00:00
Adrian Holovaty e859854d0a Made small edits to docs/i18n.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1090 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-05 04:40:07 +00:00
Adrian Holovaty 0588183976 Fixed ReST bugs in i18n.txt from [1087]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-05 04:24:19 +00:00
Adrian Holovaty 6dbc781a2a Moved translation.txt to i18n.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-05 04:23:10 +00:00
Adrian Holovaty 6e7620baf0 Moderately heavy rewrite of docs/translation.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-05 04:22:25 +00:00
Jacob Kaplan-Moss 5cf8f68423 Merged i18n branch into the trunk! Fixes #65, and perhaps some others. NB: this means that the i18n branch is now obsolete and will be made read-only.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 04:59:46 +00:00
Adrian Holovaty cb45fd0ae2 Added DATABASE_PORT to docs/legacy_databases.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1054 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-02 22:28:08 +00:00
Adrian Holovaty f29205fc7b Updated docs/legacy_databases.txt to remove 'auth_admin_log' from list of tables that shouldn't be in the database, because that's now optional.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1053 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-02 21:55:21 +00:00
Adrian Holovaty 2d5c6ec256 Changed docs/legacy_databases.txt to link to settings docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-02 21:53:32 +00:00
Adrian Holovaty b5df9c308f Improved docs/db-api.txt to specify that case-sensitive ordering isn't supported
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1051 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-02 20:31:12 +00:00
Adrian Holovaty 27efe14c54 Added 'Session IDs in URLs' and 'Session cookies' sections to docs/sessions.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1044 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-02 14:26:55 +00:00
Adrian Holovaty 7136eb8f3a Fixed #507 -- Changed MySQL backend so that it uses 'LIKE BINARY' for case-sensitive comparisons -- contains, startswith and endswith. Thanks, Simon
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1036 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-01 01:08:13 +00:00
Adrian Holovaty 390666ac2b Fixed #508 -- Added support for 'expires' in cookies and changed session middleware to set 'expires' in addition to 'max_age'. Thanks, mark@junklight.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1035 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-01 01:02:07 +00:00
Adrian Holovaty 41d5cff745 Fixed #548 -- Added missing step at the end of docs/tutorial04.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-01 00:49:52 +00:00
Adrian Holovaty 546e368d0b More tightening of docs/cache.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1031 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-31 03:17:39 +00:00
Adrian Holovaty cbe2426369 Made several grammar fixes to cache documentation from [1020]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1030 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-31 03:14:57 +00:00
Jacob Kaplan-Moss fb55717a09 Documented {{{singular}}} argument for m2m relationships (fixes #664).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1025 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-30 14:35:44 +00:00
Jacob Kaplan-Moss 2822f71d08 Fixed #140: memcached backends may now use multiple servers
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1021 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-29 17:05:19 +00:00
Jacob Kaplan-Moss f12e324332 Fixed #612 - added cache control headers (thanks, hugo)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-29 17:00:20 +00:00
Adrian Holovaty d4abd6fb52 Small massaging of docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1006 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-23 22:43:54 +00:00
Adrian Holovaty 17f62269c2 Fixed #479 -- Implemented time-zone formats in dateformat. Thanks, Sune
git-svn-id: http://code.djangoproject.com/svn/django/trunk@992 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-22 21:37:59 +00:00
Adrian Holovaty 411625a761 Some small improvements and fixes to docs/authentication.txt, which still isn't finished
git-svn-id: http://code.djangoproject.com/svn/django/trunk@990 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-22 00:18:39 +00:00
Adrian Holovaty d412dbf46b Added partially completed docs/authentication.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@989 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-22 00:12:56 +00:00
Adrian Holovaty 3e7ea41bbb Added note about ALLOWED_INCLUDE_ROOTS to docs/templates.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@983 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20 21:58:01 +00:00
Adrian Holovaty 169f9d2bd3 Fixed #655 -- Improved 'validator_list' section of docs/model-api.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@978 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20 13:22:20 +00:00
Adrian Holovaty 62db7c5c94 Fixed another ReST bug in template docs from [969]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@971 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20 05:32:49 +00:00
Adrian Holovaty 81fd300a4e Fixed ReST bug in template docs from [969]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@970 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20 05:31:54 +00:00
Adrian Holovaty 4c327b9c86 Lightly refactored django.utils.dateformat to make it use less code. Also integrated some of Sune's improvements from the #479 patch, including support for backslash escaping. Also vastly improved template docs for the {% now %} tag
git-svn-id: http://code.djangoproject.com/svn/django/trunk@969 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20 05:30:11 +00:00
Adrian Holovaty 539e53ccf1 Fixed #317 -- SlugField now accepts hyphens. Thanks, Sune
git-svn-id: http://code.djangoproject.com/svn/django/trunk@968 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20 04:20:52 +00:00
Adrian Holovaty bf5dce64de Fixed #642 -- Added small improvement to EmailField docs. Thanks, Boffbowsh
git-svn-id: http://code.djangoproject.com/svn/django/trunk@967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20 04:03:41 +00:00
Adrian Holovaty d7a69df1b6 Fixed ReST bug in docs/tutorial02.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@950 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-19 01:17:13 +00:00
Adrian Holovaty f07e5d4f5d Fixed #627 -- BACKWARDS-INCOMPATIBLE CHANGE. Admin is now an app, not a middleware. See BackwardsIncompatibleChanges for a full list of changes and information on how to update your code.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@948 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-19 01:09:05 +00:00
Adrian Holovaty 30d7e62828 Fixed ReST bug in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@940 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-18 15:59:06 +00:00
Adrian Holovaty 91bd6eed06 Fixed typo in docs/templates.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@911 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-17 18:08:55 +00:00
Adrian Holovaty 63a3c72e19 Added note about multiple block tags to docs/templates.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@905 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-17 14:26:20 +00:00
Adrian Holovaty 0bb68cd072 Fixed #635 -- Fixed typo in docs/settings.txt. Thanks, anonymous
git-svn-id: http://code.djangoproject.com/svn/django/trunk@902 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-17 13:20:59 +00:00
Adrian Holovaty b223d0fd87 Added note to docs/django-admin.txt about 127.0.0.1 not being accessible from other machines on the network
git-svn-id: http://code.djangoproject.com/svn/django/trunk@900 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-17 13:05:55 +00:00
Adrian Holovaty c686424ed9 Fixed some formatting issues in docs/settings.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@896 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-17 04:59:06 +00:00
Adrian Holovaty 6bec753867 Added docs/settings.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@895 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-17 04:53:03 +00:00
Adrian Holovaty 3df39deede Added 'Loader types' section to docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@893 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-17 03:00:18 +00:00
Adrian Holovaty b9736c5c63 Added 'Designate between GET and POST' section to design_philosophies.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@891 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-17 02:31:35 +00:00
Adrian Holovaty f1ecfe991d Fixed #630 -- Fixed formatting error in docs/model-api.txt. Thanks, ken@kenkinder.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@887 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-16 19:42:16 +00:00
Adrian Holovaty a2e26150b7 Fixed #616 -- Added a process_exception() hook to middleware framework. Thanks, Hugo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@880 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-15 02:20:35 +00:00
Adrian Holovaty f71f854628 Fixed #626 -- Moved template modules to django.core.template package. django.core.template_loader is deprecated, in favor of django.core.template.loader.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14 20:10:13 +00:00
Adrian Holovaty 2db3d9c7cc Reworded part of design_philosophies.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@863 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14 15:04:21 +00:00
Adrian Holovaty f2b8e85360 Fixed ReST bugs in docs/templates.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@862 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14 15:02:44 +00:00
Adrian Holovaty 42f8a069aa Grammar fix to docs/design_philosophies.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@861 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14 14:06:49 +00:00
Adrian Holovaty fdcc9da59c Fixed typo in docs/design_philosophies.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@860 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14 14:05:46 +00:00
Adrian Holovaty ed1c9b2046 Fixed #622 -- Added default_if_none filter. Thanks, Eric
git-svn-id: http://code.djangoproject.com/svn/django/trunk@859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14 03:48:27 +00:00
Adrian Holovaty d5bbe395c2 Small grammar cleanup to design_philosophies.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@857 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14 03:33:54 +00:00
Adrian Holovaty cdfbdfb1b2 Cleaned up 'Assume designer competence' section in docs/design_philosophies.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@856 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14 03:32:34 +00:00
Adrian Holovaty 5e5fe5b5a2 Added docs/design_philosophies.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@855 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14 03:28:03 +00:00
Adrian Holovaty 84a30e7096 Added link to server-arrangements page from docs/install.txt. Thanks, Alice
git-svn-id: http://code.djangoproject.com/svn/django/trunk@849 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-12 13:25:24 +00:00
Adrian Holovaty eb5d802cc2 Fixed ReST bug in docs/model-api.txt from [846]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@847 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-12 04:17:06 +00:00
Adrian Holovaty 5f9fe6d403 Fixed #589 -- Added FilePathField. It's available as an ORM field and as a standalone field in django.core.formfields. Thanks, jay@skabber.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-12 04:14:21 +00:00
Adrian Holovaty 9fdacc7a66 Added note to docs/modpython.txt about non-dev arrangements not serving admin media files
git-svn-id: http://code.djangoproject.com/svn/django/trunk@845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-12 03:52:05 +00:00
Adrian Holovaty 179017afb5 Fixed formatting bug in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@842 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-11 18:32:48 +00:00
Adrian Holovaty fef8adefe1 Fixed #605 -- Fixed template-name errors in docs/generic_views.txt. Thanks, cygnus@cprogrammer.org
git-svn-id: http://code.djangoproject.com/svn/django/trunk@828 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-10 22:23:44 +00:00
Jacob Kaplan-Moss b8f70f8c94 Updated docs to reflect changes in [824]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@826 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-10 20:23:53 +00:00
Adrian Holovaty eb4f16e666 Improved docs/db-api.txt to say add_FOO() methods always return the newly-created object.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@825 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-10 20:18:56 +00:00
Adrian Holovaty 474cfe56d4 Fixed #601 -- Updated docs/model-api.txt unique_together section to say it's enforced at the database level.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@822 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-10 14:00:20 +00:00
Adrian Holovaty 22bbdc633c Changed some formatting in docs/middleware.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-09 01:08:58 +00:00
Adrian Holovaty fd4ddb179f Fixed ReST error in docs/cache.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@813 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-09 01:03:04 +00:00
Adrian Holovaty df794701d0 Fixed small typo in docs/cache.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@812 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-09 01:02:30 +00:00
Adrian Holovaty d65526d688 Fixed #580 -- Added mega support for generating Vary headers, including some view decorators, and changed the CacheMiddleware to account for the Vary header. Also added GZipMiddleware and ConditionalGetMiddleware, which are no longer handled by CacheMiddleware itself. Also updated the cache.txt and middleware.txt docs. Thanks to Hugo and Sune for the excellent patches
git-svn-id: http://code.djangoproject.com/svn/django/trunk@810 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-09 00:55:08 +00:00
Adrian Holovaty 9f7e2f38dd Fixed ReST formatting for docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@795 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-06 17:29:59 +00:00
Adrian Holovaty eaa8db131d Changed docs/django-admin.txt to add a link to diveintopython's explanation of Python import search path
git-svn-id: http://code.djangoproject.com/svn/django/trunk@794 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-06 17:27:13 +00:00
Adrian Holovaty c8930e3af4 Fixed #357 -- Added a '--pythonpath' option to django-admin. Thanks for the patch, Hugo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@793 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-06 17:22:23 +00:00
Adrian Holovaty 16f9b08611 Clarified get_FOO_list part of docs/db-api.txt to specify keyword arguments are also accepted
git-svn-id: http://code.djangoproject.com/svn/django/trunk@781 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-05 22:47:36 +00:00
Adrian Holovaty 78b8fcc235 Fixed typo in docs/outputting_pdf.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@772 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-04 15:17:22 +00:00
Adrian Holovaty 6f07f717c0 Fixed #591 -- fixed typo in docs/templates_python.txt. Thanks, Boffbowsh
git-svn-id: http://code.djangoproject.com/svn/django/trunk@771 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-04 13:34:59 +00:00
Adrian Holovaty da71528717 Added missing period to docs/outputting_pdf.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@754 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-30 22:07:19 +00:00
Adrian Holovaty 53581d6d8d Small tweak to docs/outputting_pdf.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@753 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-30 22:05:44 +00:00
Adrian Holovaty a0595851b6 Added docs/outputting_pdf.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@752 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-30 22:02:51 +00:00
Adrian Holovaty 7cc9526b2e Fixed typo in docs/tutorial01.txt. Thanks, Aggelos Orfanakos
git-svn-id: http://code.djangoproject.com/svn/django/trunk@747 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-30 16:40:15 +00:00
Adrian Holovaty acde573821 Fixed typo in docs/db-api.txt. Thanks, Aggelos Orfanakos
git-svn-id: http://code.djangoproject.com/svn/django/trunk@746 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-30 16:39:05 +00:00
Adrian Holovaty 5595fe2aa6 Fixed typo in docs/tutorial03.txt. Thanks, Aggelos Orfanakos
git-svn-id: http://code.djangoproject.com/svn/django/trunk@745 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-30 16:38:03 +00:00
Jacob Kaplan-Moss 1838c76307 Fixed #472 - added notes about File/ImageFields from the FAQ to the model API doc
git-svn-id: http://code.djangoproject.com/svn/django/trunk@742 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-30 13:49:43 +00:00
Jacob Kaplan-Moss 27b1f69d79 Fixed #295 - added {{{forloop.revcounter}}} and {{{forloop.revcounter0}}} variables to for loops. Also updated the docs and added unit tests to verify correct behavior. Thanks, Clint.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@736 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29 23:34:29 +00:00
Adrian Holovaty 3dd1d28c7f Clarified potentially confusing sentence in docs/modpython.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29 19:56:17 +00:00
Adrian Holovaty 8b67f5f829 Fixed #567 -- Added HttpRequest.has_key() method. Thanks, wojtek3@brandlay.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@711 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-27 16:33:25 +00:00
Adrian Holovaty 787ff70e9d Fixed #563 -- Fixed minor typo in docs/cache.txt. Thanks, Eugene
git-svn-id: http://code.djangoproject.com/svn/django/trunk@705 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-27 04:25:08 +00:00
Adrian Holovaty c084005d58 Fixed #131 -- URLconfs that are 'included' now receive captured parameters from parent URLconfs. Thanks for the idea, jcernelli@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@704 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-27 04:24:19 +00:00
Adrian Holovaty 7f4067100c Fixed #150 -- Clarified DATABASE_NAME description in docs/tutorial01.txt for SQLite. Thanks, lstep@adelux.fr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@703 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-27 03:38:15 +00:00
Jacob Kaplan-Moss 0fa1aa8711 Added a database-backed cache backend, along with a tool in django-admin to
create the necessary table structure.  This closes #515; thanks again, 
Eugene!


git-svn-id: http://code.djangoproject.com/svn/django/trunk@692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-25 22:03:30 +00:00
Adrian Holovaty 6b4095ad10 Fixed small typo in docs/db-api.txt. Thanks, Rachel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@691 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-25 21:57:32 +00:00
Adrian Holovaty f053130f67 Fixed ReST bugs in [689]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@690 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-25 21:54:51 +00:00
Adrian Holovaty 9e03747ebb Fixed ReST bugs in [688]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@689 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-25 21:53:06 +00:00
Adrian Holovaty c2e42e1c5c Beefed up docs/db-api.txt, adding a section for each automatic module-level API function -- and optional ones, too
git-svn-id: http://code.djangoproject.com/svn/django/trunk@688 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-25 21:47:31 +00:00
Adrian Holovaty 2e8e256fe8 Improved docs/templates.txt to add example for slice filter. Thanks for the suggestion, Graham Higgins
git-svn-id: http://code.djangoproject.com/svn/django/trunk@681 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-24 17:39:20 +00:00
Adrian Holovaty eb3b1cfb81 Fixed ReST bug in [678]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@679 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-23 22:51:08 +00:00
Adrian Holovaty b7528320b6 Changed overview and tutorial docs to use render_to_response and get_object_or_404, to cut down on code
git-svn-id: http://code.djangoproject.com/svn/django/trunk@678 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-23 22:50:05 +00:00
Adrian Holovaty 39a907a051 Added request.session.delete_test_cookie()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@669 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-23 01:28:44 +00:00
Adrian Holovaty 3dc1ede871 Fixed #236 -- Added HttpResponse.delete_cookie() method.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@668 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-23 01:17:39 +00:00
Adrian Holovaty 88a65ddd7f Added ManyToManyField filter doesn't display question to FAQ
git-svn-id: http://code.djangoproject.com/svn/django/trunk@653 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-20 03:24:01 +00:00