Commit Graph

122 Commits

Author SHA1 Message Date
Jacob Kaplan-Moss d725cc9734 Fixed #2070: refactored Django's file upload capabilities.
A description of the new features can be found in the new [http://www.djangoproject.com/documentation/upload_handing/ upload handling documentation]; the executive summary is that Django will now happily handle uploads of large files without issues.

This changes the representation of uploaded files from dictionaries to bona fide objects; see BackwardsIncompatibleChanges for details.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-01 15:10:51 +00:00
Jacob Kaplan-Moss 7ecd4867a5 Fixed #7458: added Lithuanian to LANGUAGES.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7698 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-18 20:53:55 +00:00
Jacob Kaplan-Moss 8cb4895c68 Added Estonian to global_settings.LANGUAGES. Refs #7141.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7697 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-18 20:51:22 +00:00
Adrian Holovaty a08b2dd328 Negligible comment typo fixes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7620 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-12 03:37:13 +00:00
Jacob Kaplan-Moss 8d4f79a799 Fixed #2548: added get/set_expiry methods to session objects. Thanks, Amit Upadhyay and SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7586 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-07 20:28:06 +00:00
Luke Plant 8c9fceebb1 Added DEBUG_PROPAGATE_EXCEPTIONS setting that helps testing under e.g. twill
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7537 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-16 23:24:36 +00:00
Malcolm Tredinnick 42ba428166 Fixed #6910 -- Updated Brazilian Portugese translation from Guilherme M. Gondim
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7401 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-05 02:50:01 +00:00
Malcolm Tredinnick c30a050e41 Removed the ado_mssql database backend.
It has not been maintained, contains bugs, and improved versions are available
externally(e.g. django-mssql and django-pyodbc at Google code).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7364 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-26 08:25:48 +00:00
Adrian Holovaty 0e552e5cd6 Edited some docs changes from the past few days
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7361 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-25 04:42:21 +00:00
Malcolm Tredinnick 9e47cc2e51 Fixed #5507 -- Use a more portable way to get at the system's tmpdir (fixes a
problem with the default on Windows). Thanks, Philippe Raoult.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7329 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-20 06:43:58 +00:00
Malcolm Tredinnick efed04b634 Fixed #5603 -- Allow customization of the language cookie name. Thanks, moe.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7185 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-29 18:38:44 +00:00
Malcolm Tredinnick 99b200dac7 Changed the name of the "ga" locale to "Irish" in the settings file.
We use the English names for all the langauges in there.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-19 03:40:24 +00:00
Malcolm Tredinnick 68e43660d8 Fixed #6617 -- Added new Georgian (ka) translation from David Avsajanishvili.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-19 03:38:16 +00:00
Malcolm Tredinnick 87ca6ae4cc Fixed #6607 -- Added a new Basque (eu) translation. Thanks ibonso@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7118 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-15 11:29:27 +00:00
Malcolm Tredinnick 0a3c8f03e0 Fixed #6409 -- Unbreak compound locale name parsing (e.g. zh-cn).
This was inadvertently broken back in [6608]. Slightly backwards-incompatible:
people specifying "es_AR" in their LANGUAGES list will need to change that to
"es-ar". Thanks, simonb and Ramiro Morales for making the effort to fix this.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-06 01:04:30 +00:00
Malcolm Tredinnick f6a3b499b8 Fixed #6086 -- Deprecate the "simple" cache backend in favour of "locmem".
Thanks, Paul Bissex.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6822 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-02 00:35:14 +00:00
Ian Kelly bbc3a95557 Fixed #6007: Added DEFAULT_TABLESPACE and DEFAULT_INDEX_TABLESPACE
options to global_settings.py


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6801 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 19:23:49 +00:00
Gary Wilson Jr 1607acee40 Fixed #5978 -- Gave `LOCALE_PATHS` a default setting of an empty tuple and removed some code that was checking for its existance in settings before accessing it.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6701 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-19 05:59:58 +00:00
Malcolm Tredinnick 5f51964be2 Changed the location of language codes to match the project settings file from [6123].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6581 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-21 16:20:02 +00:00
Malcolm Tredinnick e172e7be57 Fixed #4724 -- Added support for configurable session cookie paths. Helps with
multiple Django installs under the same hostname. Thanks, frej and Graham
Dumpleton.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 05:13:56 +00:00
Jacob Kaplan-Moss bcf7e9a9fe Fixed #2066: session data can now be stored in the cache or on the filesystem. This should be fully backwards-compatible (the database cache store is still the default). A big thanks to John D'Agostino for the bulk of this code.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6333 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 21:29:14 +00:00
Malcolm Tredinnick 5ce8a38933 Fixed #5456 -- Added a new Irish translation. Thanks, Michael Thornhill.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6256 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 04:43:48 +00:00
Malcolm Tredinnick 972e77f7e8 Fixed #5279 -- Added Khmer translation. Thanks, Sengtha Chay!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-13 19:51:26 +00:00
Malcolm Tredinnick 4d42dc3846 Changed the URL reference for timezone specifications. It looks like PostgreSQL is removing that list from their docs (in 8.2) and this might also help avoid problems with people not noticing there are multiple entries per line in the current PostgreSQL docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5941 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-19 10:24:35 +00:00
Malcolm Tredinnick 478926ffde Fixed #5141 -- Added Croation translation. Thanks, Aljosa Mohorovic.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5880 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-13 01:17:19 +00:00
Malcolm Tredinnick ea1544e938 Fixed #4624 -- Added Persian ('fa') to the list of right-to-left languages.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5840 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11 06:28:51 +00:00
Malcolm Tredinnick 501448e3f2 Fixed #4863 -- Removed comment references to a no-longer present link. Pointed
out by Thomas Güttler.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5693 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-14 12:48:24 +00:00
Malcolm Tredinnick 79e914e496 Added CACHE_MIDDLEWARE_SECONDS to global settings and documentation (it's
used by the cache middleware). Refs #1015.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5618 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-05 11:08:40 +00:00
Malcolm Tredinnick 953badbea5 Merged Unicode branch into trunk (r4952:5608). This should be fully
backwards compatible for all practical purposes.

