Ramiro Morales
f4d93f6eb8
Two very simple docs fixes.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16718 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-03 17:46:16 +00:00
Julien Phalip
5c1b4ab75b
Fixed #16729 -- Fixed a small typo in the settings reference doc. Thanks to simon.cruanes.2007@m4x.org for the report and to Aymeric Augustin for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16716 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-02 03:47:49 +00:00
Julien Phalip
71f017b2a6
Fixed #16059 -- Improved the usability of the admin's vertical and horizontal "filter" widgets, in particular by providing a better visual representation of the buttons' enabled and disabled states, and by providing more elaborate, yet less cluttered, help texts.
...
Note that this commit is an exception to the current tacit rule that javascript code changes should be avoided until a proper javascript testing framework for Django core is in place. This exception is commanded by the fact that it is to fix a recognized usability issue and that the patch has been (manually) extensively tested in IE6+, Chrome, Safari, Firefox and Opera.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16714 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-31 08:07:07 +00:00
Jannis Leidel
3256862f5f
Fixed #16717 -- Added ability to store result of trans template tag in context variable.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16712 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-30 12:09:45 +00:00
Idan Gazit
5ed2cf03bb
Added admin browser support policy note.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16711 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-30 08:14:35 +00:00
Idan Gazit
6dc48a735c
Added guidelines for reporting UI-related bugs & feature requests.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16707 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-28 14:43:51 +00:00
Julien Phalip
6757568bfa
Fixed #16202 -- Added a Slovenian localflavor. Thanks to Jure Cuhalev < gandalf@owca.info>, Gasper Zejn and Domen Kozar for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16706 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-28 13:51:28 +00:00
Malcolm Tredinnick
77189afb7f
Slightly rewrite @permalink and get_absolute_url() documentation.
...
Part 2 of the model instance documentation changes. Slightly tidied up
get_absolute_url() and @permalink documentation to collapse some of the
earlier versions into a preferred learning order. I'm still not
amazingly happy with this, but larger rewrites are needed to the URLconf
stuff across a few files before I can get it into the most natural
order, I suspect. That's a slightly longer-term project.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16702 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-28 02:05:32 +00:00
Malcolm Tredinnick
a0eb58e90b
Documentation edits for model instance docs.
...
First of two parts. Mostly adding cross references to other parts of the
documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16701 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-28 02:05:20 +00:00
Malcolm Tredinnick
4c8f2dca21
Extensive copy-editing and cross-referencing in the queryset API docs.
...
Been meaning to do this for a long time. Mostly, this is a lot of
additions of cross references. Within a particular section about foo() I
didn't cross-link foo() calls to itself, but everything else was
cross-linked to its main documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16699 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-27 02:56:18 +00:00
Julien Phalip
17ceb9b98a
Fixed #16712 -- Fixed a small typo in the QuerySet API docs. Thanks to Rupe and Aymeric Augustin for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16698 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-26 23:37:07 +00:00
Malcolm Tredinnick
a4a250a296
Corrected explanation of values() and extra() interaction in querysets.
...
Fixes #15546 , refs #13455 . The original documentation patch
inadvertently muddied the waters in one aspect and this commit tidies
that up.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16697 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-26 21:13:01 +00:00
Malcolm Tredinnick
e0ae9db272
Small typo fix for how to claim a ticket in Trac.
...
Patch from Audrey Roy, fixes #16670 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16696 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-26 09:44:40 +00:00
Malcolm Tredinnick
1154b80a64
Added placeholder release notes for the 1.2.1 and 1.2.3 releases.
...
Both of these releases were to fix bugs in the previous release and, as
such contained nothing new of significance. However, to complete the set
of release note files in case anybody worries about the gaps, we now
have documents explaining precisely that.
Fixed #15330 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16695 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-26 09:31:01 +00:00
Malcolm Tredinnick
4d21511961
Clarify the documentation around SQLite and case-sensitive string matching.
...
This was still causing some confusion, so I rewrote the section in the
database notes to encompass both substring matching and non-ASCII
case-insensitive equality checks, as well as putting in a stronger
callout on the "contains" filter.
Refs #16569 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16694 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-26 08:42:38 +00:00
Malcolm Tredinnick
c9da5db701
Fixed documentation about use of salt parameter in signing functions.
...
Fixes #16369 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16693 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-26 08:18:05 +00:00
Malcolm Tredinnick
70e59aeaf8
Be very clear about when it's appropriate to use defer() and only().
...
I've been seeing a bit of over-reliance on defer() and only() in code
around the place and it's generally better modelled with normalised data
or shadow (unmanaged) models. This commit makes this position clearer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-26 06:19:30 +00:00
Malcolm Tredinnick
499f01842e
Add a note about discouraging whitespace- or formatting-only patches.
...
We follow the python-dev path here. Deliberately.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16691 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-26 05:28:58 +00:00
Adrian Holovaty
804a6db86e
Added a bit to 'Saving ManyToMany Fields' explicitly explaining how to add multiple relations in one statement
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16689 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-26 04:34:40 +00:00
Julien Phalip
5eeb2d56d5
Added some tips to the contributor docs, namely about removing trailing whitespaces and about mentioning relevant ticket numbers in tests.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16688 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-26 02:43:33 +00:00
Jannis Leidel
b0764e81ad
Documented `translation.override` context manager introduced in r16166.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16685 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-25 09:20:44 +00:00
Russell Keith-Magee
be4acff319
Reverted r16662 -- There are bunch of problems with this patch, including failing tests, that I didn't pick up before committing.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16669 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-23 06:31:03 +00:00
Julien Phalip
6feb611c7b
Fixed #16669 -- Made the startproject instruction formatting easier to read and more consistent with other formatting in the tutorial part 1. Thanks to Daniel Lawrence and Aymeric Augustin.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16664 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-23 05:24:31 +00:00
Russell Keith-Magee
43024142a1
Fixed #16202 -- Added a Slovenian localflavor. Thanks to Jure Cuhalev <gandalf@owca.info>, Gasper Zejn, Domen Kozar and iElectric for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16662 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-23 04:41:56 +00:00
Julien Phalip
966bbd4d56
Fixed #16680 -- Used single quotes for the TEMPLATE_DIRS examples in part 2 of the tutorial to be consistent with the settings.py file generated by the startproject command. Thanks, Michael Tomkins.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16660 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-23 04:10:15 +00:00
Russell Keith-Magee
6cd9023635
Fixed #15499 -- Ensure that cache control headers don't try to set public and private as a result of multiple calls to patch_cache_control with different arguments. Thanks to AndiDog for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16657 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-23 03:51:10 +00:00
Malcolm Tredinnick
0686c6b0ee
Add the ability to do unordered comparisons in assertQuerysetEqual.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16654 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-23 03:38:18 +00:00
Russell Keith-Magee
2664fa1896
Fixed #15838 -- Promoted assertFieldOutput to a general test utility. Thanks to Ramiro Morales for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16653 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-23 02:32:37 +00:00
Julien Phalip
46ef2983ba
Added myself to the list of committers.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-23 01:41:47 +00:00
Malcolm Tredinnick
5edf1aabc2
Minor Debian/Ubuntu install instruction update.
...
This is all a bit of a mess (and fragile and mostly their own fault),
but this at least gives people a clue. Fixes #16287 . Patch from
bpeschier.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16647 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-22 07:36:42 +00:00
Malcolm Tredinnick
f77666a4af
Documented some Oracle-specific test settings.
...
Patch from aaugustin that should help people with specific testing
requirements for Oracle set things up in their preferred way. The
settings have always existed, but now they are documented.
Fixes #16478 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16646 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-22 06:35:52 +00:00
Malcolm Tredinnick
5994a7442d
Trivial documentation typo fix.
...
Fixed #16545 . Thanks, Audrey Roy.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16645 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-22 06:30:42 +00:00
Malcolm Tredinnick
549faf19bf
Improved documentation around HTTP server meta variables.
...
Fixed #16581 , with thanks to Bernhard Essl.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16644 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-22 04:27:36 +00:00
Paul McMillan
11cc26681b
Added myself to the committers list
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16643 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-22 03:37:37 +00:00
Malcolm Tredinnick
e3cd0e6710
Typo fix in class-based view documentation.
...
Fixed #16666 . Thanks saebyn.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-22 02:03:50 +00:00
Malcolm Tredinnick
1f233b479a
Made documentation of ManyToManyField placement clearer (kind of).
...
Inspired by ticket #16661 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16639 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-22 01:07:19 +00:00
James Bennett
cdd44dca45
Update my committer bio since I work somewhere else now.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16634 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-21 15:45:09 +00:00
Timo Graham
24a45a5fda
Fixed #16602 - Added forms.widgets TOC links to docs; thanks kencochrane.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16633 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-21 11:51:48 +00:00
Timo Graham
ec530b1425
Fixed #16610 - Added more docs for template contexts in contrib.auth views; thanks Elvard!
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16632 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-21 10:37:02 +00:00
Timo Graham
c673bd1c4b
Fixed #16654 - Syntax error in reverse() example; thanks jedie.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-20 19:27:58 +00:00
Timo Graham
2ac0b97d43
Fixed #16595 - Add pop() to session docs; thanks wilfred.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16628 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-20 19:22:34 +00:00
Gabriel Hurley
920d01edb7
Fixed #16660 -- Corrected a typo and removed an extra space in the GeoDjango tutorial. Thanks to spahn for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16627 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-19 18:18:06 +00:00
Gabriel Hurley
40c8a603c3
Fixed #16591 -- Fixed some mismatched variable names in a widgets reference example. Thanks to santi.romero, el barto, and julien.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16626 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-18 22:39:20 +00:00
Gabriel Hurley
41b31b4d09
Fixed #16608 -- Clarified the description of the destroy_test_db method and cleaned up various other reST/Sphinx-related bits in the testing docs. Thanks to Stan for the report and Julien for the draft patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-18 22:31:32 +00:00
Gabriel Hurley
b825680df8
Fixed #16152 -- Added Sybase Advantage Database Server to the 3rd-party database backend list. Thanks to Mike Hagman and melinath.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16624 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-18 21:57:57 +00:00
Gabriel Hurley
bdd1409eea
Fixed #16467 -- Restored a previously correct example which was broken in [16564]. Thanks to dmclain for pointing out that the original example was correct.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16623 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-18 21:47:04 +00:00
Jannis Leidel
a13de6cd76
Fixed #6644 -- Fixed django.contrib.formtools tests to be better isolated when running outside of the Django test suite. Also moved around the new wizard's templates a bit to better fit the common app layout.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16616 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-13 13:51:34 +00:00
Jannis Leidel
566b3295fa
Fixed #16621 -- Fixed lots of typos in the docs. Thanks, Bernhard Essl.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-13 11:58:19 +00:00
Timo Graham
f3bf62230a
Fixed #16606 - Typo in docs/ref/contrib/csrf.txt; thanks selwin.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16612 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-13 11:25:57 +00:00
Jannis Leidel
e11c647d60
Fixed #16627 -- Fixed docs build warning.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16611 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-13 11:23:13 +00:00
Ramiro Morales
326949e444
Fixed #14503 -- Unified multiple implementations of test cases assert* methods that verify a given exception is raised by a callable throughout the Django test suite.
...
Replaced them with a new assertRaisesMessage method of a new SimpleTestCase, a lightweight subclass of unittest.TestCase. Both are also available for usage in user tests.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16610 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-13 00:42:08 +00:00
Jannis Leidel
351d5da69b
Fixed #4617 -- Added `raise_exception` option to `permission_required` decorator to be able to raise a PermissionDenied exception instead of redirecting to the login page.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16607 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-12 14:15:41 +00:00
Jannis Leidel
1ca6e9b9e2
Fixed #9847 -- Added 403 response handler. Many thanks to kgrandis, adamnelson, vkryachko, fvox13 and Chris Beaven.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16606 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-12 14:15:31 +00:00
Jannis Leidel
3d027b72eb
Fixed #14496 -- Fixed conflict between ModelForm exclude and ModelAdmin readonly values. Thanks, Julien Phalip.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16602 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-12 14:14:49 +00:00
Jannis Leidel
1d32bdd3c9
Fixed #15252 -- Added static template tag and CachedStaticFilesStorage to staticfiles contrib app.
...
Many thanks to Florian Apolloner and Jacob Kaplan-Moss for reviewing and eagle eyeing.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16594 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-11 14:07:39 +00:00
Karen Tracey
be87f0b0ec
Fixed #3615 : Added support for loading fixtures with forward references on database backends (such as MySQL/InnoDB) that do not support deferred constraint checking. Many thanks to jsdalton for coming up with a clever solution to this long-standing issue, and to jacob, ramiro, graham_king, and russellm for review/testing. (Apologies if I missed anyone else who helped here.)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16590 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-07 00:43:26 +00:00
Timo Graham
e3c89346d2
Fixed #16430 - Stronger wording for CSRF protection in `modifying upload handlers on the fly`; thanks tomchristie.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16588 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-06 20:34:04 +00:00
Timo Graham
0350d65fa4
Fixed #16513 - Add forms import to example; thanks teraom.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16586 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-06 19:02:20 +00:00
Timo Graham
bbe63f07c4
Fixed #16528 - Documented test runner returns 1, regardless of the number of test failures; thanks teraom.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16584 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-06 18:54:21 +00:00
Timo Graham
953fed1e30
Fixed #16580 - Typo in docs/ref/models/querysets.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16582 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-06 18:49:58 +00:00
Timo Graham
815a47ff48
Fixed #16566 - Typo in docs/ref/files/storage.txt; thanks thejaswi_puthraya.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16580 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-06 18:40:33 +00:00
Jannis Leidel
0fbadfd1c8
Fixed #16497 -- Added new form and model fields to the Mexican local flavor. Many thanks to Andrés Torres Marroquín and Gerardo Orozco.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16572 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-29 10:20:16 +00:00
Jannis Leidel
4a6e1b5613
Fixed #8013 -- Added Columbian and Ecuadorian local flavor. Thanks, ikks and Bernhard Essl.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16570 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-29 09:41:14 +00:00
Jannis Leidel
2ccfb6d5c2
Fixed #16101 -- Added parameters to SingleObjectMixin to override the name of the URL keyword arguments used for pk and slug. Thanks, Andrew Ingram and Julien Phalip.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16569 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-29 09:41:00 +00:00
Jannis Leidel
94f7481396
Fixed #16377 -- Fixed docs about how to disable the admin actions conditionally to match the current code. Thanks, Aymeric Augustin.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16567 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-29 09:40:43 +00:00
Jannis Leidel
7d10875213
Fixed #16394 -- Corrected documentation of the allow_empty option of the BaseDateListView view. Thanks, Aymeric Augustin.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16566 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-29 09:40:35 +00:00
Jannis Leidel
8ac23178ad
Fixed #16467 -- Corrected formset code example. Thanks, teraom.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-29 09:40:22 +00:00
Jannis Leidel
fab483971c
Fixed #16464 -- Fixed the reference docs of the DateDetailView view. Thanks, Julien Phalip.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16563 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-29 09:40:15 +00:00
Jannis Leidel
f0280f2e94
Fixes #16482 -- Fixes typo in security docs. Thanks, charettes.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-29 09:39:55 +00:00
Jannis Leidel
441c4e08cd
Fixed #16498 -- Fixed typo in GenericIPAddressField docs. Thanks, JshWright.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16559 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-29 09:39:49 +00:00
Chris Beaven
4f50d248a8
Fixes #16532 -- Clearer explanation of how the test client expects HTTP headers to be passed. Thanks for the patch, Ricardo Bánffy.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16554 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-28 22:09:26 +00:00
Jannis Leidel
127b7fdce8
Fixed #16469 -- Improved documentation of Django internals, including the new backport policy. Many thanks to Aymeric Augustin.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-19 13:16:09 +00:00
Jannis Leidel
8f7b5024b2
Fixed #16414 -- Added standard Windows make batch file for Sphinx. Thanks, Aymeric Augustin.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-19 09:00:24 +00:00
Luke Plant
9896b0df73
Grammar fixes and content tweaks to XSS section of security docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-17 14:17:26 +00:00
Brian Rosner
99cd76e273
Added a note about the AJAX CSRF example not working on jQuery 1.5
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16543 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-14 18:36:05 +00:00
Jannis Leidel
3b77458371
Fixed #5025 -- Add a "truncatechars" template filter. Many thanks to Chris Beaven.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16542 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-14 13:47:10 +00:00
Chris Beaven
956da729d1
Add a note to USE_L10N settings documentation that startproject sets USE_L10N = True
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16538 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-12 00:08:37 +00:00
Simon Meers
86ac8c1327
Fixed #16000 -- reference natural keys in contenttypes documentation. Thanks jsdalton.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16536 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-10 21:52:03 +00:00
Simon Meers
4d920c5ecd
Fixed #15715 -- added non-trivial decorator example to CBV docs. Thanks toofishes.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16534 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-10 21:39:18 +00:00
Simon Meers
8d6c2dad9d
Fixed #16440 -- minor ungettext documentation issue, thanks Bradley Ayers.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16532 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-10 21:32:39 +00:00
Jannis Leidel
723b574793
Fixed #16447 -- Stopped using the setting name as the sender parameter for the setting_changed signal. Thanks, Alex Gaynor.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-10 19:35:05 +00:00
Timo Graham
ee7cac0806
Fixed #16434 - corrected "django.forms.widgets.extras" to "django.forms.extras.widgets"; thanks rfk.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16528 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-09 12:19:29 +00:00
Luke Plant
ce89ebe1f0
Removed a redundant line from the cache_page docs
...
The code example clearly includes the import, no need to mention it twice.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16523 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-07 21:46:02 +00:00
Luke Plant
f5c9c2246e
Improved warning about file uploads in docs, and added link from security overview page
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16521 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-06 23:44:54 +00:00
Karen Tracey
901ea8a68d
s/get/filter in new example of how to use queryset update method: update won't work on a model instance.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-06 00:21:32 +00:00
Adrian Holovaty
471a841147
Added another bit to the update() queryset docs about avoiding race conditions
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16517 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-05 20:16:08 +00:00
Adrian Holovaty
8b34a01017
Improved update() docs in querysets.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16516 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-05 20:09:00 +00:00
Jannis Leidel
94a38dfd0e
Fixed #16161 -- Added `--clear` option to `collectstatic` management command to be able to explicitly clear the files stored in the destination storage before collecting.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16509 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-04 21:34:29 +00:00
Jannis Leidel
c2a48110d4
Fixed #16382 -- Corrected form wizard docs to use one based step number in example template. Thanks, BernhardEssl.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16508 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-04 16:20:29 +00:00
Jannis Leidel
8066fced33
Fixed #16392 -- Clarified docs of the "c" date format with regard to naive datetime objects. Thanks, ybon.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16507 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-04 16:20:22 +00:00
Jannis Leidel
286a1cad88
Fixed #16332 -- Added language template tag that switches the activate language for the enclosed template section, e.g. to allow translation of URLs as added in r16405. Many thanks to Florian Apolloner and Orne Brocaar.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16501 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-04 09:52:06 +00:00
Jannis Leidel
332a485567
Fixed #16115 -- Added ModelAdmin.save_related method to be able to do pre- or post-save operations for objects related to the parent object currently displayed. Thanks, Julien Phalip.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16498 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-03 17:56:43 +00:00
Jannis Leidel
43cb78fafd
Fixed #14506 -- Added an assertion to XViewMiddleware about the dependency on the authentication middleware. Thanks, vanschelven.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16496 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-03 17:56:25 +00:00
Jannis Leidel
c29e45491e
Fixed #14608 -- Added phone number field to Indian local flavor. Thanks, lawgon and Julien Phalip.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16495 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-03 17:56:15 +00:00
Jannis Leidel
d138906ad9
Fixed #15974 -- Correctly link to static files handling in deployment docs. Thanks, RogueBean.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16491 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-01 15:18:42 +00:00
Jannis Leidel
286e45e9ea
Fixed #15077 -- Clarified FastCGI documentation with regard to shared hosting providers. Thanks, Horst Gutmann.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16489 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-01 15:18:27 +00:00
Jannis Leidel
38a2444277
Fixed #16050 -- BACKWARDS-INCOMPATIBLE CHANGE: Moved static files of the admin to conventional file system location.
...
This also removes the need for ADMIN_MEDIA_PREFIX and replaces it with the convention to find admin's static files at STATIC_URL + 'admin/'.
Thanks to Jacob for the review and general help.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16487 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-30 09:06:19 +00:00
Justin Bronn
b8f0346c11
Fixed #16232 -- Corrected typo in geographic admin reference. Thanks, Issac Kelly.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16484 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-29 13:52:27 +00:00
Jannis Leidel
f801e2c15d
Fixed #12761 -- Added Paraguayan local flavor. Thanks, dschulz and BernhardEssl.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16477 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-28 10:17:23 +00:00
Jannis Leidel
54552ee29f
Fixed #16175 -- Modified the sitemaps views to return TemplateResponse instances for easier customization. Thanks, mat.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16476 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-28 10:17:01 +00:00
Jannis Leidel
3fe0c69332
Fixed #10907 , #14190 and #15829 -- Pass item to sitemaps template to allow further customization like Google News enabled sitemaps. Thanks, manfre and lakinwecker.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16474 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-28 10:16:34 +00:00
Jannis Leidel
dbffffa7dc
Fixed #5535 -- Allow using an explicit foreign key in get() calls. Thanks, Michal Petrucha.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16473 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-28 10:16:18 +00:00
Chris Beaven
f54135fa4d
Make the email parameter of User.objects.create_user optional.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16472 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-28 04:29:48 +00:00
Chris Beaven
0e27c49210
More accurate documentation for how the urlize template works. Refs #9189 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16470 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-27 03:32:10 +00:00
Simon Meers
bda5ed5700
Fixed #16297 -- make_list documentation error regarding integers. Thanks ned and teraom.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16468 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-26 21:27:44 +00:00
Jannis Leidel
c817f2f544
Fixed #16199 -- Added a Cookie based session backend. Many thanks to Eric Florenzano for his initial work and Florian Apollaner for reviewing.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-26 17:00:24 +00:00
Jannis Leidel
bc56c76a17
Fixed #16344 -- Fixed typo in render() docs. Thanks, Jure Cuhalev.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16465 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-26 16:52:50 +00:00
Jannis Leidel
8882c55496
Fixed #16169 -- Updated tutorial to match the current project template, specifically the urls.py. Thanks, aaugustin.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16463 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-26 16:52:38 +00:00
Jannis Leidel
b4bd6bb78a
Fixed #16209 -- Added notes about the DVCS mirrors to the install docs. Thanks, bedmondmark.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16460 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-26 16:52:13 +00:00
Jannis Leidel
4a10338986
Fixed #14390 and #16262 -- Moved password related functions from auth models to utils module and stopped check_password from throwing an exception. Thanks, subsume and lrekucki.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16456 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-26 16:51:46 +00:00
Jannis Leidel
2619dc8285
Fixed #14674 -- Prevent user accounts with an unusable password from resetting passwords. Thanks, summerisgone, thejaswi_puthraya and lrekucki.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16455 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-26 16:51:34 +00:00
Ramiro Morales
2d6dec24c4
Fixed #16207 -- Enhanced documentation about user profile model instance creation. Thanks foxwhisper for the report, melinath for the patch and Julien for reviewing it.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16450 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-25 12:39:57 +00:00
Ramiro Morales
a3117699a5
Fixed #16214 -- Enhanced documentation about HTTP 404 and 500 status views and templates. Thanks Aymeric Augustin for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16449 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-25 12:39:48 +00:00
Ramiro Morales
219a794217
Fixed #16338 -- Fixed Austrian postal codes validation. Thanks Bernhard Essl for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16447 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-25 12:39:29 +00:00
Andrew Godwin
53a25206c2
Its always good to get it's apostophe right.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16446 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-25 08:41:58 +00:00
Carl Meyer
43503b093a
Fixed #16288 -- Enabled django.request exception logger regardless of DEBUG setting.
...
Thanks Matt Bennett for report and draft patch; Vinay Sajip and Russell Keith-Magee for review.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16444 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-22 06:01:44 +00:00
Timo Graham
b9ea5e163e
Fixed #16258 - typo in middleware docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16441 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-19 19:40:18 +00:00
Jannis Leidel
656360c240
Fixed #12202 -- Removed hardcoded password reset subject and added a subject_template_name parameter to the password_reset view. Thanks, Ramiro Morales, Claude Paroz and agabel.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16438 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-19 11:24:39 +00:00
Jannis Leidel
63f9b67129
Added '.txt' to list of file extensions that the makemessages management command automatically scans. Refs #12202 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16437 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-19 11:24:25 +00:00
Jannis Leidel
ac4d015703
Fixed #16292 -- Removed broken link for Swiss localflavor documentation. Thanks, BernhardEssl.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16435 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-18 11:59:32 +00:00
Jannis Leidel
89277c7f6e
Fixed another typo in the docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16434 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-18 11:58:50 +00:00
Jannis Leidel
1dfa567a23
Fixed typos introduced in r16430 and r16431. Thanks, magopian.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16433 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-18 08:48:25 +00:00
Jannis Leidel
65d8657f7f
Fixed #15943 -- Documented `raw` argument of pre_save and post_save signals. Thanks, amplivibe.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16432 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-17 15:39:42 +00:00
Jannis Leidel
f8a3d87a19
Fixed #16071 -- Added note to fix_ampersands documentation about its limitations. Many thanks to jerry and Julien Phalip.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16431 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-17 15:39:35 +00:00
Jannis Leidel
2a122be0fc
Fixed #16126 -- Added documentation about DELETE and ORDER fields in formsets. Many thanks to Aleksandra Sendecka.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16430 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-17 15:39:28 +00:00
Jannis Leidel
ce165f7bbf
Fixed #16099 -- Enabled threading for the runserver management command and added a --nothreading option to disable it if needed. This should help Google Chrome users because it opens more than one connection speculatively.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16427 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-17 13:08:36 +00:00
Ramiro Morales
b870bf6b9a
Fixed #16255 -- Raised minimum PostgreSQL version supported to 8.2.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16423 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-16 20:05:25 +00:00
Jannis Leidel
97f22f2969
Fixed #12375 -- Added a dict() method to convert a MultiValueDict (such as a QueryDict) to a dictionary of key-value pairs. Thanks, oinopion and hvdklauw.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16418 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-16 16:34:55 +00:00
Jannis Leidel
44b03484ec
Fixed #15908 -- Mention blocktrans in the pluralize filter documentation section. Thanks, Julien Phalip.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16414 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-16 16:34:20 +00:00
Jannis Leidel
aad6f21b29
Fixed #16057 -- Extended deployment documentation with instructions for uWSGI. Thanks, jpic and aaugustin.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16413 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-16 16:34:12 +00:00
Jannis Leidel
439cbeaa68
Fixed #16031 -- Corrected comments template examples. Thanks, teraom.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16412 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-16 16:34:02 +00:00
Jannis Leidel
662b372d02
Fixed #16264 -- Improved form widget documentation. Many thanks to Bas Peschier.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16408 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-16 15:27:19 +00:00
Jannis Leidel
e008fde23e
Fixed #16273 -- Fixed typo in staticfiles docs. Thanks, BernhardEssl.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16407 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-16 15:27:11 +00:00
Jannis Leidel
896e3c69c7
Fixed #11585 -- Added ability to translate and prefix URL patterns with a language code as an alternative method for language discovery. Many thanks to Orne Brocaar for his initial work and Carl Meyer for feedback.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16405 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-15 17:29:10 +00:00
Jannis Leidel
62bb4b8c37
Added a few cross references to the i18n docs and documented pgettext and colleagues.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16403 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-15 10:48:13 +00:00
Luke Plant
4047a21fa8
Noted new security overview page in the 1.4 release notes
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16402 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-14 23:37:12 +00:00
Luke Plant
06a2515145
Fixed typo in release notes regarding CSRF with PUT/DELETE etc
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16401 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-14 23:31:45 +00:00
Jannis Leidel
b5e7eab9fd
Fixed #16236 -- Added get_form_kwargs method to WizardView as a way to easily provide kwargs to each step form.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16398 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-14 10:35:02 +00:00
Jannis Leidel
3ee076b135
Fixed #16248 -- Corrected a few typos in the security docs. Thanks, buddelkiste.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16397 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-14 10:34:52 +00:00
Jannis Leidel
050e11956f
Fixed #15856 -- Added Macedonian localflavor. Many thanks to vasiliyeah.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16385 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-12 13:31:40 +00:00
Jannis Leidel
9f3d76a921
Fixed docs render warning.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16384 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-12 13:05:02 +00:00
Jannis Leidel
f749bb829c
Fixed #12875 -- Added get_ordering to ModelAdmin. Many thanks to Manuel Saelices.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16383 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-12 13:04:53 +00:00
Timo Graham
0686b0662a
Fixed #15764 - Corrected mixin docs for DeleteView?; thanks linovia for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16381 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-12 00:28:11 +00:00
Timo Graham
4207fed932
Fixed #15949 - Clarified the docs for password_reset_done view; thanks cyclops for the suggestion; Horst Gutmann for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16378 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-11 23:40:59 +00:00
Jannis Leidel
0ebaf10258
Fixed #11989 -- Allow passing a Template instance to inclusion_tag. Thanks to Jeremy Dunck and tcoenen.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16374 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-11 16:22:45 +00:00
Jannis Leidel
d27f909d2e
Fixed #12847 -- Added name parameter to simple_tag, assignment_tag and inclusion_tag helpers. Thanks, vladmos.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16373 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-11 16:05:28 +00:00
Jannis Leidel
4970ef07c2
Fixed #9189 -- Added not about urlize only covering .com, .net, and .org domains. Thanks, dArignac.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16372 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-11 15:45:14 +00:00
Jannis Leidel
d77514e428
Fixed #16075 -- Corrected localize template tag docs. Thanks, Horst Gutmann.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16371 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-11 15:44:00 +00:00
Jannis Leidel
5dc7be2192
Fixed #16195 -- Added docs for ModelAdmin's get_changelist method. Thanks, msaelices.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16370 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-11 15:43:51 +00:00
Jannis Leidel
ce3c281090
Fixed #811 -- Added support for IPv6 to forms and model fields. Many thanks to Erik Romijn.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16366 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-11 13:48:24 +00:00
Timo Graham
87571cdb37
Fixed #16158 - Changed FALLBACK_DYLD_LIBRARY_PATH to DYLD_FALLBACK_LIBRARY_PATH in GIS documentation; thanks adam for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16364 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-11 09:34:57 +00:00
Carl Meyer
0e03a504bf
Refs #15855 -- Recommended the csrf_protect decorator rather than vary_on_cookie as workaround for cache_page caching the response before it gets to middleware.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16361 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-10 16:18:40 +00:00
Luke Plant
528157ce73
Fixed #14201 - Add a "security overview" page to the docs
...
Thanks to davidfischer for the initial patch!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16360 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-10 15:14:36 +00:00
Russell Keith-Magee
046ffa483e
Fixed #16185 , #15675 -- Added the ability for test runners to define custom options, and to specify a custom test runner at the command line. Thanks to Dmitry Jemerov and Mikołaj Siedlarek for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16352 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-10 08:26:05 +00:00
Chris Beaven
b56ef75088
Fixes #13511 -- make regex parameter to RegexValidator to be optional. Also tidies up related docs (parameters aren't attributes). Thanks for the patch work, davidfischer.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16351 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-09 23:51:03 +00:00
Ramiro Morales
dff31de20a
Fixed #16155 -- Removed Python 2.4 compatibility constructs from code and mentions from docs. Thanks Aymeric Augustin for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-09 20:01:28 +00:00
Andrew Godwin
865d684a8a
Fixed #8913 - Make "must be unique" error messages customisable. Thanks to Leah Culver.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16345 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-09 15:05:13 +00:00
Idan Gazit
716601109a
Fixed #11834 -- Improved technical 500 stacktrace display.
...
Thanks to buriy and Aleksandra for the implementation!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16343 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-09 12:45:11 +00:00
Luke Plant
207e3ed9d5
Fixed #14206 - dynamic list_display support in admin
...
Thanks to gabejackson for the suggestion, and to cyrus for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16340 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-08 22:53:55 +00:00
Luke Plant
45e55b9143
Fixed #14614 - filtering of sensitive information in 500 error reports.
...
This adds a flexible mechanism for filtering what request/traceback
information is shown in 500 error emails and logs. It also applies
screening to some views known to be sensitive e.g. views that handle
passwords.
Thanks to oaylanc for the report and many thanks to Julien Phalip for the
patch and the rest of the work on this.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16339 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-08 22:18:46 +00:00
Luke Plant
bb12a02bd8
Deprecated legacy ways of calling cache_page
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16338 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-08 11:12:01 +00:00
Alex Gaynor
b67ff14208
Removed an alias for ``django.template.loader`` that had been deprecated since 2005. This should only affect World Online.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16337 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-07 21:17:41 +00:00
Ramiro Morales
0638ba5bba
Enhanced a bit the documentation and docstring for the url template tag. Also, added a test for it.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16331 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-05 23:44:34 +00:00
Timo Graham
fc508fd5d2
Fixed #15990 - Simplified a sentence regarding form validation for ModelForms; thanks jblaine for the suggestion.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16329 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-04 21:42:53 +00:00
Timo Graham
773e1717c0
Fixed #16145 - typo in manager docs; thanks leereilly.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16324 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-04 14:38:45 +00:00
Luke Plant
5434ce231d
Fixed #11868 - Multiple sort in admin changelist.
...
Many thanks to bendavis78 for the initial patch, and for input from others.
Also fixed #7309 . If people were relying on the undocumented default ordering
applied by the admin before, they will need to add 'ordering = ["-pk"]' to
their ModelAdmin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-02 16:18:47 +00:00
Jannis Leidel
9abe734b83
Fixed #16141 -- Fixed typos in new form wizard.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-01 20:14:25 +00:00
Jannis Leidel
632dfa2338
Fixed #9200 -- Added new form wizard to formtools based on class based views. Many thanks to Stephan Jäkel, ddurham and ElliottM for their work.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16307 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-01 13:47:00 +00:00
Luke Plant
1a951fa8d4
Added info to release notes about CSRF improvements
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16306 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-31 21:29:35 +00:00
Timo Graham
caefdc8246
Fixed #16090 , #16091 , #16114 - Typos in docs; thanks teraom.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-31 09:42:19 +00:00
Luke Plant
0994416d3f
Fixed some typos/grammar in clickjacking docs
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-30 22:50:11 +00:00
Luke Plant
524c5fa07a
Fixed #14261 - Added clickjacking protection (X-Frame-Options header)
...
Many thanks to rniemeyer for the patch!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-30 22:27:47 +00:00
Timo Graham
8ad3c41c69
Fixed #16093 - Typo in "Performing raw SQL queries"; thanks direvus.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16293 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-30 12:11:10 +00:00
Jannis Leidel
49f57a5d28
Fixed #15992 -- Added more references to settings. Thanks, aaugustin.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16290 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-29 17:41:04 +00:00
Jannis Leidel
61da3cc47a
Fixed #16120 -- Updated a few reference links in the docs after the contributing reorganization. Thanks to Julien and Ramiro.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16289 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-29 12:47:30 +00:00
Jannis Leidel
407f62fd31
Fixed #15796 -- Restructured the contributing documentation and added note about newly added Trac abilities. Many thanks to Julien Phalip.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16284 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-27 10:49:47 +00:00
Luke Plant
a482cc0ba3
Fixed #16004 - csrf_protect does not send cookie if view returns TemplateResponse
...
The root bug was in decorator_from_middleware, and the fix also corrects
bugs with gzip_page and other decorators.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16276 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-24 21:28:43 +00:00
Adrian Holovaty
d7036e52ab
Made some small tweaks/fixes to documentation from IGNORABLE_404_URLS changeset [16160]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-24 18:39:28 +00:00
Jannis Leidel
4c4e46e646
Fixed #16078 -- Fixed a few typos in the signing documentation. Thanks, brutasse.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16270 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-23 13:23:00 +00:00
Chris Beaven
17a6bb0f70
Fixes #16072 -- incorrect documentation for multiple expressions inside a blocktrans tag
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16268 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-23 01:52:49 +00:00
Timo Graham
dab90dd429
Fixed #16056 - Memcached configuration mistake in docs; thanks antonio/d0ugal.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16265 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-22 16:59:45 +00:00
Timo Graham
6443adc9a9
Fixed #16067 - Couple reST fixes in ref/templates/builtins.txt; thanks julien.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16263 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-22 16:43:50 +00:00
Jannis Leidel
fc8116cc4f
Fixed #6580 -- Added `default` parameter to `MultiValueDict.getlist` method (the base class for `QueryDict`). Many thanks to mk and andrewebdev.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16260 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-22 15:05:29 +00:00
Timo Graham
80d6089029
Fixed #16051 - Changed a "file" reference in the tutorial to be an actual file rather than a module; thanks felix.morency for the suggestion.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16258 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-22 00:12:48 +00:00
Timo Graham
940d17409e
Fixed #16021 - Minor documentation fixes for Generic Class Views; thanks Bradley Ayers.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16256 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-22 00:08:13 +00:00
Ramiro Morales
50ad59527c
Tweaked some `render_to_response` links in the documentation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16255 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-21 18:36:01 +00:00
Jannis Leidel
f60d428463
Fixed #12417 -- Added signing functionality, including signing cookies. Many thanks to Simon, Stephan, Paul and everyone else involved.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16253 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-21 14:41:14 +00:00
Chris Beaven
803a454aef
Fixes #15732 -- better introduction of template filter decorator concepts (first register, then stringfilter). Thanks for the patch, hahasee.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16251 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-20 02:42:28 +00:00
Chris Beaven
90e8e48239
Remove a reference in 1.2 release docs which no longer exists (avoiding a sphinx warning when building docs)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-20 02:14:30 +00:00
Chris Beaven
bce125e84f
Tweaks to paginator documentation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16248 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-20 01:45:41 +00:00
Chris Beaven
26156794f1
Tidy up the sessions documentation creating links for session methods and crosslinking settings
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16245 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-20 00:51:25 +00:00
Gabriel Hurley
9f02d80b58
Fixed #16036 -- corrected the argument name for render_to_response in the reference docs. Thanks to msabramo for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16242 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-18 20:33:12 +00:00
Gabriel Hurley
840530cc55
Fixed #16044 -- Corrected a copy-and-paste error in the opening paragraph of the views topic guide. Thanks to aplanas for the report and suggested wording.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16240 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-18 20:10:41 +00:00
Gabriel Hurley
8ecda079a8
Correcting a typo and minor grammatical issues from [16237].
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16239 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-18 19:39:50 +00:00
Jannis Leidel
a3a53e0b73
Fixed #15561 -- Extended test setting override code added in r16165 with a decorator and a signal for setting changes.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16237 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-18 12:08:53 +00:00
Jannis Leidel
091c9b530e
Fixed #15983 and #16032 -- Another pass over the staticfiles docs. Many thanks to Frank Wiles and EvilDMP.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16235 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-18 09:51:24 +00:00
Jannis Leidel
578a31fea3
Fixed #15921 -- Refined naturaltime filter added in r16071 to use timesince and timeuntil filters as fallbacks instead of date filter.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16233 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-17 10:16:12 +00:00
Luke Plant
66fd824ee0
Fixed djangodocs Sphinx extension to work with latest Sphinx
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16231 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-15 23:02:36 +00:00
Timo Graham
ce6072aa96
Fixed #15769 - Documented FormWizard's initial argument; thanks aimaz for the suggestion; jrothenbuhler for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16229 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-15 19:11:57 +00:00
Adrian Holovaty
c5cb2fabd2
Edited docs/releases/1.4.txt changes from [16124]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16227 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-14 17:58:32 +00:00
Adrian Holovaty
c2ba96d8a9
Tweaked weird wording of docs/ref/contrib/humanize.txt 'naturaltime' section from [16071]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16226 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-14 17:44:10 +00:00
Ramiro Morales
2b5730873b
Added ability to describe grouping of form fields in the same row to the `fields` ModelAdmin attribute.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16225 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-14 16:29:39 +00:00
Ramiro Morales
5f605678f0
Removed last vestiges of references to technical messages from documentation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-14 12:28:36 +00:00
Luke Plant
e127e17b49
Fixed our Sphinx extension to work with latest Sphinx
...
This is pretty hacky, but there doesn't seem to be a nice way to fix it,
since we can't call the base method - we are deliberately overriding it in
order to not call the base method, which adds an unwanted 'border=1' to the
HTML.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16223 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-14 02:58:58 +00:00
Simon Meers
5ecb88c146
Fixed #16014 -- numerous documentation typos -- thanks psmith.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16220 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-13 04:33:42 +00:00
Simon Meers
df6e031408
Fixed #16005 -- Error in blocktrans docs -- thanks bezidejni
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16218 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-13 00:48:30 +00:00
Chris Beaven
4d26f6512c
Fixes #15595 -- emphasize the benefits of django.test.TestCase. Thanks for the patch Shawn Milochik
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16214 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-11 21:29:14 +00:00
Adrian Holovaty
6e9067623b
Fixed small typo from [16054] in docs/topics/http/urls.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16212 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-10 20:16:39 +00:00
Chris Beaven
014cc896bc
Fixes #15963 -- Misleading FileField.save documentation. Thanks for the report and patch, ejucovy.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16207 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-10 00:26:32 +00:00
Chris Beaven
39517438e0
Fixes #15588 -- 1.3 release documentation for FileField no longer deleting files unclear. Thanks for the patch, Philip Neustrom.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16205 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-10 00:19:02 +00:00
Luke Plant
396bc58889
Updated AJAX example code in CSRF docs to be consistent regarding what are safe HTTP methods
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16202 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-09 23:46:02 +00:00
Luke Plant
cb060f0f34
Fixed #15258 - Ajax CSRF protection doesn't apply to PUT or DELETE requests
...
Thanks to brodie for the report, and further input from tow21
This is a potentially backwards incompatible change - if you were doing
PUT/DELETE requests and relying on the lack of protection, you will need to
update your code, as noted in the releaste notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-09 23:45:54 +00:00
Luke Plant
8cbcf1d3a6
Fixed #14134 - ability to set cookie 'path' and 'secure' attributes of CSRF cookie
...
Thanks to cfattarsi for the report and initial patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16200 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-09 23:00:22 +00:00
Luke Plant
a75120927e
Added 'settings' section to CSRF docs, eliminating the unneeded 'Subdomains' section
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16199 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-09 23:00:10 +00:00
Luke Plant
d3641d889b
Clarified wording about use of 2 decorators in CSRF docs
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16198 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-09 23:00:02 +00:00
Luke Plant
bf7af2be15
Added clarifying note to docs for CSRF_COOKIE_DOMAIN
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16197 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-09 22:59:52 +00:00
Simon Meers
8122ce7c76
Fixed #15989 -- typo in static-files howto. Thanks luizvital.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16195 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-09 22:30:31 +00:00
Luke Plant
b6c5f8060d
Fixed #15354 - provide method to ensure CSRF token is always available for AJAX requests
...
Thanks to sayane for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16192 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-09 21:35:24 +00:00
Luke Plant
e9342e9b32
Fixed #15469 - CSRF token is inserted on GET requests
...
Thanks to goran for report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16191 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-09 19:06:57 +00:00
Luke Plant
7c648ea4aa
Mentioned simplification of AJAX example code in CSRF docs.
...
Refs #15469 . Thanks to aaugustin for the suggestion
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16190 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-09 19:06:49 +00:00
Luke Plant
5df93d529d
Documented the edge case of needing a view that is partly CSRF protected
...
Refs #15518 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16189 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-09 18:27:52 +00:00
Luke Plant
b5da093fa9
In CSRF docs, moved 'Exceptions' section to 'Edge cases', and cleaned up some associated markup
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16188 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-09 18:27:45 +00:00
Luke Plant
eadcbcb131
Fixed #15518 - documented requires_csrf_token
...
Thanks to vzima for a report that raised the issue.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16187 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-09 18:27:36 +00:00
Luke Plant
1d350a6c51
Changed an example in CSRF docs to use new 'render' shortcut
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16186 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-09 18:27:28 +00:00
Luke Plant
ae1866ddef
Fixed #15869 - example AJAX code in CSRF docs fails sometimes for IE7 or absolute same origin URLs
...
Thanks to nick for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16183 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-09 15:40:01 +00:00
Jannis Leidel
c5f58f54fd
Fixed #15941 -- Fixed DateField docs to no longer state that the admin calendar's week always starts on Sunday (refs FIRST_DAY_OF_WEEK setting). Thanks aaugustin.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16174 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-07 16:58:58 +00:00
Jannis Leidel
e282e1b327
Added missing reference to custom template tag docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16173 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-07 16:58:52 +00:00
Jannis Leidel
0322f2b653
Fixed #15263 -- Added support for format localization to the now template tag. Thanks to danielr and dmclain.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16172 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-07 16:58:45 +00:00
Jannis Leidel
8f3e1c1c63
Fixed #6392 -- Made django.contrib.humanize template tags locale aware. Thanks, Dave McLain.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16168 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-06 13:29:58 +00:00
Jannis Leidel
0dc6420b3e
Added TestCase.settings context manager to easily override settings in test methods.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16165 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-06 13:29:24 +00:00
Luke Plant
d11acfd209
Fixed typo in deprecation docs.
...
Thanks to aaugustin for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-05 20:49:35 +00:00
Luke Plant
171df93170
Fixed #15954 - New IGNORABLE_404_URLS setting that allows more powerful filtering of 404s to ignore
...
Thanks to aaugustin for implementing this.
(Technically this doesn't fix the original report, as we've decided against
having *any* default values, but the new feature makes it possible, and the
docs have an example addressing #15954 ).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16160 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-05 20:49:26 +00:00
Timo Graham
127f1e4190
Fixed #15827 - Documented that OneToOneField in Profile should be named 'user'; thanks lawgon.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16155 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-04 23:44:26 +00:00
Jannis Leidel
95dc7c7486
Fixed #15960 -- Extended list filer API added in r16144 slightly to pass the current model admin to the SimpleListFilter.lookups method to support finer grained control over what is filtered over. Many thanks to Carl Meyer and Julien Phalip for the suggestion and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16152 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-04 22:52:04 +00:00
Jannis Leidel
05b4f2ebc2
Corrected the behavior of the SimpleFilter.lookups method to also be able to return None. Also modified example in documentation to be a bite more realistic. Refs #5833 . Thanks for the hint, Martin Mahner.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-03 13:52:39 +00:00
Jannis Leidel
950e05c3ff
Fixed #14262 -- Added new assignment_tag as a simple way to assign the result of a template tag to a context variable. Thanks, Julien Phalip.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16149 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-03 11:52:42 +00:00
Jannis Leidel
f4860448dd
Fixed #13729 -- Renamed UK localflavor to GB to correctly follow ISO 3166. Thanks, Claude Paroz.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16147 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-03 11:52:20 +00:00
Jannis Leidel
18d2f4a816
Fixed #5833 -- Modified the admin list filters to be easier to customize. Many thanks to Honza Král, Tom X. Tobin, gerdemb, eandre, sciyoshi, bendavis78 and Julien Phalip for working on this.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-03 10:44:23 +00:00
Timo Graham
a85cd1688b
Fixed #15942 - removed duplicate module id in docs; thanks magopian.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16142 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-03 10:22:49 +00:00
Alex Gaynor
c21d3afaef
Fixed #15952 -- fixed an error in the template builtins docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16141 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-03 03:15:28 +00:00
Timo Graham
5487ec8039
Fixed #15887 - Added clarification for required_*() decorators; thanks RoySmith for the sugggestion.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16139 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-01 20:08:55 +00:00
Jannis Leidel
13b4f98b80
Fixed #6581 -- Moved documentation of django.contrib.auth.views.redirect_to_login to an own "Helper functions" section.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16130 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-30 13:37:03 +00:00
Timo Graham
2830872d60
Fixed #15876 - Document that test.client.RequestFactory doesn't support sessions or request-altering middleware; thanks slinkp for the suggestion, ShawnMilo for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16128 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-30 12:59:24 +00:00
Ramiro Morales
1d7c2dedcd
Fixed small typos in custom template tags docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16126 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-30 02:19:24 +00:00
Jannis Leidel
12a9107a7d
Fixed minor doc typo.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16125 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-29 15:11:24 +00:00
Jannis Leidel
0fa8bd3d92
Fixed #15920 -- Removed COMMENTS_BANNED_USERS_GROUP setting in favor of the established comments app customization. Thanks, Daniel Lindsley.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16124 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-29 15:11:17 +00:00
Jannis Leidel
79afd55278
Fixed #5925 -- Added new lazily evaluated version of django.core.urlresolvers.reverse. Thanks, SmileyChris, Preston Timmons and Julien Phalip.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16121 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-29 11:49:59 +00:00
Jannis Leidel
07854d1c44
Fixed #15713 -- Added a form field for validating Polish National ID Card numbers. Thanks, xtrqt.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16116 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-28 13:20:33 +00:00
Jannis Leidel
086ab44336
Fixed #15637 -- Added a require_safe decorator for views to accept GET or HEAD. Thanks, aaugustin and Julien.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-28 13:04:16 +00:00
Simon Meers
013ce8aca2
Fixed #15865 -- correct class name for BaseGenericInlineFormset. Thanks leonelfreire for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-28 01:46:46 +00:00
Simon Meers
fe7695533d
Fix heading formatting in localflavor docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16112 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-28 00:28:42 +00:00
Simon Meers
e5cf560783
Fixed #15885 -- Update auth view docs re: TemplateResponse. Thanks prestontimmons.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-28 00:26:31 +00:00
Simon Meers
6d98cda03c
Fixed #15830 -- Add documentation regarding localflavor i18n. Thanks framos.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16109 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-28 00:20:10 +00:00
Alex Gaynor
930371e91b
Fixed #15889 -- when trying to access to access a serializer that doesn't exist, raise a new SerializerDoesNotExist exception. Thanks to Mathieu Agopian for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16104 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-26 16:49:32 +00:00
Timo Graham
449e84a2f1
Fixed #15801 - Incorrect external link for dictConfig; thanks David Niergarth for the report; jonash for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16100 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-24 23:53:24 +00:00
Timo Graham
f9fa9327c6
Fixed #15853 - typo in m2m_changed signal documentation; thanks elbarto.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16098 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-24 23:47:18 +00:00
Timo Graham
b2481a2cfb
Fixed #15875 - typo in F() example; thanks jblaine.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16096 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-23 21:48:23 +00:00
Chris Beaven
5bbba4b9ad
Fixes #15862 -- Error in post_syncdb documentation example. Thanks for the report and patch andialbrecht.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22 21:23:26 +00:00
Chris Beaven
534c427b20
Fixed #13584 -- Optionally allow empty files with django.forms.FileField. Thanks for the patch erickr and closedbracket.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16090 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22 21:18:27 +00:00
Jannis Leidel
c8092b840b
Fixed #15008 -- Replaced all calls in the admin to render_to_response with TemplateResponses for easier customization. Thanks to Chris Adams for the initial patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22 18:17:16 +00:00
Ramiro Morales
13cfdb0d8b
Fixed a couple of small documentation typos.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16086 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22 14:08:31 +00:00
Jacob Kaplan-Moss
5b0e4e49d4
Fixed #14091 - be more correct about logging queries in connection.queries.
...
Thanks to Aymeric Augustin for figuring out how to make this work across
multiple databases.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22 12:14:54 +00:00
Jannis Leidel
7478aeb0a7
Fixed #15705 -- Added Croatian (hr) localflavor. Thanks, Zlatko Mašek and Julien Phalip.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22 12:03:42 +00:00
Jannis Leidel
e1f7bc0a41
Fixed #15013 -- Added Russian (ru) localflavor package. Thanks, blackraven and Julien Phalip.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16076 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22 12:03:30 +00:00
Jannis Leidel
ea248f0107
Fixed #12771 -- Added naturaltime filter to humanize contrib app. Thanks, phinpho, djansoft and xtrqt.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16071 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22 12:02:47 +00:00
Jannis Leidel
8b588747ed
Fixed #12379 -- Added Chinese (cn) localflavor package. Thanks, Xia Kai, Daniel Duan, DaNmarner and Łukasz Rekucki.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22 12:02:38 +00:00
Jannis Leidel
6c17190bf8
Fixed #11639 , #13618 -- Added get_prepopulated_fields method to ModelAdmin and InlineModelAdmin to be able to handle prepopulated fields on a case-by-case basis. Thanks, leanmeandonothingmachine.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22 12:02:25 +00:00
Jannis Leidel
59d1f82634
Fixed #11251 -- Extended Australian localflavor to ship a few model fields additionally. Thanks, Simon Meers and Julien Phalip.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22 12:01:59 +00:00
Luke Plant
327081f875
Added note about HTML5 to release notes.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-21 00:00:32 +00:00
Jacob Kaplan-Moss
c92e0e4765
Added notes about `select_for_update` to the 1.4 release notes.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16059 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-20 21:00:24 +00:00
Jacob Kaplan-Moss
8f0f73c7b8
Fixed #2705 : added a `select_for_update()` clause to querysets.
...
A number of people worked on this patch over the years -- Hawkeye, Colin Grady,
KBS, sakyamuni, anih, jdemoor, and Issak Kelly. Thanks to them all, and
apologies if I missed anyone.
Special thanks to Dan Fairs for picking it up again at the end and seeing this
through to commit.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16058 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-20 20:42:07 +00:00
Gabriel Hurley
99c1794427
Fixed #15794 -- Corrected an error in the docs which indicated applying decorators to any of the view-like methods would work when it will only work reliably with dispatch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16056 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-20 20:03:42 +00:00
Gabriel Hurley
1b1060c916
Fixed #15593 -- Added a note that the output of `reverse` is urlquoted. Thanks to guettli for the report and draft patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16054 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-20 19:50:27 +00:00
Luke Plant
26cda43012
Switched to HTML5 doctype in all Django supplied templates.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-20 17:40:53 +00:00
Adrian Holovaty
519534bf03
Fixed #15846 -- Fixed unfinished sentence in django-admin.txt. Thanks, follower
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-20 16:28:02 +00:00
Jannis Leidel
196ac8f8b3
Fixed #6213 -- Updated the flatpages app to only append a slash if the flatpage actually exist.
...
The FlatpageFallbackMiddleware (and the view) now only add a trailing slash and redirect if the resulting URL refers to an existing flatpage. Previously requesting /notaflatpageoravalidurl would redirect to /notaflatpageoravalidurl/, which would then raise a 404. Requesting /notaflatpageoravalidurl now will immediately raise a 404. Also, Redirects returned by flatpages are now permanent (301 status code) to match the behaviour of the CommonMiddleware.
Thanks to Steve Losh for the initial work on the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-20 14:41:47 +00:00
Luke Plant
96520e87bd
Corrected factual error regarding logging in the CSRF docs
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16047 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-20 11:39:10 +00:00
Luke Plant
1286d78311
Fixed #15791 - method to signal that callable objects should not be called in templates
...
Thanks to ejucovy for the suggestion and patch!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16045 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-19 22:06:19 +00:00
Gabriel Hurley
6f84e520e5
Fixed #15843 -- removed an extraneous quotation mark in the template tag docs. Thanks to Titan, Jer-ming Lin for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-18 23:15:28 +00:00
Adrian Holovaty
d3e5380b41
Fixed #15800 -- Fixed error in class-based-views docs. Thanks, Natim
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16037 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-17 20:55:26 +00:00
Adrian Holovaty
78b2e254ca
Fixed #15816 -- Changed docs/ref/utils.txt to refer to django.utils.datastructures instead of just SortedDict. The other stuff is still undocumented, which is probably a good thing
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16036 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-17 20:51:19 +00:00
Adrian Holovaty
5409168ba2
Fixed #15821 -- Removed incorrect link from docs/releases/1.3.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16035 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-17 20:46:48 +00:00
Adrian Holovaty
f8495d2371
Fixed #15822 -- Removed references to the v1 postgresql backend (which has been removed). Thanks for the patch, aaugustin
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-17 20:45:06 +00:00
Jacob Kaplan-Moss
d78e08f4a0
Updated the contributing document to accurately reflect our security process.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16032 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-17 14:13:19 +00:00
Luke Plant
fda7ac3490
Fixed #15780 - Broken link in old release notes regarding CSRF upgrade
...
Thanks to Aryeh Leib Taurog for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16023 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-09 18:47:59 +00:00
Luke Plant
8d4b414760
Fixed #15757 - removed remaining instances of get_and_delete_messages
...
Thanks to void for the report, and julien for the bulk of the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-07 22:01:23 +00:00
Chris Beaven
91e59aeca0
Fixes #10786 -- Document that NullBooleanField should be used rather than BooleanField with null=True. Thanks sbj3 for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-06 10:33:32 +00:00
Chris Beaven
ab9e596ca6
Fixes #10754 - minor clarification to the post/pre_delete signal documentation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-06 10:12:21 +00:00
Chris Beaven
4fa9646716
Fixes #11596 -- Make paginator.Page iterable
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16018 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-06 09:40:26 +00:00
Simon Meers
e301899392
Fixed #15746 . Clarified updated list_filter documentation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16010 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-03 23:08:48 +00:00
Adrian Holovaty
09b4a41aa7
Fixed a comma splice in docs/faq/install.txt from [16004]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-02 21:49:39 +00:00
Ramiro Morales
cca232c234
Updated the Python version requirements FAQ entry in the installation section.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16004 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-02 19:03:11 +00:00
Russell Keith-Magee
576606a6f2
Advanced deprecations in core.cache.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15977 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-02 08:37:15 +00:00
Russell Keith-Magee
5d5149cd18
Advanced deprecation of user-based messages and the LegacyFallbackStorage in contrib.messages.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-02 08:36:04 +00:00
Adrian Holovaty
9a279edc1c
Fixed some ReST errors from e-mail -> email change in docs, and changed some docs that shouldn't have been changed (because translation strings haven't been converted yet)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15968 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-01 16:18:23 +00:00
Adrian Holovaty
94af19c43f
Changed e-mail to email throughout documentation and codebase. The one exception is translation strings, which I didn't want to disrupt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-01 16:10:22 +00:00
Luke Plant
16f6acdb89
Deprecated csrf_response_exempt and csrf_view_exempt decorators
...
With the removal of CsrfResponseMiddleware, csrf_response_exempt serves no
purposes, and csrf_exempt and csrf_view_exempt perform the same function.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15956 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-30 17:35:41 +00:00
Luke Plant
1f5d684f14
Added release notes about the removal of Django 1.2 compatibility fallbacks for signed data
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15955 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-30 17:35:32 +00:00
Luke Plant
8823021625
Removed deprecated CsrfResponseMiddleware, and corresponding tests and docs
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15949 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-30 17:34:26 +00:00
Luke Plant
4550f95f29
Added stub release notes for 1.4
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15947 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-30 17:34:01 +00:00
Jannis Leidel
37ed6f2681
Re-added a few compatibility modules that were removed in r15927 to lower the impact on 3rd party apps.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15944 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-30 08:34:05 +00:00
Timo Graham
99b2728b74
Fixed #15710 - removed "that that" typos.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15942 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-29 10:24:42 +00:00
Timo Graham
d665c0b3b9
Fixed #15664 - Removed extra parens in commit_on_success example.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-27 23:00:36 +00:00
Adrian Holovaty
5d854608fe
Fixed #15687 -- Fixed small typo in multidb docs. Thanks, jonash
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15919 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-26 03:54:53 +00:00
Jannis Leidel
6a5548cf83
Corrected another part of the staticfiles docs which was missed in r15913. Refs #15681 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15914 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-24 17:58:13 +00:00
Jannis Leidel
8ddf5ba66f
Fixed #15681 -- Fixed a documentation error regarding the default value of the STATIC_URL setting. Thanks, Chris Drackett.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15913 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-24 17:52:32 +00:00
Simon Meers
f3f1983f30
Moved versionadded below heading for "Localized names of languages".
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15910 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-24 10:02:58 +00:00
Simon Meers
1339ef4af8
Bumped django_next_version so that "New in Django 1.3" links appear correctly.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15909 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-24 09:40:50 +00:00
Simon Meers
e7d678237f
Fixed a few typos in the 1.3 release notes.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15907 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-23 08:48:18 +00:00
James Bennett
7c08f4c635
Bump everything for 1.3.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15902 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-23 05:06:31 +00:00
James Bennett
1743db94f5
One final final tweak to 1.3 release notes.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15901 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-23 05:04:19 +00:00
James Bennett
5c00199581
Finalize 1.3 release notes.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15900 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-23 05:03:22 +00:00
Russell Keith-Magee
2f3bf2830d
Made the English in r15897 much betterer.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15898 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-22 23:20:52 +00:00
Russell Keith-Magee
62865b4cde
Fixed #15527 -- Added a explanatory note about the SQL debug log. Thanks to boxm for the report, and jpaulett for the draft patch
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15897 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-22 23:18:09 +00:00
Simon Meers
8e7030d263
Fixed typo in forms API documentation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15896 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-22 23:16:22 +00:00
Gabriel Hurley
66594beae7
Fixed #15657 -- added the required `form` parameter to the method signatures of `form_valid` and `form_invalid` in the `FormMixin` docs. Thanks to jnns for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15895 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-22 22:01:27 +00:00
Gabriel Hurley
a4ef094b0f
Corrected a number of mislinked crossrefs and added a few new crossref targets found in/via the 1.3 release.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15894 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-22 20:12:17 +00:00
Russell Keith-Magee
16f4a2bec2
Minor markup and organization fixes to docs to correct Sphinx errors.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15893 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-22 14:35:14 +00:00
James Bennett
a5d373a463
Update release notes and other docs for impending 1.3.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15892 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-22 06:57:12 +00:00
Idan Gazit
6d8853b7c8
Added Idan to committers.txt. Wahoo!
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15890 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-22 01:16:28 +00:00
Ramiro Morales
a2c19f7984
Tweaked title level in custom file storage systems documentation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15888 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-21 15:39:26 +00:00
Ramiro Morales
413ceb57b2
Changed 'raise' statements to new style syntax in documentation. Thanks DaNmarner. Refs #15635 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-17 20:49:31 +00:00
Justin Bronn
c70bdad8b4
Fixed #14133 -- Updated Windows installation instructions for GeoDjango, now recommend the OSGeo4W installer for spatial libraries.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-17 20:06:19 +00:00
Russell Keith-Magee
1af33427cb
Fixed #15623 -- Corrected province codes for Canadian localflavor. Thanks to shelldweller for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15864 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-17 00:59:30 +00:00
Justin Bronn
127331041e
Use Sphinx `:download:` directives for spatial database template creation scripts instead of linking to geodjango.org.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15854 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-16 16:21:16 +00:00
Adrian Holovaty
304a50d8ca
Fixed #15603 -- Changed the traceback error e-mails not to use HTML by default. It's now configurable with an 'include_html' parameter to AdminEmailHandler. Thanks, kmtracey
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-16 04:13:57 +00:00
Adrian Holovaty
2ee7cfcf1c
Corrected email --> e-mail in topics/logging.txt. Refs #15603
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15849 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-16 04:02:40 +00:00
Adrian Holovaty
ccc972e750
Fixed #15618 -- CookieStorage storage in messages framework now honors SESSION_COOKIE_DOMAIN. Thanks for the report and patch, lamby
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15848 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-16 03:50:51 +00:00
Jannis Leidel
ad4118be44
Fixed #15598 -- Updated static URL helper to be no-op on non-local prefixes. Thanks, traff.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15839 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-15 20:13:21 +00:00
Adrian Holovaty
b1f67e7317
Fixed #15614 -- Fixed potentially confusing URLconf examples in docs/ref/generic-views.txt by adding explicit import statement and using function passing instead of strings in the URLpattern
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15822 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-15 17:07:16 +00:00
Russell Keith-Magee
23288d1955
Fixed #15594 -- Corrected typo in the docs on HTTPOnly cookies. Thanks to philwills for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15818 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-15 08:19:57 +00:00
Russell Keith-Magee
6d991d10d6
Minor grammar fix to release notes added in r15765.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15816 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-15 08:19:17 +00:00
Carl Meyer
f43b3f58fb
Added backwards-incompatibility note for r15805.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-14 22:49:14 +00:00
Jacob Kaplan-Moss
fd2f18008c
Fixed #14733 : no longer "validate" .raw() queries.
...
Turns out that a lot more than just SELECT can return data, and this list is
very hard to define up front in a cross-database manner. So let's just assume
that anyone using raw() is at least halfway competant and can deal with
the error messages if they don't use a data-returning query.
Thanks to Christophe Pettus for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15803 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-14 19:49:53 +00:00
Ramiro Morales
12b5152233
Tweaked a bit the release notes document.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15801 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-14 13:53:45 +00:00
Adrian Holovaty
12a2a23100
Reworded part of 'Running only some of the tests' in docs/internals/contributing.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15799 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-14 05:34:28 +00:00
Gabriel Hurley
3349b95db6
Fixed #15592 -- corrected an missing backtick in the syndication docs. Thanks to bradley.ayers for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15793 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-10 17:21:16 +00:00
Gabriel Hurley
409435440a
Fixed #15558 -- Improved QuerySet reference docs and cleaned up numerous reST/sphinx problems.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15776 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-08 19:51:19 +00:00
Russell Keith-Magee
c260c533e1
Fixed #15570 -- Corrected a flaw in the design of the silent flag on {% cycle %}. Thanks to Brian Neal for the report, and to Andrew and Jannis for the design consult.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15773 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-08 13:43:53 +00:00
Chris Beaven
32adde7fc9
Fix the documentation of BoundField.value() to reference the correct method name
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15772 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-07 22:55:16 +00:00
Carl Meyer
4c41159494
Tweaked r15769 to remove reference to "project."
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15770 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-07 17:00:57 +00:00
Carl Meyer
0d88312855
Clearer mile-high description of migrating to staticfiles in 1.3 release notes.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15769 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-07 16:38:04 +00:00
Russell Keith-Magee
75cd087c79
Fixed #14965 -- Added release notes about changes to builtin template tags
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15765 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-06 07:14:32 +00:00
Gabriel Hurley
8940969a7a
Fixed #11864 -- Improved the "see also" section of the many-to-one model topic guide to more clearly connect people to the backwards-related objects docs and to the correct point in the model tests for sample code (since the doctests went away). Thanks to dwillis for the work on the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15758 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-04 22:29:16 +00:00
Gabriel Hurley
32255c20a5
Fixed #15557 -- removed an extra backtick from the `topics/http/shortcuts`. Thanks to johnthedebs for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15757 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-04 21:13:42 +00:00
Gabriel Hurley
4e76f0f793
Fixed #15504 -- Cleaned up contrib.syndication and contrib.utils.feedgenerator docs. Corrected numerous reST problems, removed duplicate method declarations, corrected method signatures, etc. Thanks to slinkp for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15739 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-03 22:20:54 +00:00
Adrian Holovaty
136930085b
Made small improvement to docs/topics/db/queries.txt -- added import statement to 'Complex lookups with Q objects' for easier scanning
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15737 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-03 21:04:32 +00:00
Gabriel Hurley
9428c23869
Fixed #15528 -- Added versionchanged directive to load template tag docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15735 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-03 19:35:27 +00:00
Gabriel Hurley
20b940614e
Added crossref targets for a couple of Django exceptions and cleaned up related reST markup.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15733 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-03 19:31:10 +00:00
Gabriel Hurley
e8fa1abd78
Fixed #15541 -- Updated FAQ to point at djangosites.org instead of defunct wiki page. Thanks to aaugustin for the report and draft patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15729 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-03 18:26:15 +00:00
Russell Keith-Magee
afd040d4d3
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
...
assert_ -> assertTrue
assertEquals -> assertEqual
failUnless -> assertTrue
For full details, see http://www.voidspace.org.uk/python/articles/unittest2.shtml#deprecations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-03 15:04:39 +00:00
Russell Keith-Magee
d1290b5b43
Fixed #3094 -- Accelerated deprecation of XMLField, since it hasn't served any useful purpose since oldforms. Thanks to PaulM for driving the issue and providing the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15723 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-03 13:28:20 +00:00
Russell Keith-Magee
03717325dd
Corrected some typos from r14673.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15712 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-03 00:24:41 +00:00
Jannis Leidel
f6c991667f
Fixed #4992 -- Respect the GET request query string when creating cache keys. Thanks PeterKz and guettli for the initial patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15705 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-02 12:47:36 +00:00
Ramiro Morales
5aca35329c
Reverted 'now' template tag documentation changes so it describes the real code implementation regarding (lack of) interaction with L10N machinery. Refs #15263 . Thanks danielr for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15678 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-01 03:05:57 +00:00
Gabriel Hurley
13838fb233
Fixed #15365 -- Added a warning to the `contrib.markup` docs reminding users that the marked up output will not be escaped.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-28 05:39:44 +00:00
Gabriel Hurley
c9db8cc83f
Fixed #15395 -- Documented the modules/import paths for the various decorators in `django.views.decorators`. Thanks to slinkp for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-28 05:25:46 +00:00
Russell Keith-Magee
c5a6badbfc
Converted the new contributions docs to unix line endings.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-27 23:31:46 +00:00
Gabriel Hurley
2b7b468325
Fixed #14702 -- Added a "needsinfo" resolution to Trac, and added supporting documentation on the new resolution and closing tickets in general.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15665 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-27 22:13:07 +00:00
Gabriel Hurley
28123d7153
Fixed #15492 -- Documented the `invalid_date` and `invalid_time` error keys for !SplitDateTimeField. Thanks to lode for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15663 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-27 21:16:58 +00:00
Simon Meers
2dfbe92d7c
Fix typo in staticfiles docs (not ticketed).
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15662 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-27 11:54:03 +00:00
Alex Gaynor
f5bbeb147b
Fixed #15509 -- corrected a typo in the cache docs. Thanks Paul.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15654 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-26 08:49:05 +00:00
Gabriel Hurley
c250b8840b
Fixed #14401 -- Added a contributing howto guide for new users. Thank you to everyone who added their advice, feedback, and wisdom to the wiki article while constructing this new guide.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15645 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-25 02:45:48 +00:00
Russell Keith-Magee
7aa84917a4
Fixed #15299 -- Started the process of migrating the auth context processor support classes into the auth context processor module. Thanks to shailesh for the report, and v1v3kn for the draft patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15635 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-23 13:36:58 +00:00
Simon Meers
6ce03dd888
Fixed #15375 -- clarified apparent contradiction in Form Wizard documentation. Thanks to codysomerville for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15633 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-23 09:41:38 +00:00
Luke Plant
37343bac8a
Removed example CSRF jQuery code from release notes, replacing with link to improved code in the CSRF docs
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15628 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-22 11:27:58 +00:00
Timo Graham
00fb22d836
Fixed #15257 - Add a link about field lookups to the tutorial; thanks dwillis.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15624 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-22 00:57:28 +00:00
Luke Plant
fdf9602961
Fixed #11058 - list_display_links doesn't allow callables not defined in the model
...
Thanks to dvine for the report and julien for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15619 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-21 19:15:02 +00:00
Gabriel Hurley
8ee9a4627e
Fixed #15341 -- Clarified where translation problems should be reported in the contributing docs. Thanks to bpeschier for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15590 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-19 23:59:59 +00:00
Gabriel Hurley
1d4640a58f
Fixed #15351 -- Corrected a missing word in the template reference docs. Thanks to issackelly for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15589 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-19 22:28:39 +00:00
Gabriel Hurley
f58dd619b8
Fixed #15347 -- Corrected a typo in the l10n docs. Thanks to RaceCondition for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-18 22:42:37 +00:00
Gabriel Hurley
eb80803454
Fixed #15342 -- Passed *args through to the parent class' dispatch method in the CBV example. Thanks to jnns for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-18 13:40:53 +00:00
Gabriel Hurley
e06dfda918
Fixed #15328 -- Corrected an example in the CBV docs and added a note about the parameters passed by method_deorator to the method on the class. Thanks to airstrike for the report and lrekucki for the correction.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15563 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-18 06:50:13 +00:00
Gabriel Hurley
fe1110018a
Fixed #15335 -- Improved Sphinx crossref targets and metadata for the sites and flatpages reference docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15562 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-18 00:58:34 +00:00
Gabriel Hurley
f81d5d6854
Fixed #15233 -- Corrected a duplicate module directive that raised a warning on newer versions of Sphinx. Thanks to Aryeh Leib Taurog for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15561 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-17 21:08:45 +00:00
Gabriel Hurley
5edb61438e
Fixed #15310 -- Corrected a view path in the static files how to docs. Thanks to Bradley Ayers for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15556 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-17 02:11:44 +00:00
Gabriel Hurley
319de16ff0
Fixed #15233 -- reST/Sphinx markup corrections in numerous areas, mostly centering around bad crossref targets. Thanks to Aryeh Leib Taurog for the draft patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-16 01:56:53 +00:00
Gabriel Hurley
a40685fdfc
Fixed #15308 -- Sphinx/reST fixes for the Custom Model Fields docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-16 00:24:49 +00:00
Gabriel Hurley
9323f81dc0
Fixed #14820 -- Added more information to the generic relation docs regarding different choices for storing PK references for a GenericForeignKey. Thanks to mrmachine for the all the work on the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-16 00:18:09 +00:00
Gabriel Hurley
e9d99c4371
Fixed #15309 -- reST/Sphinx cleanup on the ContentTypes Framework docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15544 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-16 00:12:52 +00:00
Timo Graham
6eacbfd411
Fixed "the the" typos.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15536 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-14 23:18:30 +00:00
Ramiro Morales
d7c2dcd538
Fixed a couple of documentation typos.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15534 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-14 15:02:02 +00:00
Russell Keith-Magee
06b22963ea
Fixed #15272 -- Altered generic views to use the guaranteed untranslated object_name, rather than the possibly translated verbose_name(_plural) for default context objects. Thanks to szczav for the report and patch.
...
This is BACKWARDS INCOMPATIBLE for anyone relying on the default context object names for class-based Detail and List views. To migrate, either update your templates to use the new default names, or add a context_object_name argument to your generic views.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15531 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-14 13:04:51 +00:00
Jannis Leidel
a26034ffbf
Fixes #15270 -- Moved back the serve view to django.views.static due to dependency conflicts with the contrib app staticfiles (reverts parts of r14293). Added a helper function that generates URL patterns for serving static and media files during development. Thanks to Carl for reviewing the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-14 01:42:26 +00:00
Justin Bronn
c7618d5fa6
Updated GeoDjango installation docs and spatial database template script for latest Ubuntu/Debian packages.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15520 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-13 01:50:54 +00:00
Luke Plant
d068a04244
Fixed #15284 - improved example jQuery code for adding X-CSRF-Token
...
Using the ajaxSend event is better than beforeSend, because the beforeSend
callback can have only one value, which makes it painful if it is needed by
multiple bits of javascript.
Thanks to LukeMaurer for report and initial patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15515 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-12 23:37:35 +00:00
Russell Keith-Magee
6314a1b42e
Fixed #9964 -- Ensure that all database operations make transactions dirty, not just write operations. Many thanks to Shai Berger for his work and persistence on this issue.
...
This is BACKWARDS INCOMPATIBLE for anyone relying on the current behavior that allows manually managed read-only transactions to be left dangling without a manual commit or rollback.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15493 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-12 13:03:34 +00:00
Alex Gaynor
b01cc1bd89
Fixed #15243 -- More clearly document that the transaction functions needs to be called with a using parameter to work with a non-default database. Thanks to Jason Kotenko for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15489 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-11 18:23:55 +00:00
Russell Keith-Magee
41dc3fc2e8
Fixed #15253 -- Added 1.1.3 release notes, and added sections to the 1.2.4 and 1.3 release notes about the December security announcement.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15485 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-10 11:55:24 +00:00
Russell Keith-Magee
f913fab6be
Fixed #15253 , #15259 -- Added 1.1.4 release notes, added a section on CSRF changes to the 1.3 release notes, and corrected the example in the 1.2.5 release notes. Thanks to Gary Wilson and Mark Hellewell for the reports.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15482 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-10 09:27:38 +00:00
Russell Keith-Magee
1ca9ceda59
Refs #15241 -- Further clarifications to the generic view migration docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15481 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-09 13:04:05 +00:00
Russell Keith-Magee
8c59905033
Fixed #15241 -- Updated the upgrading notes for generic views to reflect recent changes in class-based views. Thanks to Jonney for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15479 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-09 12:59:05 +00:00
Russell Keith-Magee
0d9c5d5a5e
Fixed #15245 -- Added note about the CSRF AJAX exception to the 1.2.5 release notes. Thanks to Matt Austin for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15478 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-09 12:58:42 +00:00
Alex Gaynor
208630aa4b
Fixed a security issue in the CSRF component. Disclosure and new release forthcoming.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15464 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-09 02:06:27 +00:00
Gabriel Hurley
66312066a0
Fixed #14861 -- Added an admonition about the potential for circular imports with custom logging handlers (which produces an extremely confusing error message) to the logging docs. Thanks to donspaulding for the report and adamv for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15449 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-07 23:56:39 +00:00
Gabriel Hurley
f80e997c50
Fixed #15138 -- Clarified a slightly ambiguous example in the custom template tag docs. Thanks to elbarto for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15448 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-07 23:44:43 +00:00
Gabriel Hurley
327d69de73
Fixed #15134 -- Placed formset documentation before modelform documentation in the forms topic index to improve the logical flow of information being presented. Thanks to Aryeh Leib Taurog for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15447 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-07 23:39:29 +00:00
Gabriel Hurley
0f50ef12bf
Fixed #15055 -- added information about (and an example of) the csrf_token template tag to the forms documentation. Thanks to sneakyness for the report and bpeschier for the draft patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15445 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-07 22:52:39 +00:00
Gabriel Hurley
1bac26b9a8
Fixed #15236 -- corrected a typo and added a versionadded directive for the user_logged_in and user_logged_out signals. Thanks to claudep for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15444 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-07 22:32:16 +00:00
Gabriel Hurley
608877c066
Fixed #15207 -- Added versionadded directives for the "using" argument sent by signals, and cleaned up some incidental indentation/formatting inconsistencies. Thanks to Keryn Knight for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15443 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-07 22:18:14 +00:00
Ramiro Morales
f6e38f3800
Fixed #5494 , #10765 , #14924 -- Modified the order in which translations are read when composing the final translation to offer at runtime.
...
This is slightly backward-incompatible (could result in changed final translations for literals appearing multiple times in different .po files but with different translations).
Translations are now read in the following order (from lower to higher priority):
For the 'django' gettext domain:
* Django translations
* INSTALLED_APPS apps translations (with the ones listed first having higher priority)
* settings/project path translations (deprecated, see below)
* LOCALE_PATHS translations (with the ones listed first having higher priority)
For the 'djangojs' gettext domain:
* Python modules whose names are passed to the javascript_catalog view
* LOCALE_PATHS translations (with the ones listed first having higher priority, previously they weren't included)
Also, automatic loading of translations from the 'locale' subdir of the settings/project path is now deprecated.
Thanks to vanschelven, vbmendes and an anonymous user for reporting issues, to vanschelven, Claude Paroz and an anonymous contributor for their initial work on fixes and to Jannis Leidel and Claude for review and discussion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15441 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-07 18:48:40 +00:00
Timo Graham
0737307e8c
Fixed #15222 - FileCache -> FileBasedCache typo; thanks Serp.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15439 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-06 17:28:01 +00:00
Timo Graham
f77d81de3d
Fixed #15208 - Document ModelAdmin.formfield_for_choice_field; thanks julien.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15399 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-02 20:57:09 +00:00
Timo Graham
a9ebf9ec24
Fixed #7325 -- Broken links for model documentation; thanks Justin Lilly.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15397 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-02 20:39:54 +00:00
Timo Graham
3cdd6d898e
Fixed #15204 - Update form examples for rendering of the help_text; thanks prestontimmons.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15396 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-02 20:23:13 +00:00
Carl Meyer
76fb2bb0e2
Fixed some documentation and default-settings.py comments that were misleading about the purpose of STATIC_ROOT, and removed an unused import.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15384 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-01 14:28:07 +00:00
Carl Meyer
0bf5fbfa76
Some tweaks to the staticfiles docs to clarify things for new users. Thanks Jannis and brutasse for review and discussion.
...
* Rearranged 'in a nutshell' usage docs to clarify app-dirs vs STATICFILES_DIRS, initially focus on the simplest path to working local dev, and remove the need for repetitive 'you don't need this in local dev' notes.
* Added docs on using staticfiles serve view for non-staticfiles (e.g. user-uploaded files).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15380 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-31 22:06:53 +00:00
Jannis Leidel
6361a242af
Fixed typo in staticfiles documentation introduced in [15369]. Thanks, harijay.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15375 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-30 23:29:25 +00:00
Jannis Leidel
2d29c11117
Fixed #15196 -- Bumped version up a bit in Sphinx configuration. Thanks, Eric Holscher.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15374 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-30 20:31:39 +00:00
Timo Graham
456534dda9
Fixed #15191 - typo in form validation docs; thanks berto for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15372 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-30 19:09:44 +00:00
Jannis Leidel
aaa76ca1b3
Fixed #14978 -- Added versionchanged directive to --adminmedia docs clarifying why it's not working with staticfiles (deprecation of AdminMediaHandler).
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15370 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-30 17:23:30 +00:00
Jannis Leidel
8fe42053bc
Reworded parts of the staticfiles documentation after receiving various user feedback. Thanks, all!
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15369 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-30 17:23:25 +00:00
Russell Keith-Magee
e3d322ede8
Fixed #15177 -- Added note to generic views reference page indicating that the views have been deprecated (mirroring the topic guide). Thanks to rasca for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15367 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-30 13:33:53 +00:00
Russell Keith-Magee
14c082646d
Fixed #15134 -- Removed a duplicate TOC entry for modelforms docs. Thanks to Aryeh Leib Taurog for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15366 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-30 13:33:27 +00:00
Justin Bronn
34288ec2f2
Fixed example use of deprecated function in GeoDjango tutorial.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15358 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-29 08:10:20 +00:00
Timo Graham
fe0a15b6c9
Fixed #14993 - Improved docs for ModelAdmin.filter_horizontal adding that it's for ManyToManyFields; thanks jammon for the suggestion.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15357 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-29 02:01:43 +00:00
Luke Plant
a0585e99bf
Added note to 1.2.5 release notes about ModelAdmin.lookup_allowed change
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15352 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-28 15:47:40 +00:00
Russell Keith-Magee
a5cac772b6
Fixed #13662 -- Added an entry in the README to direct people to the instructions for running the test suite, and cleaned up that section of the docs. Thanks to mir for the report, and to cogat and gg for the draft text.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15342 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-27 03:14:49 +00:00
Carl Meyer
8151c0431e
Copied in-development 1.2.5 release notes to trunk.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15323 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-26 08:10:54 +00:00
Carl Meyer
00e7a571c5
Fixed #6456 - Excised FileField file deletion to avoid data loss. Thanks to durdinator for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15321 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-26 07:46:19 +00:00
Timo Graham
1b961e8ee3
Fixed #15153 - removed obsolete sentence in tutorial; thanks LeSphinx for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15313 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-26 00:58:41 +00:00
Timo Graham
a981f5b988
Fixed #15163 - typo in email docs; thanks metal for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15311 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-26 00:37:08 +00:00
Ramiro Morales
f81d4ba5b3
Fixed #14038 -- Added information to release notes and version changed|added markers to documentation additions for the new template loeaders API introduced in version 1.2. Thanks 3point2 for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-25 15:42:24 +00:00
Luke Plant
42c31f6bf0
Rationalised CompatCookie/SimpleCookie into single SimpleCookie class with all fixes.
...
Since upstream Python has fixed the encoding bug (see
http://bugs.python.org/issue9824 ), we don't want a separate class for this
bug fix, or several layers for the different fixes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-24 20:35:46 +00:00
Russell Keith-Magee
3f528e10d5
Fixed #15012 -- Added post-rendering callbacks to TemplateResponse so that decorators (in particular, the cache decorator) can defer processing until after rendering has occurred. Thanks to Joshua Ginsberg for the draft patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15295 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-24 14:24:35 +00:00
Timo Graham
4849ebb017
Fixed #15147 - Typo in "Managing static files"; thanks ori for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15284 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-22 23:29:11 +00:00
Timo Graham
578ad9b472
Fixed #15141 - remove some deprecated storage engines from the MySQL notes; thanks mariuz for the suggestion.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15282 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-22 16:16:42 +00:00
Timo Graham
a757b5b8ca
Fixed #15133 - Some markup issues in the docs; thanks Aryeh Leib Taurog for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15281 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-22 12:43:50 +00:00
Alex Gaynor
5fcce5e10f
Fixed a typo in the docs, thanks to sunoano for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15277 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-21 20:16:38 +00:00
Jannis Leidel
70a2a71c9b
Update contributing documentation for changed translation policy.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-21 19:37:16 +00:00
Carl Meyer
93a4d46184
Fixed #14672 - Added admin handling for on_delete=PROTECT. Thanks to jtiai for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15249 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-20 00:33:32 +00:00
Carl Meyer
f399f8bd71
Corrected an outdated reference to cmemcache in contributing docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-19 20:37:58 +00:00
Timo Graham
457aaca7fa
Fixed #15109 - typo in middleware docs; thanks colinsullivan for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15242 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-18 23:25:38 +00:00
Russell Keith-Magee
b31a1b9926
Refs #14661 -- Clarified the handling of initial data injected via custom SQL.
...
This is BACKWARDS INCOMPATIBLE CHANGE for anyone relying on SQL-injected initial data in a test case.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15239 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-18 16:43:01 +00:00
Timo Graham
1ebd6860b6
Fixed #15080 - Add -v0 to collectstatic fabric example. Thanks hvdklauw.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15229 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-16 21:49:01 +00:00
Timo Graham
5fd93e1c36
Fixed #13628 - Discourage the use of doctests; thanks d0ugal for the suggestion.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15227 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-16 19:22:36 +00:00
Timo Graham
4d654c92ce
Fixed #15030 - ModelAdmin media docs don't mention STATIC_URL. Thanks jezdez for the suggestion, Silva for the draft patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15225 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-16 13:56:12 +00:00
Russell Keith-Magee
1ca9e95d4e
Fixed #15062 -- Documented the fact that managers must be able to be shallow copied. Thanks to Ian Clelland for the report, and Łukasz Rekucki for the help diagnosing the problem.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15220 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-16 06:44:23 +00:00
Jannis Leidel
645eb2b26b
Stopped staticfiles app from requiring a models module when looking for static files. Also removed a bit of code smell in the prefix handling by saving it in the source file storage.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15219 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-15 23:38:00 +00:00
Timo Graham
6c361ecb17
Fixed #15085 - Fix LOCATION for FileCache example. Thanks abdelazer for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15218 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-15 18:52:59 +00:00
Timo Graham
8b4e39bc2e
Fixed #15088 - Missing dash in documentation. Thanks Aryeh Leib Taurog for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15217 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-15 18:45:49 +00:00
Russell Keith-Magee
d7fa33af78
Fixed #14928 -- Ensure that a fully qualified domain name can be used for runserver. Thanks to Karmel Allison for the report, Łukasz Rekucki for the patch, and claudep for the tests.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15215 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-15 06:31:38 +00:00
Chris Beaven
faa4a98f27
Change the lack of supports_inactive_user on an auth backend to a
...
!PendingDeprecationWarning (refs #14249 ), fixing some bad links in the
1.3 release docs and a typo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15204 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-14 08:31:14 +00:00
Russell Keith-Magee
2d352444b0
Fixed #14176 -- Added forwards compatibility to the legacy syndication feed view. This allows class-based feeds to be deployed using the old-style feed view, as long as the feed requires no arguments (i.e., get_object returns None). Thanks to psychcf for the report, cwhaines for the investigation, and Andrew Godwin for the assist.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15189 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-13 14:51:34 +00:00
Luke Plant
7b8c38250c
Fixed #15057 - documented change in [14992]
...
Thanks to Tai Lee for the patch.
Refs #15025 , #7153
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15188 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-13 13:47:21 +00:00
Timo Graham
1b90cdcf23
Fixed #15045 - Typo auto_add_now -> auto_now_add; thanks dr_gone for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15171 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-11 00:29:38 +00:00
Timo Graham
30c8a5574a
Fixed #15003 - assorted edits to admin docs; thanks adamv.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15166 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-08 21:15:00 +00:00
Jannis Leidel
a3894945b6
Fixed #15010 -- Added current_app parameter to close gap between TemplateResponse and render method. Thanks, acdha.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15153 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-05 22:41:43 +00:00
Timo Graham
60470e8ac2
Fixed #10078 - Document use of locales in management commands. Thanks gregoire for the suggestion and ramiro for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15141 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-03 14:27:28 +00:00
Timo Graham
d41bd3f7f2
Fixed #14994 - Add attributes to example auth backend which would emit DeprecationWarning otherwise. Thanks kmike for the report and ojii for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15137 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-03 13:46:28 +00:00
Timo Graham
07ef43082d
Fixed #15002 - Fix title casing to conform to style guidelines. thanks adamv.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-03 13:29:17 +00:00
Russell Keith-Magee
a00e8d4e42
Fixed #14878 -- Clarified the way verbose_name_plural is used in generic list views as a context variable. Thanks to diegueus9 for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15133 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-03 13:15:58 +00:00
Jannis Leidel
544ab30ed7
Fixed #6218 -- Made MEDIA_URL and STATIC_URL require a trailing slash to ensure there is a consistent way to combine paths in templates. Thanks to Michael Toomim, Chris Heisel and Chris Beaven.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15130 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-02 01:33:11 +00:00
Ramiro Morales
70c8cd4100
Fixed #13307 -- Enhanced the generic inlines documentation by mentioning the concrete Generic{Tabular,Stacked}Inline classes that should be used. Thanks loki77 for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15124 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-31 23:02:07 +00:00
Luke Plant
5a36b43c27
Some small fixes to DB optimization docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-31 15:47:46 +00:00
Timo Graham
f2c4c63cdc
Fixed #14997 - A typo in "Overriding delete". thanks phunehehe for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15117 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-31 13:09:20 +00:00
Timo Graham
aff5c467c1
Fixed #13912 - Fixed AliasMatch regex in modwsgi docs. Thanks SmileyChris for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-30 13:29:57 +00:00
Timo Graham
7902a89ced
Fixed #12469 - Add a few clarifications to the ModelAdmin.get_urls() docs. Thanks benc for the suggestions.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29 21:50:40 +00:00
Timo Graham
9b18b46c0f
Fixed #14842 - Indent the model Meta options. Thanks adamv.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29 20:30:24 +00:00
Timo Graham
032aac72c4
Fixed #13452 - Document that regroup can be used with any template lookup. Thanks shacker for the suggestion and draft patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15108 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29 20:20:53 +00:00
Timo Graham
4243d49700
Fixed #14987 - Alpha sort date filter arguments. Thanks Peter for the report; adamv for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15107 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29 20:05:51 +00:00
Timo Graham
25463719d3
Fixed #14988 - Remove renaming step in tutorial that's no longer applicable due to generic view refactor. Thanks bindzus for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29 17:20:30 +00:00
Timo Graham
12266059cd
Fixed #14712 - Add an example for the post_syncdb signal. Thanks Frank Wiles for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15104 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29 15:47:46 +00:00
Timo Graham
ec38c88dfb
Fixed #12193 - Add details to the i18n documentation for translation of model classes (relations and methods). Thanks Maxime Petazzoni and Ramiro for work on the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15102 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29 15:39:12 +00:00
Timo Graham
aa1b537b11
Fixed #13961 - note that reverse URL lookups can't be done within a blocktrans tag. Thanks garrison for the report and richardb and zerok for work on the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15100 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29 14:19:38 +00:00
Timo Graham
ca292f125b
Fixed #14277 - Clarify path names in modwsgi docs; thanks neitpiet for the report, elbarto for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15098 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29 13:59:15 +00:00
Timo Graham
ad4969e5e8
Fixed #14959 - Add a link to localflavor in the model field docs. Thanks PaulM for the suggestion, elbarto for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15096 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29 13:47:28 +00:00
Ramiro Morales
a43c2f50c2
Fixed #7726 -- Added validation of max_digits and decimal_places options to DecimalField model field. Thanks theevilgeek for the report and elbarto for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29 01:18:11 +00:00
Gabriel Hurley
1517659693
Fixed a Sphinx formatting problem in the signals reference docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15092 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29 00:09:09 +00:00
Gabriel Hurley
7f3210efa8
Fixed #14403 -- Provided some extra resources on the difference between FloatField and DecimalField in the model field reference. Thanks to typeshige for the report and trebor74hr and dmedvinsky for the draft patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15090 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29 00:03:02 +00:00
Gabriel Hurley
cd977b9221
Fixed #14905 -- Corrected some misleading linking and language in the FileField docs. Thanks to Keryn Knight for the report and draft patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-28 23:24:34 +00:00
Gabriel Hurley
645323155b
Fixed #14912 -- Expanded documentation for the urlize template filter. Thanks to adamv for the draft patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15086 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-28 22:53:28 +00:00
Timo Graham
40d1a478fd
Fixed #11496 - note that DecimalField max/min_value should be type(decimal.Decimal); thanks adamv.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15084 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-28 21:54:47 +00:00
Timo Graham
ec539599f7
Fixed #14980 - Add 1.2.4 release notes to trunk. thanks Gary Wilson for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15083 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-28 21:37:10 +00:00
Timo Graham
5c6a9f35a9
Refs #12398 - TypedMultipleChoiceField is new in Django 1.3
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15082 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-28 21:29:34 +00:00
Timo Graham
b0ecab516f
Fixed #14708 - Document available keys for form field error messages; thanks adamv.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15080 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-28 21:10:19 +00:00
Timo Graham
4919aaee11
Fixed #14320 - Add a note about lack of timezone support in MySQL. Thanks RauntyDave for the suggestion, adamv for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15078 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-28 13:35:48 +00:00
Timo Graham
d3d345576d
Fixed #14682 - Add a note with an example of the explicit template location for class based views. Thanks PaulM for the suggestion, adamv for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-28 01:04:43 +00:00
Timo Graham
75e841d534
Fixed #13837 - Add geodjango packages for Ubuntu 10.04; thanks muanis and zerok for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15075 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-28 00:12:49 +00:00
Timo Graham
264d19752e
Fixed #13397 - Include third level headings in the TOC. thanks cyang for the suggestion, rleland for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15073 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-27 23:58:16 +00:00
Timo Graham
08cec1f508
Fixed #12313 - Add a note that QuerySet.delete() doesn't necessarily call obj.delete(). thanks FunkyELF for the suggestion.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15071 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-27 23:46:06 +00:00
Timo Graham
5ba961e267
Fixed #14890 - Clarify poll "index" page in tutorial. thanks dbaggott for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-27 23:29:49 +00:00
Timo Graham
1fab808b1f
Fixed #6550 - Changed generic view portion of the tutorial so it's equivalent to "the hard way" results. Thanks Alexandre Dupas for the suggestion.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-27 23:27:18 +00:00
Timo Graham
ddfe700563
Fixed #12642 - Add docs for has_[add|change|delete]_permission ModelAdmin methods. Thanks to MadeR for the report and for the wiki contributors from which I took language for this patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-27 13:41:19 +00:00
Timo Graham
ee5fb7d18c
Fixed #6181 - Document `django.views.decorators.http` - thanks adamv for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15064 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-27 13:27:26 +00:00
Alex Gaynor
c00c377e54
Fixed #14593 -- change this warning to be a PendingDeprecationWarning. Also converted the Czech localflavor tests to be unittests. We have always been at war with doctests. Thanks to Idan Gazit.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15062 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-27 07:41:26 +00:00
Timo Graham
38d60c3941
Fixed #13949 - Note that readonly fields can't be modified via custom clean methods. thanks alk for the suggestion and elbarto and Gabriel Hurley whose language I used in the final patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15060 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-26 21:50:16 +00:00
Timo Graham
2ea93f9327
Fixed #14000 - remove versionadded/changed tags for Django 1.0 and 1.1
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-26 00:37:14 +00:00
Timo Graham
00c554f89e
Fixed #13020 - add clarifying note to SessionStore. thanks elbarto for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15053 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-25 20:46:15 +00:00
Timo Graham
8a9be74776
Fixed #14927 - typo in model option docs. thanks tiliv.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15051 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-25 20:30:15 +00:00
Timo Graham
c4b8366884
Fixed #14956 - typo in messages docs. thanks alexarsh for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-25 20:26:32 +00:00
James Bennett
95b96b1962
Add note about security changes in 1.3 beta release notes.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-23 04:03:28 +00:00
James Bennett
5ed6e7a4d5
Refactor the choices for localflavor's USStateField, and add new US postal code support. Fixes #14937 and #9022 , refs #10308 and #8425 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15029 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-23 02:56:31 +00:00
Justin Bronn
5fddfda559
Fixed #13788 -- `GEOSGeometry.transform` no longer silently no-ops when GDAL isn't available. Thanks, Rob Coup.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15025 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-22 17:43:30 +00:00
Russell Keith-Magee
3550456535
Added some reST markup to avoid a warning during docs compilation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-22 15:54:31 +00:00
Russell Keith-Magee
0fef92f6f0
Fixed #14936 -- Tweaked the new render shortcut to reflect non-legacy arguments. Thanks to adamv for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-22 04:54:10 +00:00
Karen Tracey
6e75ee2b32
Added versionadded marker in doc for render function.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-22 04:12:32 +00:00
Karen Tracey
b1f6a4d66f
Fixed #10154 : Allow combining F expressions with timedelta values.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15018 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-22 03:34:04 +00:00
Justin Bronn
b6ab88c34a
Fixed #14439 -- Improved documentation for running the GeoDjango test suite.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15015 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-22 00:21:35 +00:00
Jannis Leidel
af5ad1116c
Rectified bugs that were accidentally committed in r14997. Thanks for the heads-up, Alex Gaynor.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15011 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21 19:19:04 +00:00