Commit Graph

397 Commits

Author SHA1 Message Date
Adrian Holovaty 464e84257d Changed 'django-admin.py startapp' application template to use views.py instead of views package, for simplicity. Updated tutorial to reflect the change.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1258 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-16 02:00:23 +00:00
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