Commit Graph

3740 Commits

Author SHA1 Message Date
Malcolm Tredinnick 29891add3d Fixed #4887 -- Fixed another place where template tag arguments are used
directly as function keyword args. Thanks, Brian Rosner.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5715 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-16 04:54:49 +00:00
Malcolm Tredinnick 58096c4bcc Fixed #4806 -- Updated Simplified Chinese translation. Thanks, limodou.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5714 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-16 04:47:52 +00:00
Malcolm Tredinnick 41a6e41777 Fixed #4884 -- Fixed an initialisation problem when assigned to settings before
accessing them. Thanks, Noam Raphael.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5713 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-16 04:45:45 +00:00
Malcolm Tredinnick 5dd9a2ab38 Fixed #4199 -- Changed date formatting in HTTP expires header to be spec
compliant. Thanks, Chris Bennett.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5712 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-16 03:50:22 +00:00
Malcolm Tredinnick d5129eee59 Updated AUTHORS for [5708].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5711 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-16 03:48:03 +00:00
Adrian Holovaty 0d9f21bb75 Improved docs/templates.txt section on the 'regroup' tag
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5710 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-15 21:16:32 +00:00
Adrian Holovaty 2a500b3551 Edited docs/db-api.txt changes from [5700]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5709 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-15 19:34:21 +00:00
Malcolm Tredinnick 0dbc0ab338 Fixed #4734 -- Changed message extraction to permit non-ACSII msgid strings.
Thanks, krzysiek.pawlik@silvermedia.pl.

