Commit Graph

867 Commits

Author SHA1 Message Date
Jannis Leidel 18c31f608f Fixed #12220 - Added Serbian Latin to list of languages in global settings. Thanks, Janos Guljas.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-01 21:38:11 +00:00
Jannis Leidel f93657218c Fixed Norwegian date and time input format strings.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12031 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-30 22:12:37 +00:00
Jarek Zgoda dcdca8d78c Fixed #12461: better translation for error message. Thanks jwilk for report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12027 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-30 07:58:08 +00:00
Nicola Larosa b7cb882471 Updated italian translation of formats.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12013 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-28 14:17:51 +00:00
Nicola Larosa dd42e4af16 Italian translation updated
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11998 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-26 16:35:27 +00:00
Jannis Leidel 7d0c196b86 Fixed #12425 - Typo in Ukrainian translation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11977 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-24 14:24:11 +00:00
Jannis Leidel b5a4aef43d Updated i18n tests a little to handle test failures better and updated Argentinian Spanish format strings. Thanks to Ramiro Morales. Refs #11637.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11976 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-24 14:23:52 +00:00
Jannis Leidel 7e44efb853 Updated Czech format strings. Thanks Honza Král. Refs #11637.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-24 14:23:22 +00:00
Jarek Zgoda 18d754d681 Updated Polish translations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11970 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-23 12:07:39 +00:00
Jannis Leidel cec64b96b0 Fixed #12317 - Updated Hebrew translation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-22 19:49:11 +00:00
Jannis Leidel cba6133380 Fixed #11968 - Updated Irish translation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11966 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-22 19:48:15 +00:00
Jannis Leidel 9233d04265 Fixed #7980 - Improved i18n framework to support locale aware formatting (dates and numbers) and form processing.
Thanks to Marc Garcia for working on this during his Google Summer of Code 2009!

Additionally fixes #1061, #2203, #3940, #5526, #6449, #6231, #6693, #6783, #9366 and #10891.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-22 17:58:49 +00:00
Russell Keith-Magee ff60c5f9de Fixed #1142 -- Added multiple database support.
This monster of a patch is the result of Alex Gaynor's 2009 Google Summer of Code project.
Congratulations to Alex for a job well done.

Big thanks also go to:
 * Justin Bronn for keeping GIS in line with the changes,
 * Karen Tracey and Jani Tiainen for their help testing Oracle support
 * Brett Hoerner, Jon Loyens, and Craig Kimmerer for their feedback.
 * Malcolm Treddinick for his guidance during the GSoC submission process.
 * Simon Willison for driving the original design process
 * Cal Henderson for complaining about ponies he wanted.

... and everyone else too numerous to mention that helped to bring this feature into fruition.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-22 15:18:51 +00:00
Jarek Zgoda c90b15e1d6 Polish translation updated (still missing some GIS-related things)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11880 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-16 19:03:51 +00:00
Russell Keith-Magee 44b9076bbe Fixed #6262 -- Added a cached template loader, and modified existing template loaders and tag to be cacheable. Thanks to Mike Malone for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11862 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-14 12:08:23 +00:00
Jarek Zgoda dd27fe74c7 Polish translation updated
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11810 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-11 09:16:43 +00:00
Luke Plant 25020ddb05 Fixed #4604 - Configurable message passing system, supporting anonymous users
This deprecates User.message_set in favour of a configurable messaging
system, with backends provided for cookie storage, session storage and
backward compatibility.

Many thanks to Tobias McNulty for the bulk of the work here, with
contributions from Chris Beaven (SmileyChris) and lots of code review from
Russell Keith-Magee, and input from many others.  Also credit to the authors
of various messaging systems for Django whose ideas may have been pinched
:-)



git-svn-id: http://code.djangoproject.com/svn/django/trunk@11804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-09 16:57:23 +00:00
Luke Plant 85bfaf1017 Fixed #12336 - infinite recursion in dir(UserSettingsHolder)
This is a regression introduced in trunk, so it does not need to be backported.

Thanks to miracle2k for the report.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@11799 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-09 01:34:47 +00:00
Marc Fargas 9722091015 Updated Spanish translation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11784 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-11-30 10:45:30 +00:00
Marc Fargas 50a2c1ec08 Updated Catalan translation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11783 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-11-30 10:44:56 +00:00
Aljosa Mohorovic 1f3aa297f1 updated croatian translation, date/time formats contributed by Davor Lučić
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11778 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-11-23 21:40:09 +00:00
Russell Keith-Magee aba5389326 Fixed #10355 -- Added an API for pluggable e-mail backends.
Thanks to Andi Albrecht for his work on this patch, and to everyone else that contributed during design and development.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11709 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-11-03 12:53:26 +00:00
Luke Plant 7230a995ce Moved contrib.csrf.* to core code.
There is stub code for backwards compatiblity with Django 1.1 imports.

The documentation has been updated, but has been left in
docs/contrib/csrf.txt for now, in order to avoid dead links to
documentation on the website.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@11661 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-27 00:36:34 +00:00
Luke Plant 8e70cef9b6 Fixed #9977 - CsrfMiddleware gets template tag added, session dependency removed, and turned on by default.
This is a large change to CSRF protection for Django.  It includes:

 * removing the dependency on the session framework.
 * deprecating CsrfResponseMiddleware, and replacing with a core template tag.
 * turning on CSRF protection by default by adding CsrfViewMiddleware to
   the default value of MIDDLEWARE_CLASSES.
 * protecting all contrib apps (whatever is in settings.py)
   using a decorator.

