1
0
mirror of https://github.com/django/django.git synced 2025-04-24 09:14:39 +00:00

815 Commits

Author SHA1 Message Date
Adrian Holovaty
f2088d456c Fixed #618 -- Added DATABASE_PORT setting. Thanks, Esaj
git-svn-id: http://code.djangoproject.com/svn/django/trunk@858 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14 03:43:01 +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
Georg Bauer
2ffca1711d i18n: merged to r852
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@853 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-13 16:21:40 +00:00
Georg Bauer
b61aee47fc i18n: fixed bug in the templateize function to turn templates into something grokable for xgettext
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@852 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-13 14:49:48 +00:00
Georg Bauer
b34e844c2f i18n: fixed language code reporting - now the actually used language code is reported, not the requested language code (as before). Additionally explicit language codes requested in GET, P OST or otherwise are checked against availability, too.
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@851 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-12 15:33:22 +00:00
Georg Bauer
18d0c31d51 i18n: LANGUAGE_CODE in DjangoContext is now language-SUBLANGUAGE instead of language_SUBLANGUAGE (was introduced by [848])
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-12 14:55: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
Georg Bauer
176c4545f6 changed layout of language stuff to be oriented after locale names, not language names (from accept-language header)
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@848 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-12 11:48:27 +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
Georg Bauer
d442731eb2 i18n: merged r815:r843 from trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-11 20:24:45 +00:00
Georg Bauer
d79cfec906 added new brazilian language settings
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@843 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-11 20:04: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
Georg Bauer
7ed4073335 i18n: corrected sublanguage handling (de-de now mapps to de, if de-de isn't present) in django.utils.translation
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@841 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-11 18:26:32 +00:00
Georg Bauer
ef9207b661 i18n: added documentation on LOCALE_PATHS
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@840 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-11 14:22:28 +00:00
Georg Bauer
d606cf7e38 i18n: added a way to merge in some more locale paths via settings
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@839 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-11 14:19:28 +00:00
Georg Bauer
9e1640c55f i18n: fixed projectpath discovery. Now the DJANGO_SETTINGS_MODULE environment variable is used to find the project base
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@838 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-11 13:44:51 +00:00
Georg Bauer
6f88c4f9ec i18n: fixed translation resolving - now project translations are pulled in allways (if they exist)
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@837 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-11 13:38:24 +00:00
Georg Bauer
50f348a92f i18n: added two additional unit tests for i18n (filter related)
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@836 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-11 13:23:01 +00:00
Georg Bauer
0b0c323708 i18n: added the translation step to the filter parser (the arg is now translated if it is _("..."))
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@835 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-11 12:24:16 +00:00
Georg Bauer
0cd2968973 i18n: enhanced the filter-argument-parser to parse _("") strings, too
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@834 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-11 12:20:37 +00:00
Georg Bauer
f882f3eea9 i18n: clarified some points about app-specific translations
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@833 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-11 12:12:13 +00:00
Georg Bauer
22a8771572 i18n: added gettext_noop support to the xgettext call in make-messages.py
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@832 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-11 09:59:14 +00:00
Georg Bauer
51a691c9c0 i18n: fixed an import error (I really shouldn't make last-minute-changes)
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@831 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-11 09:23:53 +00:00
Georg Bauer
c0eb10e4fb i18n: fixed syntax error
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-11 09:21:13 +00:00
Georg Bauer
588b2cb161 i18n: made DjangoTranslations compatible with Python 2.3
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@829 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-11 09:20:31 +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
Georg Bauer
3f5bb5fa53 i18n: I18NMiddleware now patches the Vary response header
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@816 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-09 10:57:05 +00:00
Georg Bauer
eb7ebb777c i18n: merged r787:r814 from trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@815 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-09 10:47:06 +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