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
Malcolm Tredinnick
e5fa609ba7
Fixed #3640 -- Improved error handling in views.i18n.set_language(). Thanks
...
Jorge Gajon.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4708 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-12 09:21:22 +00:00
Malcolm Tredinnick
2a488f3cd4
Fixed #3084 -- Documented that Django's core must be translated into a
...
particular locale for application translations in that locale to work.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4707 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-12 09:02:18 +00:00
Malcolm Tredinnick
173c76d038
Undo an accidental change that creap in as a result of testing [4704].
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4706 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-12 08:43:07 +00:00
Malcolm Tredinnick
0cdf42ca57
Fixed #3705 -- Updated French translation from baptiste.goupil@gmail.com.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4705 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-12 08:39:17 +00:00
Malcolm Tredinnick
b1eea1af40
Fixed #3410 -- Edited a few i18n markups for completeness and to remove some
...
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-12 08:35:15 +00:00
Jacob Kaplan-Moss
a5e9f508ce
Added {{{ContentType.objects.clear_cache()}}} which clears the lookup cache. 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-11 16:06:08 +00:00
Malcolm Tredinnick
5c2e83eef5
Fixed some i18n markup on date error messages. Thanks, Bastian Kleineidam. Refs
...
#3069 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4702 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-11 10:37:33 +00:00
Malcolm Tredinnick
2cf448152e
Fixed #2998 -- Wrapped a couple more strings for translation. Thanks, Jannis
...
Leidel.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4701 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-11 10:15:35 +00:00
Malcolm Tredinnick
ee1ca89dd4
Fixed #3696 -- Fixed inline documentation to avoid some HTML validity issues.
...
Patch from Simon Greenhill.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4700 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-10 11:37:11 +00:00
Malcolm Tredinnick
659aa8f01a
Fixed #3693 -- Fixed RST error in floatformat docstring. Thanks, Simon
...
Greenhill.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4699 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-10 08:11:28 +00:00
Malcolm Tredinnick
e833595bc8
An improved version of the change attempted in [4693]: retain backwards
...
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-10 07:37:08 +00:00
Jacob Kaplan-Moss
90f7616d5d
Rolled back [4693] -- it seems to be breaking edit_inline all over the place. Better fix is forthcoming :)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4697 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-09 22:44:49 +00:00
Malcolm Tredinnick
aa36618427
Fixed a backwards-incompability problem with inline related form fields that I
...
accidently introduced in r4676.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4693 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-09 17:11:51 +00:00
Malcolm Tredinnick
ab64b38317
Fixed #2869 -- Do not append ADMIN_MEDIA_PREFIX to absolute-path URLs used for
...
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-09 09:32:39 +00:00
Malcolm Tredinnick
cc8d656569
Fixed #3024 -- Fixed database commit() and rollback() behaviour so it works
...
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-09 07:55:40 +00:00
Malcolm Tredinnick
8248569471
Fixed #3670 -- Fixed template argument parsing so that it understands negative
...
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-09 06:12:15 +00:00
Malcolm Tredinnick
b6eee02007
Fixed #3685 -- Added note about keeping contributors' names in AUTHORS. Thanks,
...
James Bennett.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4689 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-09 05:47:39 +00:00
Malcolm Tredinnick
22178d692a
Fixed #3678 -- Implemented SortedDict.copy().
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4688 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-09 05:34:42 +00:00
Malcolm Tredinnick
fcd119bfb1
Fixed #3679 -- Added an option to compile localisation messages for a single
...
locale.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-09 04:59:58 +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
Adrian Holovaty
fb1ff06d32
Tightened up docs/contributing.txt changes from [4682]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4685 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-08 20:43:09 +00:00
Malcolm Tredinnick
7d8687ea35
Fixed #3616 -- Added some more data structure tests from Chris McAvoy.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4684 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-08 09:28:45 +00:00
Malcolm Tredinnick
4823a531d1
Fixed #3663 -- Small update to French translation from Johann Queuniet.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4683 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-08 08:59:12 +00:00
Malcolm Tredinnick
cdc79b71cb
Fixed #3658 -- Included description of ticket resolution states in the
...
contributors' documentation. Thanks, Simon Greenhill.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4682 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-08 08:56:34 +00:00
Malcolm Tredinnick
449ea76bf3
Fixed #3333 -- Made db-api.txt links relative, in line with the other docs.
...
Thanks, Ramiro Morales.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4681 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-08 08:50:33 +00:00
Malcolm Tredinnick
c651b08f39
Fixed #3586 -- Only output "Vary: Cookie" HTTP header when the session object
...
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-08 08:46:59 +00:00