For existing users of the CSRF functionality, it should be a seamless update,
but please note that it includes DEPRECATION of features in Django 1.1,
and there are upgrade steps which are detailed in the docs.

Many thanks to 'Glenn' and 'bthomas', who did a lot of the thinking and work
on the patch, and to lots of other people including Simon Willison and
Russell Keith-Magee who refined the ideas.

Details of the rationale for these changes is found here:

http://code.djangoproject.com/wiki/CsrfProtection

As of this commit, the CSRF code is mainly in 'contrib'.  The code will be
moved to core in a separate commit, to make the changeset as readable as
possible.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@11660 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-26 23:23:07 +00:00
Jarek Zgoda e32b042d6b Polish translation updated
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11655 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-25 20:09:49 +00:00
Luke Plant c6e8e5d9f0 Fixed non-standard introspection support in LazyObject.
LazyObject called a public method ``get_all_members`` on wrapped objects in
order to allow introspection.  This could easily cause name clashes with
existing methods on wrapped objects, and so has been changed to use the
standard methods.  This could be slightly backwards-incompatible, in obscure
cases, if the undocumented LazyObject has been used externally.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@11636 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-19 21:48:06 +00:00
Russell Keith-Magee 7ae2f70722 Fixed #11862 -- Corrected an error in the Hebrew translation. Thanks to Adam Rimon for the fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11550 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-13 03:09:35 +00:00
Russell Keith-Magee d1cb1eb79e Fixed #11575 -- Updated Thai translation. Thanks to KayEss.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-29 00:25:06 +00:00
Russell Keith-Magee a403a64acc Fixed #11575 -- Updated Thai translation. Thanks to KayEss.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11346 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-28 14:40:19 +00:00
Russell Keith-Magee bbd2953a8a Fixed #11567 -- Updated Danish translation. Thanks to Finn Gruwier Larsen.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11345 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-28 14:39:11 +00:00
Nicola Larosa e00150af15 Italian translation: further corrections
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11341 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-27 09:11:41 +00:00
Nicola Larosa 28c6aee043 Italian translation: more corrections
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11337 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-26 17:26:43 +00:00
Nicola Larosa a25dde222c Italian translation: updates, corrections, added ugly but more correct suffixes to some gender-varying words
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11334 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-26 16:52:22 +00:00
Nicola Larosa be9a8fb851 Italian translation: commit of regenerated django.po to have significant commit diffs afterwards
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11333 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-26 15:49:21 +00:00
Russell Keith-Magee e3410b4ecd Fixed #11540 -- Updated Estonian translation. Thanks to Erik Allik and Mart Sõmermaa.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11331 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-25 05:29:41 +00:00
Russell Keith-Magee a69a95b2a4 Fixed #11550 -- Updated Macedonian translation. Thanks to Vasil Vangelovski.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11330 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-25 05:28:42 +00:00
Russell Keith-Magee 5d57edcbfc Fixed #11543 -- Updated Norwegian translation. Thanks to jonklo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11324 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-24 14:18:06 +00:00
Jannis Leidel 007bfddc1f Updated German translation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11318 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 17:48:00 +00:00
Ramiro Morales c8f4d37565 Updated Argentinian spanish translation for trunk.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 15:01:48 +00:00
Russell Keith-Magee 67505210f2 Fixed #11528 -- Updated Traditional Chinese translation. Thanks to Qing Feng/
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11315 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 14:32:26 +00:00
Russell Keith-Magee a135608d91 Fixed #11408 -- Updated Brazilian Portuguese translation. Thanks to Guilherme Gondim.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11313 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:58:00 +00:00
Russell Keith-Magee 92af0734db Fixed #11045 -- Updated Dutch translation. Thanks to joeri and rvanlaar.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11312 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:27:06 +00:00
Russell Keith-Magee 7dc35765c7 Fixed #11530 -- Updated Portuguese translation. Thanks to Nuno Mariz.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11311 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:25:58 +00:00
Russell Keith-Magee 90d099fc35 Fixed #11528 -- Updated Traditional Chinese translation. Thanks to Qing Feng.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11310 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:24:52 +00:00
Russell Keith-Magee 1f044ed37a Fixed #11525 -- Updated Russian translation. Thanks to dc and kmike.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:23:34 +00:00
Russell Keith-Magee 41852f0bfe Fixed #11524 -- Updated Japanese translation. Thanks to Takashi Matsuo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11308 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:22:05 +00:00
Russell Keith-Magee 6e2fe421d5 Fixed #11507 -- Updated Bengali translation. Thanks to Nasimul Haque.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11307 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:20:25 +00:00
Russell Keith-Magee d0affb2bbd Fixed #11467 -- Updated Macedonian translation. Thanks to Vasil Vangelovski.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11306 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:18:45 +00:00
Russell Keith-Magee 52cb164ffd Fixed #11408 -- Updated Brazilian Portuguese translation. Thanks to Guilherme Gondim.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11305 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:17:10 +00:00
Russell Keith-Magee 507e07e58e Fixed #11323 -- Updated Korean translation. Thanks to Hyun Mi Ae and Joongi Kim.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11304 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:15:30 +00:00