Commit Graph

737 Commits

Author SHA1 Message Date
Jacob Kaplan-Moss 2a8a32c449 Added a CACHE_MIDDLEWARE_ANONYMOUS_ONLY setting which makes the cache ignore pages served to authenticated users. Fixes #1509 (thanks, Matt).
Also added a FAQ entry about using this setting to avoid caching of the admin interface. 


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3395 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-20 15:37:12 +00:00
Malcolm Tredinnick e6e663371b Fixed #2354 -- Added a note about "manage.py validate" to the list of useful
commands.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3362 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-19 02:28:35 +00:00
Malcolm Tredinnick 51705f60b1 Fixed #2332 -- Introduced is_authenticated() method on User and AnonymousUser classes. Recommended its use over is_anonymous in the docs. Changed internal Django use to match this recommendation. Thanks to SmileyChris and Gary Wilson for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3360 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-19 02:09:26 +00:00
Malcolm Tredinnick 533594d1a5 Fixed #2355 -- Corrected a couple of small typos in code examples in tutorial03.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3359 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-19 01:35:58 +00:00
Adrian Holovaty c6cbfb3d7c Documented allow_tags attribute for admin change list methods
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3358 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-17 14:59:41 +00:00
Adrian Holovaty e26f288823 Added 'Turning off auto-reload' section to docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3357 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-17 14:58:39 +00:00
Adrian Holovaty 6870edf2a0 Fixed #2356 -- Removed references to get_object() from docs/tutorial03.txt. Thanks, toddobryan
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3356 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-17 14:16:17 +00:00
Malcolm Tredinnick 50448de634 Fixed #2347 -- documented the use of "and" in the blocktrans template tag.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3345 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14 02:57:10 +00:00
Adrian Holovaty cb19acf6fb Changed masochistic to sadistic in docs/templates.txt. Thanks, hedronist
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3340 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14 00:56:03 +00:00
Adrian Holovaty 36e4e5a938 Proofread docs/settings.txt changes from [3336]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3337 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-13 03:52:41 +00:00
Malcolm Tredinnick e88a9cc9a4 Made it clear that we do not alter the process environment when manual settings
configuration is used.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3336 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-12 07:40:28 +00:00
Adrian Holovaty 93b21610b9 Added note to docs/settings.txt and docs/i18n.txt about not importing from django.utils.translation in the settings file
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3318 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 02:49:56 +00:00
Adrian Holovaty 4872e16d1c Decimated 'whilst' in docs/templates_python.txt from [3308]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3312 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 14:22:04 +00:00
Malcolm Tredinnick 9af47730da Typo fixing.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 10:50:04 +00:00
Malcolm Tredinnick 927d87d732 Fixed #2320 -- corrected numerous errors in the custom tag examples in
python_templates.txt. Also fixed an argument parsing error for such tags.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3308 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 10:48:08 +00:00
Adrian Holovaty c1847294b8 Fixed #2301 -- Added list_display_links option to 'class Admin', which regulates which fields in the change list have links. Thanks, kilian
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3307 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 04:16:26 +00:00
Russell Keith-Magee c431ade5f5 Refs #2217 -- Updated DB API docs to discuss filtering using objects rather than IDs. Second attempt - forgot to save before commit last time.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-09 03:53:11 +00:00
Russell Keith-Magee 88189399b1 Refs #2217 -- Updated DB API docs to discuss filtering using objects rather than IDs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3301 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-09 03:51:37 +00:00
Adrian Holovaty 2eb492ba60 Fixed django.utils.httpwrappers call in docs/outputting_pdf.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-08 14:14:28 +00:00
Adrian Holovaty 8daddd4fae Fixed #1977 -- Added clarification about TIME_ZONE setting.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3297 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07 22:39:43 +00:00
Adrian Holovaty 1c3689ccd5 Fixed ReST error in docs/settings.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3296 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07 22:29:02 +00:00
Adrian Holovaty 5f33157f62 Fixed #2295 -- Improved docs/sessions.txt to note INSTALLED_APPS requirement.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3295 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07 22:25:32 +00:00
Adrian Holovaty 49e5f5450d Fixed #2272 -- Improved SQLite database introspection. Thanks, dne@mayonnaise.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3285 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07 04:06:00 +00:00
Adrian Holovaty 930929e2b9 Fixed small typo in docs/forms.txt. Thanks, Antonio Cavedoni
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3280 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-06 14:23:37 +00:00
Russell Keith-Magee b9d9351e85 Fixes #2202 -- Added ability to customize output of pluralize filter to handle irregular cases (walrus/walruses, cherry/cherries). Thanks to gid for the suggestion and the initial patch
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-04 06:18:39 +00:00
Adrian Holovaty 37aeabe71f Proofread newest changes to docs/authentication.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3256 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-03 02:12:24 +00:00
Adrian Holovaty b3debd80ed Small cleanups to docs/authentication.txt, but still not properly reworded/proofread
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3255 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-02 15:24:49 +00:00
Adrian Holovaty e37bb07bc6 Fixed #2274 -- Fixed error in settings documentation. Thanks, Le Roux Bodenstein
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3252 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-01 03:31:14 +00:00
Adrian Holovaty bd6a758e5c Added note to docs/add_ons.txt about reading the source code.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3251 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-01 03:25:48 +00:00
Adrian Holovaty 4a324ba7ac Added USE_I18N setting, which lets you turn off internationalization overhead with a single setting. Defaults to True. Currently only affects the admin i18n JavaScript, but I'll be adding other optimizations.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-01 03:09:14 +00:00
Jacob Kaplan-Moss c9032ab07f Added a JSON serializer, a few more tests, and a couple more lines of docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3237 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-29 16:42:49 +00:00
Adrian Holovaty 963d88a809 Added 'How do I add database-specific options to my CREATE TABLE statements, such as specifying MyISAM as the table type?' to faq.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3236 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-29 03:57:19 +00:00
Adrian Holovaty 07687c516e Fixed #2263 -- Fixed typo in docs/authentication.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3235 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-29 03:57:01 +00:00
Jacob Kaplan-Moss aab3a418ac Merged multi-auth branch to trunk. See the authentication docs for the ramifications of this change. Many, many thanks to Joseph Kocherhans for the hard work!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3226 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-28 16:37:02 +00:00
Jacob Kaplan-Moss 4ea7a11659 Added initial cut at serialization framework, along with some basic tests and a stab at some docs. This is all a bit rough right now, so expect some bumps.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3225 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-28 16:00:37 +00:00
Jacob Kaplan-Moss 48562965b9 Added {{{Manager.create()}}} method to create and save an object in a single step.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3217 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-27 20:36:25 +00:00
Adrian Holovaty e923ed2a83 Fixed #2158 -- Added title_template and description_template hooks to Feed class in syndication framework.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3214 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-26 23:19:03 +00:00
Adrian Holovaty d2b952377c Added information about flup to docs/fastcgi.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3211 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-26 12:48:47 +00:00
Adrian Holovaty cb73fed1ac Added links to FastCGI docs from various places
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3210 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-26 12:43:21 +00:00
Adrian Holovaty b410464a00 Finished proofreading docs/fastcgi.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3209 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-26 12:30:29 +00:00
Malcolm Tredinnick 25ffce4c83 Fixed #2235 -- corrected a couple of typos pointed out by jvinet@zeroflux.org.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3205 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-26 03:02:42 +00:00
Adrian Holovaty 2211eddb36 More proofreading to docs/fastcgi.txt. Still not finished.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3204 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-26 01:18:56 +00:00
Adrian Holovaty d8acac975a Fixed typo in docs/request_response.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3192 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-22 04:56:35 +00:00
Jacob Kaplan-Moss a490d6b4f6 Fixed a few small rst errors in request/response and fastcgi docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3191 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-21 23:06:24 +00:00
Adrian Holovaty a159f660fe Reverted [3184]. There's no such thing as models.PasswordField.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3189 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-21 14:42:52 +00:00
Malcolm Tredinnick 239adf83d3 Fixed #2053 -- added an optional comparison argument to the "timesince" filter.
Added a "timeuntil" filter that works analogously. Thanks, john@sneeu.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3185 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-21 06:56:08 +00:00
Malcolm Tredinnick c4fa8a158a Fixed #2071 -- documented the PasswordField (including cavaets). Thanks to
asmodai for the initial patch.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3184 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-21 04:49:12 +00:00
Adrian Holovaty 76448d0c4b Added draft of docs/fastcgi.txt. Haven't finished editing this yet.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3175 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20 05:25:02 +00:00
Adrian Holovaty 136752ca9a Added 'method' attribute to HttpRequest objects
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20 03:48:31 +00:00
Adrian Holovaty b10149b08a Fixed ReST error in [3158]. I think.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3159 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20 02:57:19 +00:00