Commit Graph

2952 Commits

Author SHA1 Message Date
James Bennett 0cf10f0c28 Fix broken link in MySQLdb notes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4800 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-23 20:41:19 +00:00
James Bennett c858dfa217 Minor reordering of sections in 0.96 release notes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4799 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-23 20:39:59 +00:00
Jacob Kaplan-Moss 609a42ee06 Removed formatting from the select_related test title.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4797 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-23 20:18:58 +00:00
Jacob Kaplan-Moss 189e7dd802 Renumbered all the doctest examples so that they are ordered correctly on the doc pages.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4796 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-23 20:17:04 +00:00
James Bennett af1aa1baea Note non-availability of DATABASE_OPTIONS in mysql_old backend
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4782 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-23 14:01:14 +00:00
James Bennett da8e722a63 Some work on the 0.96 release notes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4781 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-23 06:25:54 +00:00
Russell Keith-Magee e21a4c8d01 Fixed #3779 -- Resolved problem with order of creation of m2m tables during syncdb. Well spotted, Ben Slavin, and thanks for the very helpful test case.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4780 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-23 02:51:09 +00:00
Russell Keith-Magee 6a7a155860 Clarified documentation on submission of multiple selections using test client.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4779 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-23 02:07:56 +00:00
Jacob Kaplan-Moss 2efd343a7c Added draft release notes for 0.96 (which should be coming closer...)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4778 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-22 22:16:53 +00:00
Russell Keith-Magee e63ff1d8ce Fixed #3772 -- Minor fix to serialization docs. Thanks, SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4775 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-22 12:54:23 +00:00
Russell Keith-Magee f157bcefca Fixes #3212 -- Added code to test client to allow posting of multi-form values (e.g., MultipleChoiceFields). Thanks, Ben Dean Kawamura.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4774 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-22 10:23:52 +00:00
Adrian Holovaty 635fedcfa8 Added links to Textile, Markdown and ReST Wikipedia pages in docs/add_ons.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4773 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-22 03:52:17 +00:00
Malcolm Tredinnick 858ac05802 Fixed #2351 -- Fixed problem with using ".count" attribute of QuerySets in
templates.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4772 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-22 03:00:12 +00:00
Malcolm Tredinnick 29aa31d8f5 Reduced the chances of session object collision. The window of opportunity is
now about five Python instructions in get_or_create(). This doesn't guarantee
no collisions, but should fix many occurrences. Refs #1180.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4771 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-22 02:20:33 +00:00
Malcolm Tredinnick 3f3f51d942 Fixed a mistaken import from the mysql backend that had snuck through.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4768 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-21 20:44:15 +00:00
Malcolm Tredinnick dcc8442390 Added a mysql_old backend that matches the mysql backend prior to [4724]. This
is only for backwards compatibility purposes.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4767 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-21 03:27:03 +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 038aa4f74a Fixed #3726 -- Updated Tamil (ta) translations. Thanks
ponnusamy.simpleman@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4765 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-20 23:50:14 +00:00
Malcolm Tredinnick 4e4222b2c1 Fixed #3720 -- Updated Turkish translations. Thanks Can Burak Çilingir.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4764 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-20 23:42:08 +00:00
Malcolm Tredinnick 4752c0aa77 Added missing Polish translation file.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4763 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-20 23:41:04 +00:00
Malcolm Tredinnick ebd3bc0c55 Fixed #3709 -- Updated Polish (pl) translation. Thanks Michal Chruszcz.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4762 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-20 23:39:10 +00:00
Malcolm Tredinnick ceab87732c Fixed #1984 -- Italian updates from Nicola Larosa.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4761 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-20 23:37:21 +00:00
Malcolm Tredinnick 1f9711ffb0 Fixed #3754 -- Re-introduced utf-8 as default encoding for interaction with
MySQL backend (a side-effect of [4724]). Thanks Andy Dustman and Michael
Radziej.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4760 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-20 23:32:39 +00:00
Malcolm Tredinnick 9fb40185fe Fixed tests that broke after [4756].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4759 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-20 23:27:16 +00:00
Adrian Holovaty 61d6249c2b Fixed #3758 -- Changed FormPreview template to use 'label' instead of 'verbose_name'. Also renamed 'Submit' button to 'Preview'. Thanks for the patch, erickt@dslextreme.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4757 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-20 16:54:05 +00:00
Adrian Holovaty 6cc0eda1cb Fixed #3767 -- Added reason to Http404 exception raised in get_object_or_404 and get_list_or_404
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4756 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-20 16:48:41 +00:00
Russell Keith-Magee 55a67ae3f0 Fixed #3738 -- Minor inline documentation fix. Thanks, Simon.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4754 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-20 11:09:40 +00:00
Russell Keith-Magee b8eec54041 Fixed #3714 -- Fixed handling of indented text in wordwrap template filter. Thanks for the fix, Ian Clelland.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4753 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-20 11:07:52 +00:00
Russell Keith-Magee 83bed03a59 Fixed #3741 -- Fixed serialization of GenericRelations. Thanks for the report, Alexander Solovyov.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4752 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-19 11:57:53 +00:00
Malcolm Tredinnick cb624b1377 Fixed #3747 -- Added a stricter MySQLdb version check so that (1, 2, 1,
'final', 2) passes and (1, 2, 1, 'gamma') does not. Also fixed a problem in the
error reporting when the check fails.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4751 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-18 19:16:47 +00:00
Adrian Holovaty f765aa4e44 Cleaned up docs/databases.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4749 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-16 15:42:58 +00:00
Adrian Holovaty cecd520671 Tightened docs/i18n.txt change from [4707]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4748 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-16 15:23:28 +00:00
Adrian Holovaty 515337fa3b Small tweaks to docstrings from [4700]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4747 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-16 15:20:37 +00:00
Adrian Holovaty b14ff2f94d Tightened change to docs/model-api.txt from [4692]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4746 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-16 15:17:20 +00:00
Adrian Holovaty 0a0151b831 Tightened change to docs/contributing.txt from [4689] so that the action comes first, to be consistent with other bullet points
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4745 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-16 15:13:31 +00:00
Adrian Holovaty c3f91bb2b1 Fixed spelling of initializing in datastructures.py comment
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4744 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-16 15:10:48 +00:00
Adrian Holovaty 64fae18505 Fixed typo in docs/distributions.txt. Thanks, Rick v H
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4743 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-16 15:05:14 +00:00
Adrian Holovaty 5d60faf33d Fixed small typo in docs/django-admin.txt. Thanks, Cort
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4742 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-16 15:02:21 +00:00
Russell Keith-Magee 3eb89eaa25 Fixed typo in docstring of YAML serializer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4734 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-15 07:48:36 +00:00
Russell Keith-Magee 2a8da0a502 Added implementation of --indent for the XML serializer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4733 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-15 07:44:44 +00:00
Malcolm Tredinnick f9c4ce5123 Fixed #2635 -- Added improved MySQL backend support from Andy Dustman. Also
added database.txt documentation; currently only describing Django-related
features of MySQL versions.

