Commit Graph

2745 Commits

Author SHA1 Message Date
Adrian Holovaty 6245816dd9 Fixed #3456 -- Made it easier/more intuitive to render newforms help_text in templates
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4521 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-15 04:03:47 +00:00
Adrian Holovaty 41078ce146 Added empty space in newforms BaseForm.__init__() to visually group a lengthy comment with the code that it's commenting
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4520 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-15 03:46:43 +00:00
Adrian Holovaty 2ec2bf6989 Fixed #1466 -- Added newforms USZipCodeField
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4519 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-15 03:37:25 +00:00
Malcolm Tredinnick 174cef7361 Fixed #3494 -- Small correct to djangojs.po for German (de) translation. Thanks
jonasvp@gmx.de.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-15 00:21:32 +00:00
Malcolm Tredinnick c53f01a57c Fixed #3451 -- Small fix to Finnish translation. Thanks jtorma.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4517 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-15 00:19:44 +00:00
Malcolm Tredinnick 460f500004 Fixed #3429 -- Updated German (de) translation. Thanks djunky.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4516 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-15 00:17:59 +00:00
Malcolm Tredinnick 8642d2cbab Fixed #3375 -- Updated Swedish (sv) translations. Thanks mikko@sorl.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4515 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-15 00:15:13 +00:00
Malcolm Tredinnick ebf6193029 Updated .mo files. Accidently committed incorrect version in [4513].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4514 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-15 00:13:46 +00:00
Malcolm Tredinnick 278e224d67 Fixed #3329 -- Added Catalan (ca) translation. Thanks Marc Fargas.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4513 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-15 00:07:07 +00:00
Malcolm Tredinnick 132510be5e Fixed #3123 -- Updated Dutch (nl) translation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4512 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-15 00:00:09 +00:00
Malcolm Tredinnick 1026e6b672 Added name of Latvian translator. Refs #3058.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4511 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-14 23:57:36 +00:00
Malcolm Tredinnick 4717291d0d Fixed #3093 -- Added Macedonian translation from Georgi Stanojevski
<glisha@gmail.com>.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4510 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-14 23:56:29 +00:00
Malcolm Tredinnick d9953d6095 Fixed #3058 -- Added partial Latvia translation from viestards.lists@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4509 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-14 23:50:26 +00:00
Adrian Holovaty 6ab41bef13 Made a small improvement to the first overview paragraph in docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4508 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-14 23:49:58 +00:00
Adrian Holovaty 26058b98a6 Fixed ReST error in docs/testing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4507 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-14 23:45:45 +00:00
Adrian Holovaty 0518205308 Implemented subclassing Forms in newforms
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-14 23:44:46 +00:00
Adrian Holovaty 4c4209b144 Changed __year lookup to use a BETWEEN SQL statement instead of comparing the result of EXTRACT(year). This should be more efficient.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4505 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-14 06:32:32 +00:00
Adrian Holovaty 9efa60dafb Fixed #3489 -- Changed newforms to use copy.copy() in constructing self.fields, so changes to self.fields in a given form instance do not affect other instances
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-13 18:04:47 +00:00
Adrian Holovaty c61d7e195f Renamed date_to_format function in docs/templates_python.txt example so as to make it not sound like a conversion function. Thanks, linoj
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4502 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-13 15:44:04 +00:00
Malcolm Tredinnick 7ac5a6e27d Mild formatting fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4501 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-13 06:29:35 +00:00
Malcolm Tredinnick ff46f0fbcf Fixed #3394 -- Made min_num_in_admin be respected on new object creation. Patch
from torne-django@wolfpuppy.org.uk.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4500 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-13 06:27:28 +00:00
Adrian Holovaty 5bed563edf Cleaned up docs/templates.txt 'url' tag documentation from [4494]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4499 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-13 06:13:06 +00:00
Malcolm Tredinnick f41e2b7837 Updated [4497] to use something closer to the English language in the comment.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4498 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-13 06:07:55 +00:00
Malcolm Tredinnick ba9649f966 Fixed #3377 -- Fixed subtle infinite recursion bug in LazyDate objects. Thanks
to brut.alll@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4497 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-13 06:06:09 +00:00
Malcolm Tredinnick a4ddecd15c Fixed #3155 -- Allow an integer to be passed to the urlencode filter. Patch
based on one from SmileyChris.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4496 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-13 05:50:55 +00:00
Malcolm Tredinnick ffa0d27462 Fixed #3005 -- Applied trivial docs patch for "oldforms" use of do_html2python.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4495 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-13 05:02:47 +00:00
Malcolm Tredinnick 0fabbf8ce8 Fixed #2606 -- Added tag for working out the URL of a particular view function.
All work done by Ivan Sagalaev.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4494 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-13 04:24:58 +00:00
Malcolm Tredinnick 58ae80b5ea Changed one of the named endblock tests to test that nesting in the wrong order
is caught as an error.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4493 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-13 02:54:17 +00:00
Adrian Holovaty b9677848f5 Small formatting tweaks to named-end-blocks change from [4489]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4492 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-12 17:13:08 +00:00
Adrian Holovaty 38f9d8dac6 Fixed dangling modifier in docs/settings.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4491 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-12 17:10:09 +00:00
Malcolm Tredinnick 2258723097 Refs #3338 -- Partially fix rpm packaging problems. There is still one issue
remaining with how we construct the version numbers, but this change is useful
nonetheless. Patch from Dirk Datzert.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4490 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-12 00:33:24 +00:00
Malcolm Tredinnick a0c354ee4e Fixed #3351 -- Added optional naming of the block in "endblock" tags to ensure
correct nesting. Thanks for the patch, SmileyChris.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4489 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-12 00:22:22 +00:00
Malcolm Tredinnick d123588184 #fixed #2256 -- Made count() interact with slicing on QuerySets. Patch from
SmileyChris.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4488 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-12 00:16:17 +00:00
Malcolm Tredinnick 80e58b3211 Fixed #2315 -- added work around for Windows timezone setting (i.e. we can't do
it). This will work until somebody wants to write some full Win32 timezone changing code for us. Thanks to Marc Fargas and SmileyChris for the combined patch.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4487 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-12 00:10:09 +00:00
Malcolm Tredinnick 6c4757729b Revert [4485] in order to fix accidental mod_python breakage. Refs #2920.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4486 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-11 23:50:35 +00:00
Russell Keith-Magee 0e924c70b1 Refs #2920 -- Replaced implicit uses of _() with explicit imports or calls to gettext(). At some point post 0.96, we need to remove the calls that put _ into the builtins.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4485 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-11 06:20:52 +00:00
Adrian Holovaty b767b5831d Made negligible change to docs/django-admin.txt -- 'MS Windows' to 'Windows'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4484 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-11 04:39:23 +00:00
Adrian Holovaty 8369240138 Made negligible change to docs/contributing.txt -- 'MS Windows' to 'Windows'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4483 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-11 04:38:44 +00:00
Russell Keith-Magee f9cdde0cb4 Fixed #3162 -- Added coded to catch and rethrow exceptions that are thrown by the views visited by the test client. Thanks, Ben <afternoon@uk2.net>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4482 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-11 00:23:31 +00:00
Malcolm Tredinnick 23272de5db Fixed #3159 -- documented how to work around a lack of symlinking functionality
on Windows (with respect to django-admin.py).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4481 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-10 09:07:54 +00:00
Malcolm Tredinnick 4d75c7aa6e Fixed #3071 -- added a {{{__contains__}}} method to the Context class. Thanks
akaihola.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4480 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-10 09:02:00 +00:00
Malcolm Tredinnick d8deb0c61c Fixed #3147 -- documented how to use .pth files for easy switching between
different versions of the code. Thanks to Waylan Limberg for the patch.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4479 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-10 08:55:18 +00:00
Malcolm Tredinnick 937f3190ba Fixed #2762 -- added copyright element support to RSS and Atom feeds. Patch
from Jonathan Buchanan.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4478 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-10 08:36:39 +00:00
Malcolm Tredinnick fefcbbfe37 Fixed #2655 -- added documentation about resolve_variable() for custom template
tags. Thanks dave@thebarproject.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4477 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-10 08:29:34 +00:00
Adrian Holovaty 007f17d63e Fixed #3463 -- EmptyQuerySet's iterator() now returns a generator. Thanks, Gary Wilson
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4475 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-10 05:38:38 +00:00
Malcolm Tredinnick 1aa1c4672c Added some documentation for truncatewords_html (added in [4468]).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4474 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-10 05:22:12 +00:00
Adrian Holovaty 766e339666 Improved runtests.py to normalize MIDDLEWARE_CLASSES during test execution. Some tests were failing for me because my custom MIDDLEWARE_CLASSES setting didn't have sessions or authentication installed
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4473 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-10 04:01:19 +00:00
Adrian Holovaty ae36e6303d Fixed #3437 -- Fixed incorrect logic in django.http.HttpResponse calculation of _is_string. Thanks, Brian Harring
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4472 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-10 03:56:21 +00:00
Adrian Holovaty 45e0a522bb Fixed ReST bug in docs/fastcgi.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4471 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-10 03:42:24 +00:00
Malcolm Tredinnick e57ce6b157 Fixed #2348 -- Improved error reporting when query filter arguments are
misspelt. Variation on a patch from Karen Tracey.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4470 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-10 03:39:56 +00:00