1
0
mirror of https://github.com/django/django.git synced 2024-11-18 15:34:16 +00:00
Commit Graph

5449 Commits

Author SHA1 Message Date
Baptiste Mispelon
980ae2ab29 Fix #20447: URL names given to contrib.auth.views are now resolved.
This commit also adds tests for the redirect feature of most auth views.
It also cleans up the tests, most notably using @override_settings instead
of ad-hoc setUp/tearDown methods.

Thanks to caumons for the report.

Conflicts:
	docs/releases/1.6.txt
2013-05-19 14:36:38 +02:00
Marc Tamlyn
c6855e8a70 Merge pull request #1162 from sspross/patch-docs
Add needed Imports to the Documentation, Part II
2013-05-19 05:26:13 -07:00
Pablo Recio
65f9e0affd Fixes #18896. Add tests verifying that you can get IntegrityErrors using get_or_create through relations like M2M, and it also adds a note into the documentation warning about it 2013-05-19 14:16:12 +02:00
vkuzma
1fe587d80b Add missing imports and models to the examples in the admin documentation 2013-05-19 13:35:19 +02:00
leandrafinger
08b501e7d3 add missing imports to the examples in the 'Forms' 2013-05-19 13:31:45 +02:00
Silvan Spross
1d543949d7 Add missing imports and models to the examples in internationalization and localization documentation 2013-05-19 13:30:01 +02:00
Silvan Spross
6a479955f0 Add missing imports and models to the examples in security documentation 2013-05-19 13:29:49 +02:00
Silvan Spross
7264e5c661 Add missing imports and models to the examples in the template layer documentation 2013-05-19 13:29:38 +02:00
Łukasz Langa
660762681c Fixed #20126 -- XViewMiddleware moved to django.contrib.admindocs.middleware 2013-05-19 13:18:35 +02:00
Aymeric Augustin
cb86f707a0 Fixed #12747 -- Made reason phrases customizable. 2013-05-19 13:14:54 +02:00
Tim Graham
cc62cbed76 Fixed some line wrapping, refs #20233 2013-05-19 06:51:55 -04:00
Marc Tamlyn
886f7cc751 Merge pull request #1098 from zsiciarz/ticket-16829
Added example of using sitemaps with static views.
2013-05-19 03:27:33 -07:00
Aymeric Augustin
753edfa4b5 Fixed a rest mistake I introduced in d5ce2ff. 2013-05-19 12:14:44 +02:00
bbjay
56d6fdbbf5 Fixed #20452 -- Rename 'headers' to 'header fields'. 2013-05-19 11:48:57 +02:00
Marc Tamlyn
d9c01da1f8 Improve cookie based session backend docs.
Note the don't require sessions to be in installed apps.
2013-05-19 11:24:35 +02:00
Andrew Godwin
cf56536ac7 Merge pull request #1145 from postrational/ticket_20233
Fixed #20233 - Full custom user model example isn't really full
2013-05-19 02:00:50 -07:00
postrational
0b3a6ead88 refs #20233 - Full custom user model example isn't really full
Addition and fix for custom user model example documentation.

https://code.djangoproject.com/ticket/20233
2013-05-19 10:48:30 +02:00
Marc Tamlyn
33c361ef9d Merge pull request #1129 from frog32/master
Add needed Imports to the Documentation
2013-05-19 01:37:25 -07:00
Ramiro Morales
0a50311063 Fixed #20004 -- Moved non DB-related assertions to SimpleTestCase.
Thanks zalew for the suggestion and work on a patch.