As of this commit, there are four known test failures due to (a) no transaction
support with MyISAM storage engine and (b) MySQLdb automatically creating
decimal types for Django's "float" field.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4724 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-14 12:08:19 +00:00
Russell Keith-Magee 7ccf9978ad Added unit tests to fully check the performance of the serializer engines.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4719 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-13 01:03:05 +00:00
Russell Keith-Magee 375c3edf6e Added various fixes to serializer implementations. Fixes mostly deal with handling nulls, non-integer primary key values (e.g., OneToOne fields or strings), and reconstruction of primary key references in related fields.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4718 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-13 00:59:34 +00:00
Russell Keith-Magee 400ee02661 Added to_python implementation for NullBoolean Fields. This was required for the XML serializer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4717 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-13 00:35:47 +00:00
Russell Keith-Magee e4e74f7e1d Modified expected output of one fixture doctest to make it non unix-specific.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4716 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-13 00:33:15 +00:00
Russell Keith-Magee 9afc51bbcb Modified the internal dumpdata implementation to return the dumped data, rather than just printing to screen.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4715 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-13 00:29:21 +00:00
Jacob Kaplan-Moss 9f0c545add Added a YAML serializer built on PyYAML (http://pyyaml.org/). This serializer will only be enabled if PyYAML is installed, so I've not written any unit tests until I figure out how to make them work similarly. Still, the serializer is just a thin layer over the base Python serializer, and seems to Just Work.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4712 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-12 14:01:44 +00:00
Malcolm Tredinnick 5295f54b3c Fixed #1049 -- Documented the need to implement flatten_data() in some cases for custom
ChangeManipulator replacements. Thanks, Michael Radziej.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4711 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-12 12:40:03 +00:00
Malcolm Tredinnick db03c7fa1d Added a note about serving admin media to the alternative server setup
instructions. Refs #474.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4710 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-12 12:23:53 +00:00
Malcolm Tredinnick adbd80ae7f Fixed #3084 -- Fixed typo pointed out by Simon Greenhill.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4709 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-12 10:52:21 +00:00