Commit Graph

2900 Commits

Author SHA1 Message Date
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
Malcolm Tredinnick f5f4b807e4 Fixed #3660 -- Swedish updates from mikko@sorl.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4679 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-08 08:22:11 +00:00
Malcolm Tredinnick acc9a95b63 Fixed #2315 -- Clarified that the available PostgreSQL timezone options may
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
2007-03-08 03:41:04 +00:00
Malcolm Tredinnick a89b51b033 Fixed #1240 -- Fixed portability problem in bash completion script. Thanks,
Paolo.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4677 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-08 03:34:05 +00:00
Malcolm Tredinnick 43809de79d Fixed #1839, #2415, #2536 -- Fixed a generated name clash that was common in
self-referential and circular relations. A lot of community debugging went into
this fix, so thanks to bmurdock@gmail.com, Marek Kubica, ramiro, Michael
Radziej (the last two giving test cases showing the problem) and James Bennett
(who did the hard work to actually diagnose the true problem and fix it).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-08 03:21:35 +00:00
Malcolm Tredinnick 98b2e0a035 Fixed #3646 -- Corrected documentation for ABSOLUTE_URL_OVERRIDES. Patch from
James Bennett.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4672 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-07 12:23:01 +00:00
Malcolm Tredinnick 6af3409d98 Removed rsplit() usage for python2.3 compatibility. Refs #3625.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-07 12:15:40 +00:00
Malcolm Tredinnick 55c70238ed Fixed #3636 -- Updated akaihola's entry in AUTHORS.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-07 12:05:25 +00:00
Malcolm Tredinnick c836f848c6 Fixed #3647 -- Added small fixes to Spanish translation from Mario Gonzalez.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4668 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-06 02:01:48 +00:00
Malcolm Tredinnick f57bef27e7 Fixed #3655, #3656 -- Updated Swedish (sv) translations. Thanks, mikko@sorl.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-06 01:59:27 +00:00
Malcolm Tredinnick f309bde7f6 Fixed #3654 -- Fixed test failure from [4665].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4666 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-06 01:12:46 +00:00
Adrian Holovaty aa55e98b87 Fixed #3654 -- Added missing Mass. to us_states.py in localflavor. Thanks, joe4444
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4665 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-05 19:55:29 +00:00
Malcolm Tredinnick d181aa0e94 Fixed typo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4664 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-02 08:59:21 +00:00
Malcolm Tredinnick ac09ff9f96 Fixed #3628 -- Fixed a broken link spotted by Manoj Govindan.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4663 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-02 08:36:54 +00:00
Malcolm Tredinnick dd99bc7d02 Fixed #3627 -- Made [4659] compatible with Python 2.3. Thanks, Gary Wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4662 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-02 05:15:27 +00:00
Russell Keith-Magee 790b585819 Added option to pretty-print dumped fixture output
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4661 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-02 02:28:44 +00:00
Jacob Kaplan-Moss a72f908924 Changed the postgres version getting code to use cursor.fetchone() instead of dictfetchone(); some versions (including mine) of psycopg don't export dictfetch functions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4660 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-01 17:54:35 +00:00
Russell Keith-Magee f2582eb972 Fixes #2333 -- Added test fixtures framework.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4659 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-01 13:11:08 +00:00
Malcolm Tredinnick f54777406d Fixed #3614 -- Updated Finnish (fi) translation. Thanks, karsu.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4658 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-01 09:08:24 +00:00
Jacob Kaplan-Moss 4eb7e298b6 Added a tearDown to the tests for #639 so that the "uploaded" image doesn't clog /tmp. Sorry, Joseph!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4656 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-01 00:02:04 +00:00
Jacob Kaplan-Moss 77be302469 Reverted [4590] (changes to field label CSS) since it caused more problems than it created. Fixes #3596 and reopens #2205.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-28 22:22:03 +00:00
Jacob Kaplan-Moss 633f0856d2 Fixed #3610: typo in django-admin.txt. Thanks, Yasushi Masuda.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4651 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-28 22:11:45 +00:00
Jacob Kaplan-Moss 7b0e321c55 Removed a stray colon in authentication.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-28 22:01:52 +00:00
Adrian Holovaty a81a6e9abe Added note to docs/db-api.txt about 'depth' being new in Django development version
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-28 19:42:29 +00:00
Jacob Kaplan-Moss 37c66a0999 Fixed #3602: a few small doc fixes. Thanks, Jeremy Dunck
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4648 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-28 19:28:30 +00:00
Jacob Kaplan-Moss 28ad156f10 Fixed #3488: Added "b" option to date format filter. Thanks, Gary Wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4647 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-28 16:18:55 +00:00
Jacob Kaplan-Moss 0e683f6da4 Fixed #1240: added better support for different names for "python" to django_bash_completion. Thanks, paolo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4646 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-28 15:39:53 +00:00