Commit Graph

846 Commits

Author SHA1 Message Date
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
Russell Keith-Magee e8789de1b4 Fixed #11067 -- Updated Arabic translation. Thanks to Ossama M. Khayat.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11303 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:13:17 +00:00
Russell Keith-Magee a2bf2ebbbd Fixed #11040 -- Updated Finnish translation. Thanks to Leo Honkanen, Antti Kaihola and Uninen.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:11:22 +00:00
Russell Keith-Magee bdbcb6a4bb Fixed #10900 -- Updated Czech translation. Thanks to Elvard, Petr Marhoun and Vláďa Macek.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11301 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:09:28 +00:00
Russell Keith-Magee dbdf65ccf8 Fixed #10885 -- Updated Hebrew translation. Thanks to Alex Gaynor.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:07:33 +00:00
Russell Keith-Magee f1c00a2321 Fixed #10663 -- Updated Serbian (Cyrillic) translation; added a Serbian (Latin) sr_Latn translation set. Thanks to Branko Vukelic and Janos Guljas.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:05:43 +00:00
Jarek Zgoda 2fffe390a0 Fixed #11498 - fix wrong translation in admin actions form. Thanks for sayane for report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11267 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-17 20:04:03 +00:00
Russell Keith-Magee 8d48eaa064 Fixed #10061 -- Added namespacing for named URLs - most importantly, for the admin site, where the absence of this facility was causing problems. Thanks to the many people who contributed to and helped review this patch.
This change is backwards incompatible for anyone that is using the named URLs
introduced in [9739]. Any usage of the old admin_XXX names need to be modified
to use the new namespaced format; in many cases this will be as simple as a
search & replace for "admin_" -> "admin:". See the docs for more details on
the new URL names, and the namespace resolution strategy.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-16 16:16:13 +00:00
Marc Fargas 4532cf69de Updated Spanish translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-07 13:23:40 +00:00
Marc Fargas a4d8d45117 Updated catalan Translation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11200 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-07 13:23:15 +00:00
Ramiro Morales 44bf371b25 Updated Argentinian spanish translation, 100% complete as of r10858.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-28 16:03:28 +00:00
Adrian Holovaty a251e0ab7e Fixed #11070 -- Removed JING_PATH setting, which was no longer used. Thanks for the patch, seanl
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10840 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-26 05:32:52 +00:00
Jarek Zgoda ca365b4113 Polish translation updated.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-20 11:03:10 +00:00
Aljosa Mohorovic 88f5167142 git-svn-id: http://code.djangoproject.com/svn/django/trunk@10721 bcc190cf-cafb-0310-a4f2-bffc1f526a37 2009-05-08 16:20:28 +00:00
Jarek Zgoda 95477d7a80 Polish translation updated (after [10678])
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10680 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-06 07:37:43 +00:00
Ludvig Ericson e43ace720c Update Swedish locale.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10651 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-01 22:03:14 +00:00
Jannis Leidel f7f755e982 Updated German translation, thanks zerok and bartTC
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10639 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-28 09:35:04 +00:00
Jarek Zgoda 681c85f0d4 Polish translation updated
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10638 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-27 09:37:29 +00:00
Malcolm Tredinnick b0516a1b43 Fixed #10885 -- Updated Hebrew translation from Moses Gaynor and Yaron McNabb.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10637 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-26 22:58:44 +00:00
Malcolm Tredinnick 9a7cbcc6d1 Fixed #10805 -- Updated Norwegian translation from jonklo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10597 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-19 02:37:44 +00:00
Malcolm Tredinnick 722ad57773 Fixed #10773 -- Fixed some damage I did to the French in r10508.
Patch from Karen Tracey.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10595 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-19 02:30:42 +00:00
Malcolm Tredinnick dfac29a2df Fixed #10674 -- Updated Arabic translation from Ossama M. Khayat.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10594 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-19 02:27:17 +00:00