Commit Graph

703 Commits

Author SHA1 Message Date
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
Wilson Miner 5f5db2c236 Added .hidden class to admin styles for future use.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@827 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-10 21:49:31 +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
Jacob Kaplan-Moss 705a2c31c1 Fixed #604 - total number of objects in generic object_list view is now available as {{ hits }}
git-svn-id: http://code.djangoproject.com/svn/django/trunk@824 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-10 20:18:47 +00:00
Adrian Holovaty 29ff2bb4cb Improved django.core.management.get_sql_delete to close database connection explicitly when it's done, to avoid locking issues
git-svn-id: http://code.djangoproject.com/svn/django/trunk@823 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-10 20:14: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 b4e2d12b1f Fixed #599 -- locmem cache now uses deepcopy() to prevent aliasing. Thanks, Hugo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@821 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-10 13:56:39 +00:00
Adrian Holovaty f258a8fce2 Fixed #600 -- decorator_from_middleware now handles process_view. Thanks, Hugo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@820 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-10 13:51:58 +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 b6fd05e445 Added CACHE_MIDDLEWARE_KEY_PREFIX to global_settings
git-svn-id: http://code.djangoproject.com/svn/django/trunk@811 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-09 01:02:19 +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 a5a89b5a43 Moved vary decorators from django.utils.cache to django.views.decorators.vary
git-svn-id: http://code.djangoproject.com/svn/django/trunk@809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-09 00:37:56 +00:00
Adrian Holovaty 8aa98af6bb Added django.utils.cache, from Hugo's #580 patch. Refs #580.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@808 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-08 23:19:21 +00:00
Adrian Holovaty 71564b4349 Added django.utils.decorators, from Hugo's #580 patch. Refs #580.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@807 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-08 21:44:37 +00:00
Adrian Holovaty a933432a70 Fixed #473 -- Added a MysqlDebugWrapper to use for MySQL with DEBUG=True. It displays more informative error messages for MySQL warnings. Thanks for the patch, mlambert@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@806 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-08 21:00:25 +00:00
Adrian Holovaty b63abf0379 Fixed bug in tests/runtests.py -- some versions of MySQLdb require an argument to connection.autocommit()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@805 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-08 20:56:34 +00:00
Adrian Holovaty 6beab20722 Fixed #374 -- Filtering by BooleanField now works in admin with SQLite. Thanks, davidschein
git-svn-id: http://code.djangoproject.com/svn/django/trunk@804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-08 20:23:11 +00:00
Adrian Holovaty d93c68ab5f Fixed #586 -- Fixed bug in raw_id_admin caused by [785]. Thanks for the heads-up, slashzero
git-svn-id: http://code.djangoproject.com/svn/django/trunk@800 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-07 23:39:06 +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 485042b74d Fixed #595 -- Fixed error when sorting API results descending with custom 'select' parameters. Thanks for the patch, Robert Wittams
git-svn-id: http://code.djangoproject.com/svn/django/trunk@792 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-06 15:52:30 +00:00
Adrian Holovaty 9fe02e6b65 Made raw_id_admin work with non-integer primary keys
git-svn-id: http://code.djangoproject.com/svn/django/trunk@790 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-06 14:43:07 +00:00
Adrian Holovaty cb628c0cb7 Changed django.core.management to remove a couple of hard-coded slashes from os.path.join calls. Thanks, Stuart Langridge
git-svn-id: http://code.djangoproject.com/svn/django/trunk@789 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-06 14:30:35 +00:00
Adrian Holovaty ab9aacd4db Fixed #333 and #440 -- Split DEFAULT_MIME_TYPE setting into DEFAULT_CONTENT_TYPE and DEFAULT_CHARSET. Thanks, Maniac.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@786 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-06 02:27:08 +00:00
Adrian Holovaty 261ab166ce Fixed #586 -- raw_id_admin now works with non-integer primary keys
git-svn-id: http://code.djangoproject.com/svn/django/trunk@785 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-06 01:51:30 +00:00
Adrian Holovaty 8dda2aeaa3 Improved model validator to check admin.list_filter and type-check admin.list_display
git-svn-id: http://code.djangoproject.com/svn/django/trunk@784 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-06 01:41:54 +00:00
Adrian Holovaty c3fa47edb8 Added USE_FLAT_PAGES setting, which defaults to True.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@782 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-05 23:36:17 +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
Jacob Kaplan-Moss 837afc5a29 Changed default JING_PATH setting to be something that might actually be useful.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@774 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-04 18:05:37 +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 6b2226bab8 Fixed #447 - the RSS framework can now output pub dates
git-svn-id: http://code.djangoproject.com/svn/django/trunk@743 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-30 13:58:30 +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
Adrian Holovaty 998fc72c0d Changed [735] so that database-agnostic SQL always gets executed, even if database-specific SQL doesn't exist.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@737 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29 23:43:03 +00:00