This is slightly backwards-incompatible for translators: PO files are now
assumed to be in UTF-8 encoding.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5708 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-15 10:10:44 +00:00
Malcolm Tredinnick 5fbc589014 Re-encoded djangojs.po for French and German locales to UTF-8. These were the
last two non-UTF-8 PO files.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5707 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-15 10:08:05 +00:00
Malcolm Tredinnick 1a3ff79f80 Fixed #4882 -- Updated Argentinean Spanish translation (includes re-encoding to
UTF-8). Thanks, Ramiro Morales.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5706 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-15 09:46:42 +00:00
Malcolm Tredinnick 7eade9a5bb Fixed #4880 -- Updated Spanish translation (includes re-encoding to UTF-8).
Thanks, Jorge Gajon.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5705 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-15 09:39:13 +00:00
Gary Wilson Jr a41c03345e Changed imports to adhere to PEP 8.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5704 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-15 06:29:45 +00:00
Gary Wilson Jr ae7f04caab Fixed #3012 -- Changed the locmem cache backend to use pickle instead of deepcopy to make it compatible with iterators (which cannot be copied). Patch from Sundance.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5703 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-15 06:24:54 +00:00
Gary Wilson Jr 208352e5d7 Fixed #4877 -- Fixed typo in testing documentation, patch from John Shaffer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5702 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-15 05:11:06 +00:00
Gary Wilson Jr b68f188628 Fixed #4310 -- Fixed a regular expression bug in `strip_entities` function and added tests for several `django.utils.html` functions. Based on patch from Brian Harring.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5701 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-15 05:03:28 +00:00
Russell Keith-Magee eff675b91e Clarified the documentation on the steps that happen during a save, and how raw save affects those steps.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5700 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-15 04:41:59 +00:00
Adrian Holovaty 55de110627 Negligible capitalization fix in test/client.py docstring
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5699 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-14 17:04:30 +00:00
Adrian Holovaty 0f869d1124 Edited docs/db-api.txt changes from [5658]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5698 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-14 16:58:54 +00:00
Malcolm Tredinnick f9d27b5d0b Fixed #4870 -- Removed unneeded import and fixed a docstring in an example.
Thanks, Collin Grady.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5697 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-14 14:50:35 +00:00
Malcolm Tredinnick a9a04ca8f6 Fixed #4731 -- Changed management.setup_environ() so that it no longer assumes
the settings module is called "settings". Patch from SmileyChris.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5696 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-14 14:47:14 +00:00
Malcolm Tredinnick b8eee39e78 Fixed a problem with translatable strings from [5686].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5695 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-14 13:39:41 +00:00
Malcolm Tredinnick f2a45f9b38 Fixed #4862 -- Fixed invalid Javascript creation in popup windows in admin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5694 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-14 13:14:28 +00:00
Malcolm Tredinnick 501448e3f2 Fixed #4863 -- Removed comment references to a no-longer present link. Pointed
out by Thomas Güttler.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5693 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-14 12:48:24 +00:00
Malcolm Tredinnick d48a39650f Fixed #4869 -- Added a note that syncdb does not alter existing tables. Thanks,
James Bennett.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-14 05:27:22 +00:00
Adrian Holovaty 9fa91e0ab3 Documented the 'commit' argument to save() methods on forms created via form_for_model() or form_for_instance()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5691 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 21:20:07 +00:00
Gary Wilson Jr 193e6db457 Refs #2591 -- Removed int conversion and try/except since the value in the single-item list is already an int. I overlooked this in my original patch, which was applied in [5679].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5690 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 20:36:01 +00:00
Malcolm Tredinnick 92ee770773 Fixed #4556 -- Stylistic changes to [5500]. Thanks, glin@seznam.cz.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5689 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 14:40:39 +00:00
Malcolm Tredinnick 50a3cea8b6 Fixed #4484 -- Fixed APPEND_SLASH handling to handle an empty path value.
Thanks, VesselinK.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5688 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 14:33:46 +00:00
Malcolm Tredinnick 20193b4d6d Added author credit for [5686]. Refs #4469.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 14:14:47 +00:00
Malcolm Tredinnick 40bb32b5a4 Fixed #4469 -- Added slightly more informative error messages to max- and
min-length newform validation. Based on a patch from A. Murat Eren.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5686 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 14:13:35 +00:00
Malcolm Tredinnick 3eb1071b3d Fixed #4865 -- Replaced a stray generator comprehension with a list
comprehension so that we don't break Python 2.3.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5685 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 13:15:35 +00:00
Malcolm Tredinnick e4bcfc272c Fixed #4861 -- Removed some duplicated logic from the newforms RegexField by
making it a subclass of CharField. Thanks, Collin Grady.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5684 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 12:03:20 +00:00
Malcolm Tredinnick 0145e71ceb Fixed #4846 -- Fixed some Python 2.3 encoding problems in the admin interface.
Based on a patch from daybreaker12@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5683 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 11:05:01 +00:00
Malcolm Tredinnick e27a7ef360 Fixed #4842 -- Added slightly more robust error reporting. Thanks, Thomas
Güttler.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5682 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 10:56:30 +00:00
Malcolm Tredinnick 53e3f76d6e Fixed #4839 -- Added __repr__ methods to URL classes that show the pattern they
contain. Thanks, Thomas Güttler.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5681 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 09:14:51 +00:00
Malcolm Tredinnick 92f54aff7a Fixed #4807 -- Fixed a couple of corner cases in decimal form input validation.
Based on a suggestion from Chriss Moffit.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5680 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 09:09:59 +00:00
Malcolm Tredinnick 54a71805aa Fixed #2591 -- Fixed a problem with inspectdb with psycopg2 (only). Patch from
Gary Wilson.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5679 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 08:52:07 +00:00
Russell Keith-Magee 6335317a42 Fixed #3505 -- Added handling for the error raised when the user forgets the comma in a single element tuple when defining AUTHENTICATION_BACKENDS. Thanks for the help identifying this problem, Mario Gonzalez <gonzalemario@gmail.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5678 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 05:03:33 +00:00
Russell Keith-Magee b8d0dc73c7 Fixed #4526 -- Modified the test Client login method to fail when a user is inactive. Thanks, marcin@elksoft.pl.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5677 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 15:26:37 +00:00
Russell Keith-Magee b9232cd955 Fixed #4538 -- Split the installation instructions to differentiate between installing a distribution package and installing an official release. Thanks to Carl Karsten for the idea, and Paul Bissex for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 14:41:32 +00:00
Russell Keith-Magee 3990efff69 Fixed #4525 -- Fixed mistaken documentation on arguments to runfcgi. Thanks, Johan Bergstrom <bugs@bergstroem.nu>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5675 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 14:21:51 +00:00
Russell Keith-Magee 0f10867519 Fixed #4522 -- Clarified the allowed filter arguments on the time and date filters. Thanks for the suggestion, admackin@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 14:11:41 +00:00
Russell Keith-Magee 53a06763c5 Fixed #4502 -- Clarified reference to view in tutorial. Thanks for the suggestion, Carl Karsten <carl@personnelware.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 14:05:16 +00:00
Russell Keith-Magee 4d9e29ea86 Fixed #4775 -- Added some missing Hungarian accents to the urlify.js LATIN_MAP. Thanks, Pistahh <szekeres@iii.hu>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5672 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 14:00:13 +00:00
Russell Keith-Magee 34655a3e78 Fixed #4768 -- Converted timesince and dateformat to use explicit floor division (pre-emptive avoidance of Python 3000 compatibility problem), and removed a redundant millisecond check. Thanks, John Shaffer <jshaffer2112@gmail.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 13:55:19 +00:00
Russell Keith-Magee 1345f3c521 Fixed #4764 -- Added reference to Locale middleware in middleware docs. Thanks, dan@coffeecode.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 13:41:27 +00:00
Russell Keith-Magee a5de16fbe4 Fixed #4755 -- Modified newforms MultipleChoiceField to use list comprehension, rather than iteration.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5669 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 13:37:59 +00:00
Russell Keith-Magee 7f5797e640 Fixed #4722 -- Clarified discussion about PYTHONPATH in modpython docs. Thanks for the suggestion, Collin Grady <cgrady@the-magi.us>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5668 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 13:32:00 +00:00
Russell Keith-Magee ab368c9c75 Fixed #4640 -- Fixed import to stringfilter in docs. Proposed solution to move stringfilter into django.template.__init__ introduces a circular import problem.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 13:23:11 +00:00
Russell Keith-Magee 6cf7a4ac65 Fixed #4627 -- Added details on MacPorts packaging of Django. Thanks, Paul Bissex.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5666 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 12:55:28 +00:00