Also updated, tweaked and fixed testing documentation.
2013-05-18 19:04:34 -03:00
leandrafinger
ddd9ee16fa Add missing imports to the examples in the 'First Steps' 2013-05-18 18:39:21 +02:00
Silvan Spross
cd72c55d86 Add missing imports and models to the examples in the view layer documentation 2013-05-18 18:39:11 +02:00
Marc Egli
e4591debd1 Add missing imports and models to the examples in the the model layer documentation 2013-05-18 18:38:52 +02:00
Tim Graham
2c84f4434c Fixed #20284 - Added a note about DEBUG in static file docs.
Thanks wim@ for the suggestion and Nicolas Noé for the patch.
2013-05-18 12:11:29 -04:00
Łukasz Langa
bd97f7d0cb Fixed #15201: Marked CACHE_MIDDLEWARE_ANONYMOUS_ONLY as deprecated 2013-05-18 17:38:32 +02:00
Donald Stufft
398841d6d3 Merge branch 'allow-any-iterable-for-choices' 2013-05-18 11:31:16 -04:00
Tim Graham
78de9b1902 Merge pull request #1128 from erikr/improve-smallint-docs
Fixed #20446 -- Documentation for SmallIntegerField does not clarify 'small'
2013-05-18 08:28:20 -07:00
Tim Graham
96cabba808 Fixed #20335 - Documented the {% language %} template tag.
Thanks bmispelon for the suggestion and djangsters for the patch.
2013-05-18 11:20:02 -04:00
Erik Romijn
56e2f6ccae Fixed #20446 -- Documentation for SmallIntegerField does not clarify 'small' 2013-05-18 17:16:07 +02:00
Donald Stufft
a19e9d80ff Fixed #20430 - Enable iterable of iterables for model choices
Allows for any iterable, not just lists or tuples, to be used as
the inner item for a list of choices in a model.
2013-05-18 11:14:05 -04:00
Aymeric Augustin
e73cb6391d Merge pull request #1122 from ambv/issue13285
Fixed #13285: populate_xheaders breaks caching
2013-05-18 08:05:48 -07:00
Łukasz Langa
64e11a68f1 Fixed #13285: populate_xheaders breaks caching 2013-05-18 17:03:43 +02:00
Erik Romijn
d5ce2ff5e4 Fixed #20444 -- Cookie-based sessions does not include a remote code execution-warning 2013-05-18 16:53:13 +02:00
Jacob Burch
89955cc35f Fixed #9595 -- Allow non-expiring cache timeouts.
Also, streamline the use of 0 and None between cache backends.
2013-05-18 15:39:42 +02:00
Claude Paroz
90f1170bb9 Fixed #20269 -- Adapted PostGIS template create script for CentOS/RHEL
Thanks Stephane Benchimol for the report and the initial script and
mfandreas for the patch.
2013-05-18 14:29:43 +02:00
Zbigniew Siciarz
d77082b438 Added example of using sitemaps with static views.
References #16829.
2013-05-18 14:27:29 +02:00
Erik Romijn
756b81dbd1 Fixed #13546 -- Easier handling of localize field options in ModelForm 2013-05-18 14:13:00 +02:00
Aymeric Augustin
be826aafac Fixed #20402: removed as-limit from uWSGI example.
It can fail in hard-to-diagnose ways.
2013-05-18 13:51:09 +02:00
Aymeric Augustin
7b85ef9dfb Fixed #20408 -- Clarified that values_list() doesn't return a list.
Thanks marktranchant, bmispelon, and alextreme.
2013-05-18 12:46:12 +02:00
Zbigniew Siciarz
0b0741602b Fixed #20294 -- Documented context processors in TemplateResponseMixin. 2013-05-18 12:45:40 +02:00
Aymeric Augustin
ee11d325a4 Reorganize committers list chronologically.
This completes the removal of the distinction between core devs and
specialists.

Patch by Simon Meers.
2013-05-18 10:29:01 +02:00
Donald Stufft
f54a8880d7 Finally add myself to the committers list 2013-05-17 16:01:41 -04:00
Marc Tamlyn
9666874ee1 Tidy up some of the transaction documentation. 2013-05-17 18:40:50 +02:00
Marc Tamlyn
0509462373 Fix up company link. 2013-05-17 18:25:40 +02:00
Marc Tamlyn
31d98d4ab5 Added myself to committers. 2013-05-17 17:24:17 +02:00
Florian Apolloner
10e397e263 Fixed #20426 -- Added some extra info to the auth forms.
Thanks to Joel Hansson for the suggestion and Curtis Maloney for the initial
patch.
2013-05-17 16:14:23 +02:00
Claude Paroz
b16b72d415 Fixed #5472 --Added OpenLayers-based widgets in contrib.gis
Largely inspired from django-floppyforms. Designed to not depend
on OpenLayers at code level.
2013-05-17 13:33:40 +02:00
Jacob Kaplan-Moss
d4d1145632 Removed "specialists".
The distinction's not really one we make any more, so updated the docs
accordingly.
2013-05-16 10:37:48 -07:00
Jacob Kaplan-Moss
1bc6e18b4e Updated my bio. 2013-05-16 10:36:50 -07:00
Tim Graham
289afc3156 Fixed #20421 - Typo in class-based view docs. 2013-05-16 09:56:30 -04:00
Tim Graham
b5b63079bd Fixed #19712 - Clarified admindocs regarding which attributes appear.
Thanks Daniele Procida for the report.
2013-05-16 08:09:20 -04:00