Commit Graph

4653 Commits

Author SHA1 Message Date
Malcolm Tredinnick 4b9497c3f1 Fixed #6175 -- Use os._exit() instead of sys.exit() in child processes. Based
on a patch from Tyson Clugg.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7290 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 14:08:56 +00:00
Malcolm Tredinnick 1b331f6c1e Fixed #6641 -- If we lose a race when creating a new object in get_or_create,
re-get the result from the database and return that. Thanks, Jeff Guinness and
Timothée Peignier.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7289 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 14:08:40 +00:00
Adrian Holovaty e5342282cc Edited docs/templates.txt changes from [7276]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7280 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 04:21:08 +00:00
Adrian Holovaty 17155d3845 Fixed corner-case bug in formtools wizard.py and preview.py, in case of a None value -- thanks, Honza
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7277 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 00:17:59 +00:00
Jacob Kaplan-Moss 8e14a4e6d7 Fixed #6351: added more examples to template filters. Thanks, David Tulig and atlithorn.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7276 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 00:14:41 +00:00
Ian Kelly 4f5f8735e3 Fixed #6666: Corrected a bind param formatting issue when performing 'year' lookups on DateFields using Oracle.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7274 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-17 19:31:42 +00:00
Malcolm Tredinnick 3c504b0f5c Changed the project-id string to "Django" throughout the translation files (we
discussed this on the i18n list a while back and I only just got around to it).

Also started removing various leftover author names in comments and moving them
into the AUTHORS file. So this is purely administrative. No translation changes
here.

