Commit Graph

4902 Commits

Author SHA1 Message Date
Malcolm Tredinnick d0c49e7b77 When retrieving a field by name, handle a missed case when the cache cannot be
initialised yet.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7478 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-27 11:44:11 +00:00
Malcolm Tredinnick 9c52d56f6f Merged the queryset-refactor branch into trunk.
This is a big internal change, but mostly backwards compatible with existing
code. Also adds a couple of new features.

Fixed #245, #1050, #1656, #1801, #2076, #2091, #2150, #2253, #2306, #2400, #2430, #2482, #2496, #2676, #2737, #2874, #2902, #2939, #3037, #3141, #3288, #3440, #3592, #3739, #4088, #4260, #4289, #4306, #4358, #4464, #4510, #4858, #5012, #5020, #5261, #5295, #5321, #5324, #5325, #5555, #5707, #5796, #5817, #5987, #6018, #6074, #6088, #6154, #6177, #6180, #6203, #6658


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7477 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-27 02:50:16 +00:00
Malcolm Tredinnick c91a30f00f Fixed #7093 -- Fixed a typo in the Russian translation. Thanks, Anossov.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7476 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-27 01:09:11 +00:00
Malcolm Tredinnick 2945a057c3 Fixed #7030 -- Handle extraction of UTF-8 messages from Javascript files.
This leads to more duplicated code in make-messages.py, but this is just a
holdover for the immediate problem until we merge make-messages into
management/.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7473 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-26 13:25:30 +00:00
Malcolm Tredinnick 138cecd892 Fixed #7086 -- Updated the Romanian translation. Thanks, Mihai Damian.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7472 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-26 12:46:57 +00:00
Malcolm Tredinnick 15a3966037 Fixed #7031 -- Added some missing plural forms to the French translation.
Thanks, François Charlier.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7471 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-26 12:42:00 +00:00
Marc Garcia 5adf26ee54 Fixed #6917 -- Catalan translation clean up
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7458 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-25 13:16:15 +00:00
Aljosa Mohorovic 6032f6f1ed hr - croatian language - updated translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7435 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-18 10:37:00 +00:00
Malcolm Tredinnick d15e290cb1 Fixed #7012 -- Added a missing file for CSS backgrounds with right-to-left
languages. Thanks, Amit Ramon.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7424 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-15 02:07:49 +00:00
Malcolm Tredinnick 8453a1750f Fixed #6387 -- Updated markdown filter to handle markdown-1.7 as well as
earlier versions. Patch from cogg, jedie and Dmitri Fedortchenko.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7423 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-15 02:00:15 +00:00
Malcolm Tredinnick ea87c0df5c Fixed #7017 -- Minor typo fix in a comment. Thanks FranRuiz.
Also promoted the comment to a docstring and removed some extra spaces.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7422 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-15 01:13:52 +00:00
Jarek Zgoda 52945a9515 Fixed #7013: Polish translation update from Piotr Lewandowski.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7421 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-14 19:52:18 +00:00
Jarek Zgoda 83fe38d74c Fixed #7013: Polish translation updated. Thank you, Piotr Lewandowski.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7420 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-13 18:57:34 +00:00
Malcolm Tredinnick 35afdedbed Fixed #6433 -- Handle some varied PostgreSQL version strings (beta versions and
Windows version strings). Patch from jerickso.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7415 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-13 02:04:10 +00:00
Malcolm Tredinnick 6dfe245f02 Updated the inline help text for User.is_active.
Fixed #6881. Refs #7011.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7414 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-13 01:50:29 +00:00
Malcolm Tredinnick 939d9e1be6 Fixed #7001 -- Updated the Simplified Chinese translation. Thanks, Liang Feng.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7413 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-13 01:35:53 +00:00
Ian Kelly 15a39f7fe5 Fixed #5985: Changed the lookups in the Oracle backend to use LIKEC instead of LIKE.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7412 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-10 17:44:40 +00:00
James Bennett aad5e791ea Fixed #6982; added an import statement to example in docs/modelforms.txt for the ModelForm class
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7411 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-10 04:05:37 +00:00
Russell Keith-Magee bd3a1c0067 Fixed #6998 -- Corrected typo in Tutorial 4. Thanks, Peter Upfold.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7410 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-10 00:26:12 +00:00
James Bennett 1972f0522a Another typo in docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-08 06:35:37 +00:00
James Bennett 25c0908ffd Fix a minor typo in docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7408 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-08 06:28:50 +00:00
Malcolm Tredinnick 7fbea577e6 Fixed #6942 -- A few small updates to the Simplified Chinese translation.
Thanks, Liang Feng.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7403 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-05 02:59:41 +00:00
Malcolm Tredinnick 435d1d33cd Fixed #6936 -- Updated Bulgarian translation. Thanks, Jordan Dimov and Vladislav Mitov.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7402 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-05 02:53:10 +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
Marc Garcia 659a14bf9a Fixed #6917 (patch 1 of 3) -- Fixing typos in catalan translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7398 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-04 00:43:27 +00:00
James Bennett 38d30e9691 Fixed #6927: Corrected documentation describing when and why the auth application creates default permissions
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7388 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-30 13:35:12 +00:00
James Bennett 502f0c18b0 Remove an extraneous comma that I left behind in [7386], and clean up the wording a bit more.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7387 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-30 04:23:54 +00:00
James Bennett b8110ed537 Clean up some awkwardness and confusion in the docs for ``ModelChoiceField``
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7386 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-30 04:21:50 +00:00
Marc Fargas a9ce132657 Spanish translation update.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7385 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-30 00:07:59 +00:00
Jarek Zgoda 51c8828d0c Translated string related to [7381] (and #6879) and couple of licalized language names.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7384 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-29 20:06:03 +00:00
Gary Wilson Jr 3a662052ec Django code styling fixes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7382 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-29 16:42:39 +00:00
Gary Wilson Jr 0c222b9533 Fixed #6879 -- Made string in `contrib.flatpages` translatable, thanks ctrochalakis.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7381 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-29 15:54:43 +00:00
Gary Wilson Jr a3747f23be Fixed #6890 -- Removed duplicate instruction to rename the `polls/detail.htm` template in tutorial part 4.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7380 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-29 15:48:13 +00:00
Gary Wilson Jr 165772f37e Comment correction, `get_list` is now `filter`.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7379 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-29 15:26:58 +00:00
Marc Fargas ff1e505a15 Closes #6895, Aplying corrections from Marc Barranco (thanks!) and a few more typos corrected.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7377 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-29 00:45:25 +00:00
Marc Fargas c88ab31995 Updating catalan translation, this commit is only a make-messages with updated headers
(due to many lines getting wrapped)


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7376 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-29 00:43:57 +00:00
Ian Kelly bd3c955bd5 Added inline Oracle tablespace SQL for unique_together constraints.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7375 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-27 22:07:40 +00:00
Jacob Kaplan-Moss 4c3fcbc4bc [docs] OK, I give up.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7374 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-27 15:14:57 +00:00
Jacob Kaplan-Moss 905b246dad [docs] And even more svn:keywords fooling. Sorry about the timeline spam.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7373 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-27 15:13:05 +00:00
Jacob Kaplan-Moss 5d6510e285 [docs] more svn:keywords fooling... I can never figure out how this works.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7372 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-27 15:11:10 +00:00
Jacob Kaplan-Moss 95665c403b [docs] Added svn:keywords to docs/index.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7371 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-27 15:05:40 +00:00
Jacob Kaplan-Moss 7dd4be581b Added the basics needed to build Django's docs using [http://sphinx.pocoo.org/ Sphinx]. If you've got Sphinx installed (the latest version) along with [http://docutils.sf.net docutils], you should be able to easily build the docs locally using {{{sphinx-build}}} or the included {{{Makefile}}}. This use a basic (and pretty crappy) index for the documentation and the built-in Sphinx styles (which are actually quite nice).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7370 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-27 15:03:52 +00:00
Jacob Kaplan-Moss d5cb46f412 Tiny reST fix to testing.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7368 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-27 14:15:00 +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 054c2e4af3 Fixed #6852 -- Converted the admin to use the new paginator, to remove DeprecationWarnings. Thanks for the patch, nickefford
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7363 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-25 05:20:55 +00:00
Adrian Holovaty 3d779efbe5 Fixed #6867 -- Added some missing DeprecationWarnings to db.models.fields.related. Thanks, dcramer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7362 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-25 05:13:08 +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 23912ebbe2 Added a test for month selection under SQLite in case an old possible bug ever
resurfaces. Patch from Pilippe Raoult.

Fixed #659


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7359 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-24 14:19:12 +00:00
Malcolm Tredinnick 89e7b673d8 Fixed #5531 -- Changes a while back meant we are handling import errors from
database backends differently now. Which meant the MySQLdb version check was
being swallowed. Changed the exception type to ensure this is percolated
correctly. Patch from Ramiro Morales.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7358 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-24 14:02:44 +00:00
Malcolm Tredinnick a9a70bfe55 Fixed #6859 -- Greatly cleaned up the section on i18n pluralization in
Javascript. With new example code and everything! Thanks, Ramiro Morales.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7357 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-24 13:35:27 +00:00