summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2007-03-23Fixed #3779 -- Resolved problem with order of creation of m2m tables during ↵Russell Keith-Magee
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-22Fixes #3212 -- Added code to test client to allow posting of multi-form ↵Russell Keith-Magee
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-22Fixed #2351 -- Fixed problem with using ".count" attribute of QuerySets inMalcolm Tredinnick
templates. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4772 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-22Reduced the chances of session object collision. The window of opportunity isMalcolm Tredinnick
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-21Fixed a mistaken import from the mysql backend that had snuck through.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4768 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-21Added a mysql_old backend that matches the mysql backend prior to [4724]. ThisMalcolm Tredinnick
is only for backwards compatibility purposes. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4767 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-20Fixed #3745 -- Added Portugese (pt) translation. Thanks Nuno Mariz.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4766 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-20Fixed #3726 -- Updated Tamil (ta) translations. ThanksMalcolm Tredinnick
ponnusamy.simpleman@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4765 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-20Fixed #3720 -- Updated Turkish translations. Thanks Can Burak Çilingir.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4764 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-20Added missing Polish translation file.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4763 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-20Fixed #3709 -- Updated Polish (pl) translation. Thanks Michal Chruszcz.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4762 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-20Fixed #1984 -- Italian updates from Nicola Larosa.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4761 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-20Fixed #3754 -- Re-introduced utf-8 as default encoding for interaction withMalcolm Tredinnick
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-20Fixed #3758 -- Changed FormPreview template to use 'label' instead of ↵Adrian Holovaty
'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-20Fixed #3767 -- Added reason to Http404 exception raised in get_object_or_404 ↵Adrian Holovaty
and get_list_or_404 git-svn-id: http://code.djangoproject.com/svn/django/trunk@4756 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-20Fixed #3738 -- Minor inline documentation fix. Thanks, Simon.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4754 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-20Fixed #3714 -- Fixed handling of indented text in wordwrap template filter. ↵Russell Keith-Magee
Thanks for the fix, Ian Clelland. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4753 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-19Fixed #3741 -- Fixed serialization of GenericRelations. Thanks for the ↵Russell Keith-Magee
report, Alexander Solovyov. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4752 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-18Fixed #3747 -- Added a stricter MySQLdb version check so that (1, 2, 1,Malcolm Tredinnick
'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-16Small tweaks to docstrings from [4700]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4747 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-16Fixed spelling of initializing in datastructures.py commentAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4744 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-15Fixed typo in docstring of YAML serializer.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4734 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-15Added implementation of --indent for the XML serializer.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4733 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-14Fixed #2635 -- Added improved MySQL backend support from Andy Dustman. AlsoMalcolm Tredinnick
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-13Added various fixes to serializer implementations. Fixes mostly deal with ↵Russell Keith-Magee
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-13Added to_python implementation for NullBoolean Fields. This was required for ↵Russell Keith-Magee
the XML serializer. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4717 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-13Modified the internal dumpdata implementation to return the dumped data, ↵Russell Keith-Magee
rather than just printing to screen. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4715 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-12Added a YAML serializer built on PyYAML (http://pyyaml.org/). This ↵Jacob Kaplan-Moss
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-12Fixed #3640 -- Improved error handling in views.i18n.set_language(). ThanksMalcolm Tredinnick
Jorge Gajon. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4708 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-12Undo an accidental change that creap in as a result of testing [4704].Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4706 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-12Fixed #3705 -- Updated French translation from baptiste.goupil@gmail.com.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4705 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-12Fixed #3410 -- Edited a few i18n markups for completeness and to remove someMalcolm Tredinnick
warnings from recent gettext versions. Refs #3704. Thanks, Michael Radziej, mirrorballu2@gmail.com and baptiste.goupil@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4704 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-11Added {{{ContentType.objects.clear_cache()}}} which clears the lookup cache. ↵Jacob Kaplan-Moss
This needs to be called at syncdb time to avoid "stale" content-type IDs after the database gets flushed during unit tests. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4703 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-11Fixed some i18n markup on date error messages. Thanks, Bastian Kleineidam. RefsMalcolm Tredinnick
#3069. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4702 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-11Fixed #2998 -- Wrapped a couple more strings for translation. Thanks, JannisMalcolm Tredinnick
Leidel. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4701 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-10Fixed #3696 -- Fixed inline documentation to avoid some HTML validity issues.Malcolm Tredinnick
Patch from Simon Greenhill. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4700 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-10Fixed #3693 -- Fixed RST error in floatformat docstring. Thanks, SimonMalcolm Tredinnick
Greenhill. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4699 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-10An improved version of the change attempted in [4693]: retain backwardsMalcolm Tredinnick
compatibility with hand-crafted oldforms without breaking edit_inline. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4698 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-09Rolled back [4693] -- it seems to be breaking edit_inline all over the ↵Jacob Kaplan-Moss
place. Better fix is forthcoming :) git-svn-id: http://code.djangoproject.com/svn/django/trunk@4697 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-09Fixed a backwards-incompability problem with inline related form fields that IMalcolm Tredinnick
accidently introduced in r4676. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4693 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-09Fixed #2869 -- Do not append ADMIN_MEDIA_PREFIX to absolute-path URLs used forMalcolm Tredinnick
included javascript. Based on patches from SmileyChris and oyvind@saltvik.no. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-09Fixed #3024 -- Fixed database commit() and rollback() behaviour so it worksMalcolm Tredinnick
consistently if you execute them before Django has made a database connection. Thanks Bastian Kleineidam. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4691 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-09Fixed #3670 -- Fixed template argument parsing so that it understands negativeMalcolm Tredinnick
floats and integers as numeric types. Patch from SmileyChris. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4690 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-09Fixed #3678 -- Implemented SortedDict.copy().Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4688 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-09Fixed #3679 -- Added an option to compile localisation messages for a singleMalcolm Tredinnick
locale. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-09Fixed #3673 -- Added new Telugu (te) localisation. Thanks, pavithran s.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4686 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-08Fixed #3663 -- Small update to French translation from Johann Queuniet.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4683 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-08Fixed #3586 -- Only output "Vary: Cookie" HTTP header when the session objectMalcolm Tredinnick
is accessed. Leads to better caching performance. Thanks, Owen Griffiths. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4680 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-08Fixed #3660 -- Swedish updates from mikko@sorl.net.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4679 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-08Fixed #2315 -- Clarified that the available PostgreSQL timezone options mayMalcolm Tredinnick
provide more options than are strictly available. This is probably the best we can do for such a varied area of standardisation. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4678 bcc190cf-cafb-0310-a4f2-bffc1f526a37