Fixed #2391, #2489, #2996, #3322, #3344, #3370, #3406, #3432, #3454, #3492, #3582, #3690, #3878, #3891, #3937, #4039, #4141, #4227, #4286, #4291, #4300, #4452, #4702


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-04 12:11:04 +00:00
Malcolm Tredinnick 786fab6d84 Fixed #4624 -- Added new Persian (fa) translation. Thanks, Reza Mohammadi.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5523 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-24 12:16:06 +00:00
Malcolm Tredinnick 130c7eee80 Fixed #4517 -- Made sure that URL_VALIDATOR_USER_AGENT includes the up-to-date
Django version number. Thanks, James Wheare.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5451 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-10 02:00:46 +00:00
Malcolm Tredinnick 0c4385bb02 Added new TEST_DATABASE_CHARSET and TEST_DATABASE_COLLATION settings to ensure
that databases are created with the expected encoding during testing.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5380 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-29 12:42:08 +00:00
Russell Keith-Magee d9f6470f2d Fixed #1278 -- Added a context processor that puts MEDIA_URL in the context, and added that context processor to the default set. Thanks to Ubernostrum for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5379 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-29 11:09:24 +00:00
Malcolm Tredinnick 5152b55b38 Fixed #4283 -- Added Bulgarian translation. Thanks Jordan Dimov.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5225 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 08:12:03 +00:00
Malcolm Tredinnick 7a84ad93e6 Fixed #2897 -- Added support for TLS connections to email handling. This means
servers like Google's SMTP server can now be used for admin emails.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-03 13:35:02 +00:00
Malcolm Tredinnick 5dfe74f221 Fixed #3185 -- Made values for login, logout and post-login redirect URLs
configurable. This is a combined patch from Vasily Sulatskov, Marc Fargas and
Collin Grady.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5072 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-25 08:49:57 +00:00
Malcolm Tredinnick 66356056a5 Fixed #3943 -- Added Korean translation. Thanks, Hyun Mi Ae.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-09 11:58:25 +00:00
Malcolm Tredinnick f708bd69c9 Fixed #3745 -- Added Portugese (pt) translation. Thanks Nuno Mariz.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4766 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-20 23:57:24 +00:00
Malcolm Tredinnick 20a240cf51 Fixed #3673 -- Added new Telugu (te) localisation. Thanks, pavithran s.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4686 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-09 04:42:30 +00:00
Russell Keith-Magee f2582eb972 Fixes #2333 -- Added test fixtures framework.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4659 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-01 13:11:08 +00:00
Jacob Kaplan-Moss 8930f3d027 Fixed #3589: settings templates and default settings now mention psycopg2 instead of psycopg1. Thanks (again), Mark Fargas.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4631 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-27 00:02:40 +00:00
Malcolm Tredinnick b1fbfb3f61 Fixed #3251 -- Added Kannada (kn) translations. Thanks to the volunteers from
http://dev.sampada.net/.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4600 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26 08:23:33 +00:00
Malcolm Tredinnick 278e224d67 Fixed #3329 -- Added Catalan (ca) translation. Thanks Marc Fargas.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4513 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-15 00:07:07 +00:00
Malcolm Tredinnick 4717291d0d Fixed #3093 -- Added Macedonian translation from Georgi Stanojevski
<glisha@gmail.com>.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4510 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-14 23:56:29 +00:00
Malcolm Tredinnick d9953d6095 Fixed #3058 -- Added partial Latvia translation from viestards.lists@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4509 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-14 23:50:26 +00:00
Adrian Holovaty 06a5370e6a Fixed #1977 -- Changed postgresql.org URL in global_settings.py and project_template/settings.py. Thanks, regexbot@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4207 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-15 15:56:42 +00:00
Adrian Holovaty a84404c190 Formatting fixes from the past round of checkins
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07 19:07:27 +00:00
Jacob Kaplan-Moss fef89a01c5 Fixed #2866: Added DATABASE_OPTIONS setting which gets passed as extra kwargs to the backend's connect method. Thanks, ymasuda.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07 05:17:38 +00:00
Jacob Kaplan-Moss 4d59730fad Fixed #2934: greatly improved the accuracy if the isExistingURL check. Also introduced a new setting, URL_VALIDATOR_USER_AGENT, which is the User-Agent that the validator will use to check for URL existance. Thanks, Jeremy.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4035 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07 02:20:08 +00:00
Georg Bauer 0d240504ca fixed #2911: added polish to the default languages
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3905 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-16 16:23:28 +00:00