Adrian Holovaty
a5bb14ed2e
Fixed #3648 -- Added support for cmemcached Python library. Thanks, floguy@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4827 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-25 23:29:31 +00:00
Adrian Holovaty
796b2304f3
Fixed #3773 -- Added app_label to Permission.__str__(), so that the admin permission list is easier to use with multiple permissions of the same name. Thanks, mrmachine
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4823 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-25 21:28:59 +00:00
Adrian Holovaty
f2861dad43
Fixed #3715 -- Added Japanese package to django.contrib.localflavor. Thanks, Makoto Tsuyuki
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4822 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-25 21:26:44 +00:00
Adrian Holovaty
e2c04e8cf2
Indented DEPARTMENT_ASCII_CHOICES in localflavor.fr.fr_department to be consistent with our style
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4821 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-25 21:22:07 +00:00
Adrian Holovaty
955f4db6f4
Fixed #3813 -- Added French package to django.contrib.localflavor. Thanks, Fabrice Aneche
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4820 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-25 21:10:36 +00:00
Adrian Holovaty
6481cf43f9
Fixed #3808 -- Fixed some typos in comments. Thanks, Collin Grady
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4816 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-25 18:05:01 +00:00
Jacob Kaplan-Moss
76c9258c0c
Bumped django.VERSION to 0.96.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-23 21:02:25 +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
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
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
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
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
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
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
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
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
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
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