Fixed #4677 (thanks, Paul Bissex).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7271 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-17 18:23:00 +00:00
Gary Wilson Jr d0032458a2 Fixed #6679 -- In `decorator_from_middleware`, don't unpack arguments when calling a middleware's
`process_view` method, thanks Gulopine.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7269 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-17 17:47:34 +00:00
Adrian Holovaty 5794111afa Fixed #6795 -- Added some translation info to docs/contributing.txt. Thanks, Karderio and vegpuff
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7268 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-17 17:29:10 +00:00
Adrian Holovaty ba3d5272b5 Added section to docs/form_wizard.txt about extra_context. Thanks, Honza
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7267 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-17 17:26:02 +00:00
Adrian Holovaty d0aa7c820b Fixed the inevitable ReST errors in docs/form_wizard.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7266 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-17 16:56:05 +00:00
Adrian Holovaty 642f42bf71 Added docs/form_wizard.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7265 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-17 16:53:20 +00:00
Malcolm Tredinnick fac84c0bf4 Tweaked an i18n test that is a bit sensitive to Python versions. It returns
unexpected results on Python 2.4, so we ignore it there, too.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7264 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-17 16:03:46 +00:00
Adrian Holovaty b1dbff729f Added parse_params() hook to FormWizard
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7263 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-17 15:53:01 +00:00
Malcolm Tredinnick e461e737d3 Fixed #4539 -- Fixed a subtle context resolving bug in the i18n template tag.
Excellent debugging from permonik@mesias.brnonet.cz.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7261 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-17 14:55:30 +00:00
Malcolm Tredinnick b5adaec4c2 Fixed #5884 -- Added better display error handling for template variables.
Combined work from Karen Tracey and Thomas Güttler.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7260 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-17 14:21:09 +00:00
Malcolm Tredinnick 732074541a Fixed #5883 -- Added __iter__ methods to the debug cursor and the postgresql backend cursor.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7259 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-17 14:15:15 +00:00
Malcolm Tredinnick 50ecd75379 Fixed #6492 -- Added bullet-proofing to isValidFloat validator. Thanks, Bastian Kleineidam.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7258 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-17 14:05:43 +00:00
Malcolm Tredinnick 30bdabb2b0 Fixed #6764 -- Added some error checking around cookie decoding. Thanks,
Michael Axiak.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7257 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-17 13:49:04 +00:00
Malcolm Tredinnick 8defa8fd27 Fixed #6794 -- Updated French translation. Thanks Karderio.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7256 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-17 13:45:08 +00:00
Ludvig Ericson 31027a8692 * Unified det här/den här/detta/denna to detta/denna.
* Minor rewordings.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7254 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-16 19:11:09 +00:00
Ludvig Ericson 23c2b998a5 Update Swedish translation. Fixes #6694.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7251 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-16 15:58:11 +00:00
Gary Wilson Jr dd69bdcf94 Fixed #6455 -- Updated link to The Django Book in authentication docs, thanks ramiro.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7243 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-14 18:17:08 +00:00
Malcolm Tredinnick af5f07897c Added a "new in development version" marker that I randomly realised I'd forgotten.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7239 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-14 00:07:01 +00:00
Adrian Holovaty 2b8c2c49e7 Edited settings.txt and i18n.txt changes from [7185]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7238 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-13 20:26:08 +00:00
Adrian Holovaty b448b678e8 Fixed a typo in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7237 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-13 20:23:06 +00:00
Adrian Holovaty 48d7a6fb30 Fixed #3218 -- Implemented django.contrib.formtools.wizard. Thanks, Honza and Oyvind. Note that there are no docs yet
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7236 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-13 20:12:53 +00:00
Gary Wilson Jr 79abd052e7 Fixed #6753 -- Corrected typo in authentication docs, thanks piem@piem.org and PJCrosier.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7229 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-12 06:42:09 +00:00
Jacob Kaplan-Moss 54d5b9ec87 Fixed #5570: generic foreign keys no longer do multiple lookups on the content type. This uses the new ctype caching bit added in [7216].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7228 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-12 00:09:13 +00:00
Russell Keith-Magee cb4a018c35 Fixed #6757 -- Corrected typo in newforms docs. Thanks, Atul Varma <varmaa@gmail.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7227 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-11 23:09:44 +00:00
James Bennett a74299fb61 Another minor grammatical fix in docs/modelforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7223 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-11 06:49:36 +00:00
James Bennett 866d7fa961 Correct an example in docs/modelforms.txt, and fix some reST formatting
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7222 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-11 06:40:50 +00:00
Jacob Kaplan-Moss 42712048d3 Beefed up caching of ContentType lookups by adding ContentType.objects.get_for_id(). This shares the same cache as get_for_model(), and thus things that do lots of ctype lookups by ID will benefit. Refs #5570.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7216 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-10 23:32:28 +00:00
Jacob Kaplan-Moss 50bf567675 Fixed #6374: cross-app and circular FK constraints are now detected and added correctly. Thanks, dready.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7215 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-10 22:18:50 +00:00
Adrian Holovaty a128ce785f Fixed #6742 -- Fixed numbering error in docs/flatpages.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7210 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-09 21:59:09 +00:00
Adrian Holovaty e3e2fb3ff0 Fixed #6716 -- Fixed typo in docs/faq.txt. Thanks, AdamG
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7209 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-09 19:41:21 +00:00
Adrian Holovaty 1f0de0312e Fixed #6740 -- Documented in docs/flatpage.txt that the flatpages app requires the sites framework. Thanks, mail@dirkmeister.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7208 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-09 19:40:31 +00:00
Gary Wilson Jr 4487be66ef Fixed tests added in [7200] to not depend on unpredictable key order of dict, which was sometimes causing a test error.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7207 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-08 14:41:13 +00:00
Gary Wilson Jr dcdd9b3c63 Removed unused import, corrected a typo, and made some styling fixes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7206 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-08 03:55:47 +00:00
Gary Wilson Jr 5b762ca8e7 A few styling fixes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7205 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-08 03:46:33 +00:00
Gary Wilson Jr 4d6f0f2650 Fixed #6657 -- Don't set secure attribute on cookie if `secure=False` is passed, thanks Gulopine.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7204 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-08 03:31:42 +00:00
Gary Wilson Jr 444b7b2849 Fixed #6732 -- Added missing word "must" in `templates_python.txt` docs, thanks Atul Varma.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7203 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-08 03:19:52 +00:00
Gary Wilson Jr 7fbebae8c8 Fixed #6223 -- When determining if terminal supports color, don't call `isatty` if it doesn't exist, thanks mamadou.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7202 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-08 03:12:27 +00:00
Gary Wilson Jr a75e58be58 Fixed #5922 -- Turned `ModelBackend` authentication backend into a new-style class, thanks `Honza_Kral`.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-08 03:09:29 +00:00
Gary Wilson Jr d73c70d1ed Fixed #5595 -- Made `ModPythonRequest.__repr__` return a string instead of a unicode object. Fixes the printout of the request object in those server error e-mails I never get :)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7200 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-08 03:06:30 +00:00
Russell Keith-Magee 1e2852a15d Fixed #6420 -- Corrected the handling of the --traceback option in loaddata. Thanks, Grzegorz Lukasik <hauserx@gmail.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7199 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-07 13:53:49 +00:00
Malcolm Tredinnick 7092bcee6e Fixed #6703 -- Updated German (de) translation from Michael Radziej.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7198 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-07 13:14:59 +00:00
Malcolm Tredinnick c3d873fc3e Added a note that cleaned_data is new in the development release.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7197 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-06 17:10:04 +00:00
Gary Wilson Jr 6bc499f03c Fixed #6721 -- Fixed a typo in `templates_python.txt` documentation, thanks Atul Varma.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7196 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-06 00:54:14 +00:00
Jarek Zgoda 7f24ee5b33 Fixed #6711 -- updated Polish translation from m.gajda@paranoja.pl
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7193 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-04 11:30:36 +00:00