Commit Graph

277 Commits

Author SHA1 Message Date
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
Adrian Holovaty aa865f3605 Added 'Why did you write all of Django from scratch' FAQ question
git-svn-id: http://code.djangoproject.com/svn/django/trunk@652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-20 03:18:05 +00:00
Adrian Holovaty fe01b4d939 Changed my bio to reflect my job change
git-svn-id: http://code.djangoproject.com/svn/django/trunk@651 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-20 03:05:37 +00:00
Adrian Holovaty 1d65ba62db Added a few notes about list_display to docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-20 02:37:39 +00:00
Adrian Holovaty 1874f26d22 Small change to docs/modpython.txt -- added link to Apache Web site
git-svn-id: http://code.djangoproject.com/svn/django/trunk@642 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-14 19:07:29 +00:00
Adrian Holovaty e01ef9ddd8 Fixed #487 -- Fixed typo in docs/cache.txt. Thanks, eugene@lazutkin.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@633 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-11 15:12:30 +00:00
Adrian Holovaty 93010c75f2 Fixed #465 -- Fixed typo in docs/templates_python.txt. Thanks, Manuzhai
git-svn-id: http://code.djangoproject.com/svn/django/trunk@631 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 21:30:45 +00:00
Adrian Holovaty 1087ee3d5e Fixed #462 -- Fixed typo in docs/templates_python.txt. Thanks, eugene@lazutkin.com and sanxiyn
git-svn-id: http://code.djangoproject.com/svn/django/trunk@630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 12:37:54 +00:00
Adrian Holovaty 4ea3dd5dbd Fixed small typo in [628]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@629 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 03:07:38 +00:00
Adrian Holovaty cadb6a008d Finished docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@628 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 03:05:50 +00:00
Adrian Holovaty 276731d625 Fixed some more formatting bugs in [625]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@627 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 02:37:39 +00:00
Adrian Holovaty adae680c73 Fixed some formatting bugs in [625]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@626 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 02:35:51 +00:00
Adrian Holovaty f9f0ea9308 Added a couple more sections to docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 02:30:23 +00:00
Adrian Holovaty e131e400e0 Made small cleanups to [623]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@624 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 00:01:44 +00:00
Adrian Holovaty 096ad32c84 Added docs/templates_python.txt, which isn't finished yet
git-svn-id: http://code.djangoproject.com/svn/django/trunk@623 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-05 23:38:46 +00:00
Adrian Holovaty 65bab4b824 Fixed #456 -- Fixed minor typo in docs/overview.txt. Thanks, eugene@lazutkin.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@621 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-04 18:24:23 +00:00
Adrian Holovaty 6d92319838 Added note to docs/cache.txt saying CacheMiddleware needs to be first entry in MIDDLEWARE_CLASSES
git-svn-id: http://code.djangoproject.com/svn/django/trunk@616 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 21:22:49 +00:00
Adrian Holovaty 5bdf1da730 Fixed #394 -- Trailing-slash redirects now retain duplicate name-value query-string pairs, instead of the first of each pair. Added a QueryDict.urlencode() method to accomplish this. Updated the docs. Thanks for the good catch, mlambert
git-svn-id: http://code.djangoproject.com/svn/django/trunk@613 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 19:39:47 +00:00
Adrian Holovaty 92918b5ed7 Fixed ReST bugs in docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@612 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 19:05:51 +00:00
Adrian Holovaty 33570454e3 Fixed #448 -- Fixed bug in docs/forms.txt. Thanks, Hugo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@610 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 18:42:36 +00:00