Commit Graph

3043 Commits

Author SHA1 Message Date
Malcolm Tredinnick 7a0441b712 Fixed #3897 -- Added German localflavor. Thanks, Jannis Leidel.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4920 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-04 06:45:29 +00:00
Malcolm Tredinnick 5212911b19 Made django.utils.html.escape() work with unicode strings (and unicode-like
objects). Refs #3897.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4919 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-04 06:43:28 +00:00
Malcolm Tredinnick 1bddac37b6 Moved smart_unicode and StrAndUnicode to django.utils.encoding. They are useful
outside of newforms. This is backwards compatible as far as smart_unicode goes
(since newforms.util still imports it). All imports of smart_unicode and
StrAndUnicode have also been updated.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4918 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-04 06:34:19 +00:00
Adrian Holovaty f791a598a8 Negligible formatting changes to some recent commits
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4917 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-03 22:33:28 +00:00
Adrian Holovaty 87471549b3 Fixed #3913 -- Fixed legacy/confusing 'mysite.settings.main' in docs/faq.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4915 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-03 21:57:15 +00:00
Jacob Kaplan-Moss bb53a0e264 Dropped the presumptive next release's number to 0.97 just so that nobody gets silly about the magic one-oh.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4914 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-03 16:05:03 +00:00
Malcolm Tredinnick a3f32ead5d Bumped version number to 1.0-pre, so that we can tell it apart from the 0.96
releases.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4913 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-03 12:30:13 +00:00
Malcolm Tredinnick b9d077c10d Fixed #3338, #3536, #3796 -- Fixed a bunch of setup and build problems in a
portable fashion. That took a *lot* longer to debug than I thought it would, so
let's try not to break it.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4912 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-03 12:28:19 +00:00
Malcolm Tredinnick abe6c5d6ae Fixed #3901 -- Updated Brazilian Portugese translation. Thanks Daniel Alves
Barbosa de Oliveira Vaz.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4911 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-03 04:42:40 +00:00
Malcolm Tredinnick a5938f350c Fixed #3890 -- Added USSocialSecurityNumberField. Thanks James Bennet.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4910 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-03 03:56:17 +00:00
Malcolm Tredinnick b6264d0452 Fixed #3887 -- Fixed formatting error in docstring that was causing problems in
online admin documentation. Thanks Florian Apolloner.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4909 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-03 03:45:47 +00:00
Malcolm Tredinnick 44ba9aa674 Fixed #3882 -- Changed error messages in Brazilian localflavor to be in
English. Thanks, Wiliam Alves de Souza.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4908 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-03 03:13:21 +00:00
Malcolm Tredinnick 9107ab6e1d Fixed #3900 -- Included missing function in utils/translation/__init__.py.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4907 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-03 03:08:56 +00:00
Malcolm Tredinnick 286e676231 Delayed the reading of settings.USE_I18N until the first use of the i18n
functions. This solves a few import problems we are seeing. Fixed #3687. Refs #2920.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4905 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-02 10:58:43 +00:00
Malcolm Tredinnick 4a3db287f1 Fixed #3600 -- Made smart_unicode respect deferred evaluation in the case
of strings translated with gettext_lazy and friends.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4904 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-02 10:53:05 +00:00
Malcolm Tredinnick b6f085aa43 Typo fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4903 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 07:36:06 +00:00
Malcolm Tredinnick 70c4a88e82 Added support for SCGI and AJP. This is a piece that was missed in [4897]. Refs
#3047.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4902 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 07:30:27 +00:00
Malcolm Tredinnick d882656ea3 Added the ability to name URL patterns. Helps with disambiguity reverse matches.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4901 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 07:25:20 +00:00
Adrian Holovaty a071609a70 More ReST antics with docs/fastcgi.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4900 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 06:44:17 +00:00
Adrian Holovaty 9a6261a837 Fixed ReST error in docs/fastcgi.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4899 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 06:42:35 +00:00
Adrian Holovaty 9b6a518e17 Edited faq.txt and fastcgi.txt changes from [4897]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4898 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 06:40:01 +00:00
Malcolm Tredinnick 72dfcab0d4 Fixed #3047 -- Updated fastcgi documentation to mention SCGI and AJP support.
Thanks Barry Pederson and Simon Greenhill.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4897 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 06:00:45 +00:00
Malcolm Tredinnick 96bf5e853c Fixed #3629 -- In oldforms, differentiate files in a recursive FilePathField.
Thanks, James Turnbull.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4896 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 05:42:48 +00:00
Malcolm Tredinnick 78b86d7eeb Fixed #3889 -- Fixed incorrect anchor in link.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4895 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 05:32:44 +00:00
Malcolm Tredinnick c60587b5a7 Fixed #3810 -- In newforms, copy attribute dictionaries before modifying them
in place.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4894 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 05:26:26 +00:00
Adrian Holovaty 4e31a17e9e Negligible comment formatting change in django/db/models/base.py (from [4881])
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4893 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 05:25:03 +00:00
Adrian Holovaty 018ece8dc8 Negligible formatting change to humanize tests.py (from [4880])
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4892 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 05:23:08 +00:00
Adrian Holovaty da1d001ce1 Edited docs/model-api.txt permalink changes from [4879]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4891 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 05:22:14 +00:00
Adrian Holovaty 99fbb7b62b Documented HttpResponseBadRequest. Refs #3847 and [4867]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4890 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 05:18:47 +00:00
Malcolm Tredinnick 4552175d44 Tweaked formatting so that comments are readable on 80-char terminals.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4889 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 05:05:59 +00:00
Malcolm Tredinnick a599f1234e Fixed #3879 -- Updated Norwegian social security validation rules. Thanks,
bp@datakortet.no.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4888 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 05:00:44 +00:00
Malcolm Tredinnick b11454dc3d Moved localflavor form tests into their own file.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4887 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 04:40:36 +00:00
Russell Keith-Magee f271e0896b Fixed #2841 -- Clarified documentation on procedure for field validation. Thanks, dave@avaragado.org.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4886 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 01:25:01 +00:00
Russell Keith-Magee 9191fa1f64 Fixed #3532 -- Made spaceless template tag remove all spaces, rather than preserving a single space. Thanks for the suggestion, ampaze@gmx.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4885 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 01:09:21 +00:00
Malcolm Tredinnick 1109e722aa Fixed #2363 -- Improved base class checking in ModelBase metaclass. Thanks to
combined work from phil.h.smith@gmail.com and Chris.Wesseling@cwi.nl.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4881 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-31 12:02:37 +00:00
Malcolm Tredinnick 04c155fd06 Fixed #3017 -- Added tests for humanize filter.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4880 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-31 11:45:24 +00:00
Malcolm Tredinnick d7cf8eb406 Fixed #3540 -- Updated permalink documentation to fix an error and document how
to pass keyword arguments.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4879 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-31 11:35:06 +00:00
Malcolm Tredinnick 6a5deb6bc0 Fixed #3635 -- Fixed KeyError problem in newforms.model.save_instance().
Thanks, ludo@qix.it.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4878 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-31 09:47:32 +00:00
Malcolm Tredinnick 1ccdcbf765 Fixed #3801 -- Added note about double-escaping Windows paths when configuring
mod_python.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4877 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-31 09:40:27 +00:00
Malcolm Tredinnick 5787603c8b Fixed #3866 -- Added tests for localflavor/it. Thanks flavio.curella@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4876 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-31 09:18:20 +00:00
Malcolm Tredinnick 64073e4752 Fixed #3879 -- Added Norwegian localflavor. Thanks bp@datakortet.no
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-31 09:14:37 +00:00
Malcolm Tredinnick 79312f7a4e Fixed #3882 -- Added Brazilian localflavor. Thanks, Wiliam Alves de Souza.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-31 09:05:54 +00:00
Russell Keith-Magee 7be1f44053 Fixed #3473 -- Corrected access to get in manager (probably introduced as part of magic-removal conversion).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4873 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-31 02:23:34 +00:00
Malcolm Tredinnick df119b7786 Removed some trailing whitespace that had smuggled itself aboard in [4870].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4871 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-30 12:00:38 +00:00
Malcolm Tredinnick 5e739219de Fixed #3733 -- Fixed up quote parsing in smart_split(). Thanks, Ivan Chelubeev.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4870 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-30 11:57:50 +00:00
Malcolm Tredinnick 63a629bb8d Fixed #3847 -- Added validation support for Finnish social security numbers.
Thanks, karsu.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4868 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-30 10:18:15 +00:00
Malcolm Tredinnick 51c7dadc4c Fixed #3847 -- Added Finnish localflavor contribution from Ville Säävuori.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-30 10:04:22 +00:00
Malcolm Tredinnick 6a643b03d7 Fixed #3875 -- Added HttpResponseBadRequest. Thanks, Scott Barr.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4866 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-30 06:48:19 +00:00
Malcolm Tredinnick 3c6609ac0c Refactored the HttpResponse sub-classes so that adding a subclass that only
changes the HTTP status code requires less code (no need to duplicate the
__init__ method).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4865 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-30 06:46:36 +00:00
Malcolm Tredinnick 179b5b8422 Fixed #3840 -- Attempted to clarify how to specify the settings file
configuration for mod_python.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4864 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-30 06:16:41 +00:00