Commit Graph

7027 Commits

Author SHA1 Message Date
Tim Graham dcedc453a2 [1.7.x] Forwardported 1.6.6 release notes for refs #20292.
Backport of f294f93a17 from master
2014-07-29 09:43:29 -04:00
Tim Graham c0ddc410ec [1.7.x] Fixed #23079 -- Added data loss issues to those that will be backported to LTS.
Backport of e46801f13d from master
2014-07-29 09:27:28 -04:00
Tim Graham 5ac7fd9664 [1.7.x] Fixed #23120 -- Updated GeoDjango tutorial for migrations workflow.
Backport of b012122d30 from master
2014-07-29 09:10:27 -04:00
Baptiste Mispelon 9fb1652ac3 [1.7.x] Fixed #23123 -- Don't use a bare except in ModelAdmin documentation
Thanks to wkschwartz for the report and to Tim for the patch.

Backport of e5619330e2 from master.
2014-07-29 11:09:40 +02:00
Baptiste Mispelon 13d44f54a2 [1.7.x] Fixed #23114 -- Clarified documentation of template lookups.
Thanks to gmunumel and Tom Dalton for their help on the patch.

Backport of 62c74abbb0 from master.
2014-07-29 11:00:19 +02:00
Moayad Mardini acbe3fac7c [1.7.x] Fixed #22491 -- documented how select_for_update() should be tested.
Thanks Andreas Pelme for the report.

Backport of 668d432d0a from master
2014-07-28 10:57:49 -04:00
Gabriel Muñumel 2077bbe3fe [1.7.x] Fixed #23102 -- Documented that sql* commands now respect allow_migrate().
Backport of 0af593dbe5 from master
2014-07-28 10:06:06 -04:00
Aymeric Augustin d82cf95c52 [1.7.x] Fixed #23062 -- Documented how to create superuser.
Patch by Tim Graham. Thanks areski for the review.

Backport of 53a61d8 from master.
2014-07-27 15:49:32 +02:00
James Bennett df55a697b3 [1.7.x] Update from key ID in security.txt to authorized release keys list.
Backport of fe87f8d670 from master.
2014-07-27 13:55:40 +02:00
David Hoffman 30ccb36cb9 [1.7.x] Fixed #23106 -- Updated class-based view reference title.
Backport of f14898a453 from master
2014-07-26 20:47:06 -04:00
David Hoffman 1ef544f91f [1.7.x] Fixed #22553 -- Added refreshing queryset info to docs.
Backport of 6d5daa30cf from master
2014-07-26 10:27:46 -04:00
Niclas Olofsson ddf2b7d96b [1.7.x] Fixed #22305 -- Added note to docs about UTF8 database requirement.
Backport of 08b85de9b7 from master
2014-07-26 09:40:24 -04:00
David Hoffman 08e8e2137d [1.7.x] Fixed #23097 -- Switched to new octal format in docs
Backport of e1c85167a3 from master.
2014-07-26 11:21:16 +02:00
Andrew Godwin 2bacc9f3b7 [1.7.x] Mark initial_data as deprecated separately from syncdb. Refs #23077.
Conflicts:
	docs/internals/deprecation.txt
2014-07-25 09:11:01 -07:00
Moayad Mardini d8961a5ad0 [1.7.x] Fixed #22827 -- clarified what each cache middleware does.
Thanks Keryn Knight for the report.

Backport of f9b7a0383c from master
2014-07-25 06:26:41 -04:00
Tom Dyson 2127b6fe99 [1.7.x] Improved docs for GEOSGeometry.simplify()
Backport of aa8bc7fa7d from master
2014-07-25 06:22:36 -04:00
Aymeric Augustin 5ca82ff71b [1.7.x] Fixed #23089 -- Fixed transaction handling in two management commands.
Previously, when createcachetable and flush operated on non-default
databases, they weren't atomic.

Backport of 753a22a635 from master
2014-07-24 18:13:12 -04:00
Tim Graham 5822ca6c10 [1.7.x] Fixed #23094 -- Removed redundant argument in select_related() example.
Thanks thegeekofalltrades at gmail.com for the report.

Backport of 5f919b9c81 from master
2014-07-24 14:10:27 -04:00
Daniel Roseman b159b55997 [1.7.x] Corrected headings in migration docs.
Backport of e01fa71142 from master
2014-07-24 09:39:40 -04:00
Tim Graham 663af270b5 [1.7.x] Added backwards incompatibility note for refs #22845; refs #23082.
Thanks Kyle Owens for the report.

Backport of 8568e7cfa4 from master
2014-07-23 15:26:42 -04:00
Rikki 04030acb85 [1.7.x] Added warning in tutorial 4 that the regex capture group name has changed.
Backport of 731f313d60 from master
2014-07-22 14:00:47 -04:00
africa itcase 0e35ae37bb [1.7.x] Fixed typo in docs/ref/contrib/admin/index.txt.
Backport of 06ba4b9eee from master
2014-07-22 13:27:51 -04:00
Iain Dawson 59fec1ca9b [1.7.x] Replaced instances of 'his/her' with 'their'.
Backport of 8fbf13a6c8 from master
2014-07-21 19:54:22 +00:00
Claude Paroz 6e41ae1a4e [1.7.x] Fixed #23064 -- Added lib detection support for GDAL 1.10/1.11
Note that GDAL 1.11 is not yet officially supported, until someone
has tested it and can confirm it has no issues with Django.
Backport of 3f1412ff7b from master.
2014-07-21 19:07:48 +02:00
Dean Silfen 63ae8de8fc [1.7.x] Edited setup.py in reuseable apps tutorial to use a context manager for open().
Backport of b8d255071e from master
2014-07-16 14:26:04 -04:00
Corey Farwell 71ff5708b4 [1.7.x] Alphabetized django.utils sections.
Backport of e7827b9494 from master
2014-07-16 13:55:38 -04:00
Tim Graham a8c4e0e93b [1.7.x] Added 1.6.6 release notes for #22998 (also forwardported those for #13794).
Backport of c62c480b2b from master
2014-07-16 13:35:41 -04:00
Bartek Ciszkowski 30a4cad2bf [1.7.x] Fixed reference to pk in RedirectView.get_redirect_url doc.
Backport of d9f78d5344 from master
2014-07-16 13:23:48 -04:00
Tim Graham 8e34bcdfba [1.7.x] Fixed #23023 -- Added warning against local-memory cache.
Thanks django at kerz.id.au.

Backport of 7d0519c725 from master
2014-07-16 12:35:01 -04:00
Tim Graham dcb1b971c2 [1.7.x] Fixed #23015 -- Fixed major/minor release terminology in docs.
Backport of dd6ef3197a from master
2014-07-14 06:18:42 -04:00
Aymeric Augustin dda6759e0e [1.7.x] Checked more precisely whether the app registry is ready.
Accounted for the three stages of population: app configs, models,
ready() methods of app configs.

Backport of a764a9cc from master
2014-07-12 18:50:23 +02:00
Andrew Godwin 3e13c1d9b1 [1.7.x] Add south upgrade note to 1.7 release notes 2014-07-10 10:01:12 -07:00
Tim Graham dc7ac339a6 [1.7.x] Fixed typo in docs/ref/contrib/gis/geos.txt.
Backport of fef26e9a87 from master
2014-07-10 06:09:42 -04:00
Jorge C. Leitão bddea532f7 [1.7.x] Fixed #22809 -- Added model Field API reference.
Thanks to @timgraham for the review.

Backport of e1fa7dffdc from master
2014-07-10 06:05:05 -04:00
Tim Graham a3d710a38f [1.7.x] Revert "Improve cookie based session backend docs." refs #20418
This reverts commit d9c01da1f8.

This is poor advice as it breaks the test client login (refs #22934).
We can add a note like this back after refs #22986 is resolved.

Backport of 3a85aae2ea from master
2014-07-09 14:12:32 -04:00
Tim Graham 9673013abe [1.7.x] Fixed #22351 -- Removed usage of lambdas in model field options.
Thanks claudep for review.

Backport of 5ebf03b7dd from master
2014-07-09 07:32:44 -04:00
Jorge C. Leitão e548328851 [1.7.x] Fixed #22812 -- Refactored lookup API documentation.
Thanks Anssi and Tim for reviews.

Backport of 8780849da0 from master
2014-07-08 20:13:24 -04:00
Andrew Godwin 4368457a27 [1.7.x] Document -l as well as --list on migrate 2014-07-08 10:30:37 -07:00
Tim Graham 9918b76447 [1.7.x] Fixed #22978 -- Removed a USA-centric example that didn't add much.
Backport of 9f18b6bcb0 from master
2014-07-08 08:57:41 -04:00
Tim Graham c379fc4eec [1.7.x] Fixed #22942 -- Noted that __init__.py files are required for management command detection.
Thanks Diego Cerdán for the suggestion.

Backport of 54546cee88 from master
2014-07-07 18:09:15 -04:00
Collin Anderson 5acb0a9139 [1.7.x] Fixed a few PEP8 errors in settings doc.
Backport of 2c1384fbac from master
2014-07-07 15:33:03 -04:00
Tim Graham cf9e33f930 [1.7.x] Fixed #22966 -- Clarified which release notes appear for each doc version.
Thanks haimunt at yahoo.com for the suggestion.

Backport of e6b3d6c22f from master
2014-07-07 15:32:39 -04:00
Andrew Godwin 8fbd9b0b1c [1.7.x] Document --fake and --list on migrate command 2014-07-06 00:30:35 -07:00
Daniel Hahler ef392387c2 [1.7.x] Fixed various minor doc typos / references.
Backport of 67f9f385aa from master
2014-07-05 20:26:56 -04:00
Simon Charette 2f0cc4f5fb [1.7.x] Fixed #22943 -- Correctly serialize compiled regexes.
Thanks to antialiasis at gmail dot com for the patch.
2014-07-05 16:38:34 -07:00
Loic Bistuer b68c7a5abb [1.7.x] Fixed #22915 -- Document backward incompatible changes in the ValidationError constructor.
This patch also fixes update_error_dict to better handle the use case described
in this ticket, previously the type of the provided container could be lost in
some conditions.

Thanks Russell Keith-Magee for the report and Tim Graham for review.

Backport of eb7df6b8d7 from master
2014-07-04 17:19:12 +07:00
Tim Graham f99267e5e6 [1.7.x] Fixed #22924 -- Added a note about MEDIA_URL in templates.
Thanks raphael.herouart at gmail.com

Backport of 814bcc3395 from master
2014-07-03 09:38:52 -04:00
Tim Graham 0b2a36ecf7 [1.7.x] Fixed #18108 -- Added instructions for translating documentation.
Thanks Claude Paroz.

Backport of 1a3bec4a26 from master
2014-07-02 13:22:14 -04:00
Tim Graham a56773245b [1.7.x] Clarified that LocMemCache is per-process; refs #7639.
Thanks projectgus for the suggestion.

Backport of c37000ab04 from master
2014-07-02 10:14:11 -04:00
Éric Araujo e88723acf8 [1.7.x] Removed non-existent reference to args/kwargs in manager docs.
Backport of 5842d8eba4 from master
2014-07-02 07:54:59 -04:00
Andrew Godwin bbba492fbb [1.7.x] Fixed #22932: Documented circular dependency issues with swappable user 2014-07-01 20:55:27 -07:00
Tim Graham accdc448bc [1.7.x] Fixed #13755 -- Added a tip for caching responses that vary on AJAX.
Thanks mila for the suggestion.

Backport of db9a1a0c47 from master
2014-07-01 17:34:13 -04:00
Claude Paroz 2b8f22a578 [1.7.x] Included irc link in paragraph to allow for l10n
Translators may want to change the irc link pointing to a
language-specific channel.
Backport of 232f2028d5 from master.
2014-07-01 21:56:28 +02:00
Tim Graham 8c7d2edd45 [1.7.x] Fixed #22482 -- Recommended using data migrations in contrib.sites docs.
Thanks scibi for the report.

Backport of bbf0a9545b from master
2014-06-30 18:49:07 -04:00
Tim Graham c45fcd278b [1.7.x] Fixed #19489 -- Documented host parameter of assertRedirects().
Thanks mrknacky at gmail.com for the report and gajimenezmaggiora
for the draft patch.

Backport of e3c7af18a3 from master
2014-06-30 17:52:23 -04:00
Tim Graham af9949f4ef [1.7.x] Fixed #21942 -- Moved Form.clean() to form API docs.
Thanks cjerdonek for the suggestion.

Backport of 874053edf9 from master
2014-06-30 16:32:03 -04:00
Claude Paroz 9260956084 [1.7.x] Removed reference to old middleware
Backport of 0b5bafe993 from master
2014-06-30 15:23:52 -04:00
Tim Graham 24ba5f7fb2 [1.7.x] Fixed docs/ref/contrib/auth.txt so that sphinx links work properly.
Backport of 5359188b08 from master
2014-06-30 14:32:50 -04:00
Tim Graham 8e48ca47e9 [1.7.x] Fixed #22912 -- Warned about a common mistake in tutorial 5.
Backport of 1e8411259f from master
2014-06-27 09:51:55 -04:00
Matt Deacalion Stevens 31c56f1ee0 [1.7.x] Fixed and enhanced new HTML form docs.
Backport of ec85df2fa5 from master
2014-06-26 13:59:04 -04:00
Éric Araujo 2ed41449bf [1.7.x] Fixed copy/paste typos in StreamingHttpResponse doc.
Backport of e9c730f6be from master
2014-06-26 07:31:57 -04:00
Gert Van Gool 82f6500275 [1.7.x] Fixed typo in parameter name doc for BaseCommand.check().
Backport of a8c5630c98 from master
2014-06-26 07:24:32 -04:00
Ramiro Morales 54a6ab2077 [1.7.x] Fixed typo in revamped forms intro doc.
Backport of 77c0a904cb from master
2014-06-25 12:32:14 -04:00
Duncan Parkes e8e16abe6a [1.7.x] Improved documentation for QueryDict.
Backport of 7f4e2ef1e9 from master
2014-06-24 21:42:18 -04:00
Peter Kowalczyk ea64ef7ed7 [1.7.x] Fixed typo in middleware docs.
Function definition should have an ending colon.

Backport of 48241ec9c4 from master
2014-06-24 16:09:04 -04:00
Daniele Procida 60375eda32 [1.7.x] Fixed #22796 -- Added a more basic explanations of forms.
Thanks bmispelon, kezabelle, jorgecarleitao, and timgraham for reviews.

Backport of cd20b5d186 from master
2014-06-24 14:58:53 -04:00
Claude Paroz 198ce3073c [1.7.x] Fixed #22880 -- Added FAQ entry about UnicodeDecodeError
Thanks Víðir Valberg Guðmundsson for the report and
Tim Graham for the review.
Backport of 460ec09d2e from master.
2014-06-24 09:03:06 +02:00
Tim Graham d38e3bfe5a [1.7.x] Fixed #22888 -- Removed some unnecessary text in tutorial 3.
Backport of 1bbffe7867 from master
2014-06-23 09:11:10 -04:00
Claude Paroz f50a17785c [1.7.x] Fixed #8033 -- Explained app registry error during translation setup
Thanks Tim Graham and Aymeric Augustin for the review.
Backport of 9618d68b34 from master.
2014-06-23 09:37:38 +02:00
Tim Graham d107c7bd7d [1.7.x] Added refs #22514 to 1.6.6 release notes.
Backport of 1892ced10a from master
2014-06-20 18:47:54 -04:00
Huu Nguyen d9a83d597e [1.7.x] Fixed #22862 -- Added --noinput option to makemigrations.
Thanks artortenburger for the report.

Backport of fbb684d95e from master
2014-06-20 09:10:43 -04:00
Maxime Turcotte 0b871ec22a [1.7.x] Fixed #22836 -- Linked tutorial05 to the right section of tutorial04.
Backport of 608aa8d101 from master
2014-06-20 08:16:53 -04:00
Andrew Godwin 44b00af9bc [1.7.x] Fixed #22874: Document that AUTH_USER_MODEL must be in first migration 2014-06-19 23:48:57 -07:00
Andrew Godwin bfe5f72c7e [1.7.x] Fixed #22863: Improve clarity of makemigrations for non-db params 2014-06-19 23:42:27 -07:00
Tim Graham 427f218a5e [1.7.x] Fixed #22859 -- Improved crossDomain technique in CSRF example.
Thanks flisky for the report.

Backport of 0be4d64487 from master
2014-06-18 14:37:19 -04:00
Jorge C. Leitão 807aadaaad [1.7.x] Fixed #14481 -- Documented implicit "through" class created by ManyToManyField.
Thanks to jonathanmorgan for the report and initial patch.

Backport of de90129070 from master
2014-06-18 12:38:49 -04:00
Andrew Godwin f355d253f8 [1.7.x] Fixed #22853: Swapped models are now ignored for migration operations. 2014-06-17 17:46:52 -07:00
Tim Graham aa10f57d94 [1.7.x] Fixed #22819 -- Renamed output_type -> output_field in query expression API.
Thanks jorgecarleitao for the suggestion.

Backport of 95cc0e15b4 from master
2014-06-17 12:06:12 -04:00
vagrant 44a50603d4 [1.7.x] Fixed #22842
Backport of 7a1f8414c3 from master.
2014-06-16 08:45:58 +02:00
Andrew Godwin e5cde2062c [1.7.x] Fixed #22470: Full migration support for order_with_respect_to 2014-06-15 14:57:00 -07:00
Andrew Godwin a067c61b94 [1.7.x] Fixed #22660: Doc'd you can't have unmigrated apps depend on migrated 2014-06-15 11:47:57 -07:00
Claude Paroz ec2f041736 [1.7.x] Complemented dwithin docs about using geographic geometries
Refs #22830. Thanks django@gfairchild.com for the suggestion.
Backport of c281831a5c from master.
2014-06-14 20:54:48 +02:00
mlavin d94de802d3 [1.7.x] Fixed #22477 -- Removed contrib middleware from the global settings defaults.
Also added a compatibility check for changed middleware defaults.
2014-06-13 12:40:42 -04:00
Moayad Mardini d3bf537324 [1.7.x] Fixed #22349 -- Added a note clarifying `RawQuerySet` has no `__len__`.
Thanks cdestigter for the report.

Backport of 2d425116e2 from master
2014-06-12 16:42:39 -04:00
Tim Graham e51662e7bc [1.7.x] Fixed #22811 -- Allowed setting both the old and new TEST database settings.
An ImproperlyConfigured exception will be raised they mismatch.

Backport of 1c58cabad7 and a2cd0e12c9 from master
2014-06-12 13:28:16 -04:00
Tim Graham 910b37e356 [1.7.x] Fixed #22818 -- Clarified you need to cd into the Django clone.
Thanks Josh Parris.

Backport of bcc3d2b978 from master
2014-06-12 10:53:29 -04:00
Claude Paroz 1c0e6e9d9f [1.7.x] Fixed #22813 -- Updated Pillow URL in documentation
Backport of dfa3505ff1 from master.
2014-06-12 08:56:29 +02:00
Maxime Lorant c6725d69a2 [1.7.x] Fixed typo in docs/ref/forms/validation.txt.
Backport of c307383ec9 from master
2014-06-11 17:18:03 -04:00
Greg Chapple 8c20f4af12 [1.7.x] Added link to data migrations in initial data deprecation note
Backport of 4123f55c33 from master
2014-06-11 15:43:53 -04:00
Florian Apolloner 1ff11304dc [1.7.x] Fixed #22680 -- I/O operation on closed file.
This patch is two-fold; first it ensure that Django does close everything in
request.FILES at the end of the request and secondly the storage system should
no longer close any files during save, it's up to the caller to handle that --
or let Django close the files at the end of the request.

Backport of e2efc8965e from master.
2014-06-11 09:03:11 +02:00
Maxime Turcotte de0e285be8 [1.7.x] Fixed #22801 -- Added 'www.' to diveintopython.net links
Backport of f97c53c098 from master
2014-06-10 15:39:05 -04:00
Tim Graham 0767055dfc [1.7.x] Fixed #22770 -- Removed create_superuser from post_migrate signals.
Moved logic to syncdb command for backwards compatibility.

Backport of 93d05536fd from master
2014-06-10 15:00:12 -04:00
Tim Graham e108da65fe [1.7.x] Corrected some indentation in docs/topics/auth/default.txt.
Backport of 34f4fd7024 from master
2014-06-10 09:19:38 -04:00
Tim Graham 417da8a782 [1.7.x] Doc edits for refs #22487.
Backport of c17cd151d8 from master
2014-06-09 12:16:04 -04:00
Tim Graham a11ed8dcfd [1.7.x] Added missing deprecation note for fastcgi in 1.7 release notes; refs #20766.
Backport of 67ce2e74e1 from master
2014-06-09 10:32:09 -04:00
Andrew Godwin 08218252d8 [1.7.x] Fixed #22487: Optional rollback emulation for migrated apps
Conflicts:
	django/db/backends/creation.py
	django/test/runner.py
	docs/ref/settings.txt
	docs/topics/testing/advanced.txt
2014-06-08 19:33:52 -07:00
Andrew Godwin 98949e3b10 [1.7.x] Fixed #22436: More careful checking on method ref'ce serialization 2014-06-07 17:06:06 -07:00
Tim Graham a517e9ac85 [1.7.x] Removed duplicate "Deprecated in Django A.B" text in docs.
sphinx 1.2+ adds this text itself.

Backport of 7f4347b176 from master
2014-06-07 07:25:02 -04:00
Tim Graham c8c1883962 [1.7.x] Added formatting and line wrapping to checks reference doc.
Backport of 5472bf4df0 from master
2014-06-06 15:25:58 -04:00
Éric Araujo 4ad299f287 [1.7.x] Fix missing highlighting in some code examples
Backport of 84cafc2b35 from master
2014-06-05 15:14:14 -04:00
Guillaume Pannatier 52b7e772e4 [1.7.x] Fixed #22710 -- Amended aggregation note for empty QuerySets
Thanks smeaton for report and Joël Rochat for spell check

Backport of 7f27cca5c5 from master
2014-06-04 12:45:24 -04:00
Tim Graham 868b5e5e95 [1.7.x] Fixed #22747 -- Add backwards compatibility tip for new behavior of formset.save(commit=False).
Thanks django at patjack.co.uk.

Backport of 2f7a7842ba from master
2014-06-04 12:42:23 -04:00
INADA Naoki c8382f4c65 [1.7.x] Updated current state of MySQL Connector/Python.
Backport of 7be646425f from master
2014-06-03 08:10:44 -04:00
Bryce Nesbitt cb3266c1b0 [1.7.x] Fixed #22753 -- Documented ability to use a note with the {% comment %} tag.
Backport of e020894470 from master
2014-06-02 18:52:55 -04:00
Tim Graham 170255caf4 [1.7.x] Fixed #22748 -- Corrected post_migrate usage example.
Thanks Rudolph for the report.

Backport of a00efa30d6 from master
2014-06-02 11:39:23 -04:00
Craig de Stigter 724e600872 [1.7.x] Fixed #22690 -- Added a check for proxy models containing fields.
Removed the FieldError raised by ModelBase.__new__ in this case.

Backport of ce993efda8 from master
2014-06-02 09:34:31 -04:00
Jonathan Lindén a83c56a45a [1.7.x] Fixed #21938 -- Moved documentation for error views to reference guide.
Backport of 5b98ba08e2 from master
2014-06-01 13:07:19 -04:00
Simon Charette c95a3fadb7 [1.7.x] Fixed #22299 -- Cleanup wizard temp files when possible.
Thanks to @erikr for the review.

Backport of fa8b473528 from master.
2014-05-30 22:25:17 +02:00
Guillaume Pannatier b266392b63 [1.7.x] Fixed #22710 -- Documented aggregation behavior for empty QuerySets.
Thanks matklad for the report.

Backport of 7c6e96ec1f from master
2014-05-30 08:05:43 -04:00
Tim Graham 35bdf87034 [1.7.x] Improved deprecation plan links in release notes.
Backport of 7ff326928a from master
2014-05-29 18:58:55 -04:00
Moayad Mardini e4eae5df0e [1.7.x] Fixed #22682 -- `makemigrations` will create `MIGRATION_MODULES` package
`makemigrations` will automatically create the package specified
in `MIGRATION_MODULES` if it doesn't already exist.

Thanks ovidiuc4 for the report.
2014-05-29 15:39:02 -07:00
Alex Gaynor 3d98941d5c [1.7.x] Fixed several typos in Django
Backport of 1dcc603eff from master
2014-05-29 07:53:02 -04:00
Moayad Mardini 5d7ad16a1b [1.7.x] Fixed #22601 -- Added a note about model inheritance.
Thanks semenov for the report.

Backport of 2ea1e70b85 from master
2014-05-27 20:11:51 -04:00
Tim Graham 0204893a18 [1.7.x] Added a word to the docs wordlist. 2014-05-27 19:48:50 -04:00
Moayad Mardini c0a56001e0 [1.7.x] Fixed #22675 -- makemigrations --dry-run to output migrations to stdout.
`makemigrations --dry-run` will output the complete migrations file
that would be written if it's used along with `--verbosity 3`.

Backport of 2e613ea5c5 from master
2014-05-26 20:03:41 -04:00
Moayad Mardini 4d4ea65418 [1.7.x] Fixed #22692 -- Added docs for `makemigrations` two command options.
Added documentation about `--dry-run` and `--merge`.

Backport of e98d303562 from master
2014-05-25 19:37:11 -04:00
Matthew Schinckel 22d33d52cb [1.7.x] Fixed typo in docs/ref/models/custom-lookups.txt.
Backport of 2b432d4634 from master
2014-05-25 19:03:28 -04:00
Claude Paroz dbdbda87fc [1.7.x] Fixed #22688 -- Documented ready() may be called more than once
Backport of b8fc167b32 from master.
2014-05-24 15:59:28 +02:00
Marc Tamlyn be733bf672 [1.7.x] Fixed #22510 -- Harden field removal to only None.
Refs #8620.

If we allow any value to remove form fields then we get name clashes
with method names, media classes etc. There was a backwards
incompatibility introduced meaning ModelForm subclasses with declared
fields called media or clean would lose those fields.

Field removal is now only permitted by using the sentinel value None.
The docs have been slightly reworded to refer to removal of fields
rather than shadowing.

Thanks to gcbirzan for the report and initial patch, and several of the
core team for opinions.

Backport of 9fb0f5dddc from master
2014-05-24 13:11:50 +01:00
Claude Paroz 1f6b3cf145 [1.7.x] Fixed #20816 -- Added hints about Django middleware ordering
Thanks gthb Trac user for the report, kolypto StackOverflow
user for the initial list and Tim Graham for the review.
Backport of 756c390fb5 from master.
2014-05-22 18:34:00 +02:00
Claude Paroz 485163f72c [1.7.x] Used link label in models FAQ to ease translation
Backport of d9d924250 from master.
2014-05-22 09:48:04 +02:00
Niclas Åhdén aa9a146a69 [1.7.x] Fixed #22639 -- Added missing imports in docs
Added ModelForm and NON_FIELD_ERRORS imports.

Backport of 64ee097b3b from master
2014-05-21 11:20:38 -04:00
Moayad Mardini 269291019e [1.7.x] Fixed #22655 -- Fixed GeoQuerySet doc about strictly_below
The paragraph was a copy of strictly_above.

Backport of 2f43229c2f from master
2014-05-19 09:50:46 -04:00
Moayad Mardini 4dd37a3a6e [1.7.x] Fixed #22368 -- clarified connecting to Oracle DB using service name
Used the official terminology listed in
http://docs.oracle.com/cd/B19306_01/network.102/b14212/glossary.htm#i997309

Thanks michael.cherkasov for the report.

Backport of bfac6bef83 from master
2014-05-19 07:46:27 -04:00
Erik Romijn bc2bfbadcc [1.7.x] Fixed #22644 -- Clarified documentation for NamedUrlWizardView
Backport of 727d048f09 from master.
2014-05-17 15:11:00 +02:00
Tim Graham 0594d2d714 [1.7.x] Added stub release notes for 1.6.6.
Backport of 79e9da3d1e from master
2014-05-16 18:20:45 -04:00
Claude Paroz 8c5fbcf50a [1.7.x] Fixed case in form widgets docs
Backport of 9494f29d from master
2014-05-16 17:44:20 -04:00
Moritz bd45139d4e [1.7.x] Fixed #22167 -- Improved documentation on context processors
Backport of e7ffba8f78 from master.
2014-05-16 18:27:55 +02:00
Niclas Åhdén 0504d19db0 [1.7.x] Fixed #22622 -- Added ugettext_lazy import in docs
Backport of 7271f5db78 from master
2014-05-16 11:20:58 -04:00
Claude Paroz e8a7436941 [1.7.x] Harmonized some PEP 0263 coding preambles
Backport of e520a73ee from master.
2014-05-15 20:01:31 +02:00
Tim Graham c5185172a6 [1.7.x] Minor edits to latest release notes.
Backport of 860d31ac7a from master
2014-05-15 07:16:57 -04:00
Anders Steinlein 2914f66983 [1.7.x] Fixed #17642 -- Added min_num support to modelformsets, inlines, and the admin.
Thanks Stephen Burrows for work on the patch as well.
2014-05-15 07:02:06 -04:00
Éric Araujo d1860a3529 [1.7.x] Fixed typo that disabled code example highlighting
Backport of 5ab95168cc from master
2014-05-15 05:52:30 -04:00
Jacob Kaplan-Moss 77f0327d80 Added release notes for 1.4.13, 1.5.8, 1.6.5. 2014-05-14 18:42:38 +02:00
Tim Graham 50f228ae7c [1.7.x] Removed an unnecessary anchor in the docs.
Backport of a06808d370 from master
2014-05-13 20:55:00 -04:00
Tim Graham fb9edfa3e6 [1.7.x] Fixed spelling mistake and added a word to the word list.
Backport of 1165e9992e from master
2014-05-13 09:17:32 -04:00
Haris Ibrahim K. V 81aeffccf3 [1.7.x] Fixed typo in transactions.txt
Backport of f2a8e47cfd from master
2014-05-13 07:28:43 -04:00
Tim Graham 0bb90de869 [1.7.x] Fixed #22618 -- Improved import_string example.
Thanks ewjoachim for the sugggestion.

Backport of c501662f3c from master
2014-05-13 07:05:35 -04:00
Tim Graham aa3fd4b97e [1.7.x] Fixed #22619 -- Corrected description of os.path.
Thanks Collin Anderson for the report.

Backport of a1be7237ca from master
2014-05-12 18:58:11 -04:00
Tim Graham e1f0efc501 [1.7.x] Added 1.6.5 release note for refs #22508.
Backport of 13087020a9 from master
2014-05-12 12:44:40 -04:00
Tim Graham 2455699a91 [1.7.x] Fixed #22613 -- Added formfield_for_choice_field() to the list of methods that InlineModelAdmin supports.
Backport of 986bd41f8a from master
2014-05-12 07:01:19 -04:00
Markus Amalthea Magnuson ff938b3623 [1.7.x] Insert space.
Backport of 8eb51a8cf6 from master
2014-05-11 16:18:01 -04:00
Ramiro Morales 537f5905c9 [1.7.x] Link new testing tools document from main index.
63df886df7 from master.
2014-05-10 23:29:42 -03:00
Ramiro Morales 8cf6c5c789 [1.7.x] Fixed a few release notes typos.
38036e16c8 from master.
2014-05-10 23:19:49 -03:00
Andrew Godwin 7f63ac5a9f [1.7.x] Fixed #22496: Data migrations get transactions again! 2014-05-07 14:29:04 -07:00
Tim Graham af06203cea [1.7.x] Updated some docs for the delayed deprecation of legacy table creation; refs #22340.
Backport of a2e3c96948 from master
2014-05-07 09:04:21 -04:00
Tim Graham ab2865a48e [1.7.x] Fixed some markup problems in docs/releases/security.txt. 2014-05-07 08:19:17 -04:00
Tim Graham 10327be1f3 [1.7.x] Bump DatabaseCreation deprecation to 2.0 (refs #22340)
Backport of 61da5f3f02 from master
2014-05-07 08:16:01 -04:00
Andrew Godwin 1ed876ee5b [1.7.x] Improve docs around deconstruction/serialisation (refs #22337) 2014-05-06 23:07:10 -07:00
Claude Paroz 79e4a189f3 [1.7.x] Updated the messages context processor docs
Refs #20610.
Backport of 7951f125e frmo master.
2014-05-06 20:39:13 +02:00
Tom 2dd52d0433 [1.7.x] Reordered tutorial 1 so that the database is configured first.
This change is required after the introduction of
SessionAuthenticationMiddleware to the default middleware

Backport of 6923fdbbf1 from master
2014-05-05 13:42:36 -04:00
Tim Graham 2a2d7db01f [1.7.x] Fixed #1349 -- Clarified docs on serving files from STATIC/MEDIA_URL.
Backport of fb7c347f7b from master
2014-05-05 07:39:03 -04:00
Tim Graham 6a6f294f51 [1.7.x] Fixed #22575 -- Fixed typo in docs/topics/class-based-views/generic-editing.txt.
Thanks adminq80 at gmail.com.

Backport of 87776859af from master
2014-05-05 06:42:21 -04:00
Anssi Kääriäinen 402fc4f6c9 [1.7.x] Fixed #22429 -- Incorrect SQL when using ~Q and F
Backport of 5e1f4656b9 from master
2014-05-05 13:06:51 +03:00
Andrew Godwin 87d873ab47 [1.7.x] Fix docs error with deconstruct() docs 2014-05-03 16:18:56 -07:00
Claude Paroz 61fd00d4fd [1.7.x] Fixed #22565 -- Prevented pgettext_lazy crash with bytestring input
Thanks ygbo for the report.
Backport of 142c27218 from master.
2014-05-02 19:33:58 +02:00
Brenda J. Butler 35b7dd4ddb [1.7.x] Fixed #22558 -- Added missing word in contributing docs
Backport of c8d257e81 from master.
2014-05-02 08:29:20 +02:00
Claude Paroz d5a9d74eec [1.7.x] Fixed #22551 -- Made oracle backend method Python 3 compatible
Thanks fatal10110 at gmail.com for the report. The fix is 1.6-only
because that code has been refactored in 1.7 (6983201cfb).
'Docs-only' forward port of 120a98120 from 1.6.x.
2014-05-01 18:17:55 +02:00
Tim Graham 3cd1db9121 [1.7.x] Fixed #22547 -- Added some links to tutorial 2.
Thanks bjb at sourcer.ca for the suggestion.

Backport of b0d032f9fc from master
2014-04-30 18:25:32 -04:00
Moayad Mardini c0d5521e69 [1.7.x] Fixed #22546 -- Removed idioms in tutorial 2.
Thanks bjb at sourcerer.ca for the suggestion.

Backport of 927245ccd8 from master
2014-04-30 18:02:00 -04:00
Simon Charette a6ecd5dbb3 [1.7.x] Fixed #19195 -- Allow explicit ordering by a relation `_id` field.
Thanks to chrisedgemon for the report and shaib, akaariai and
timgraham for the review.

Backport of 24ec9538b7 from master
2014-04-30 14:26:39 -04:00
Mike Fogel bb5c7e4e8d [1.7.x] Fixed #22537 -- Add tests and improved docs for field subclass with choices.
Backport of 7fd1b35ed7 from master
2014-04-30 07:57:35 -04:00
Tim Graham 6d4df45e29 [1.7.x] Fixed #22442 -- Provided additional documentation regarding id fields clashing.
Thanks benjaoming for raising the issue and Loic for the examples.

Backport of 8ec388a69d from master
2014-04-30 07:38:31 -04:00
Aymeric Augustin 95c5e244fe [1.7.x] Fixed #22523 -- Clarified pytz requirement.
Thanks z for the report and timo for the proposal.

Backport of 0fb7570 from master
2014-04-29 08:34:00 +02:00
Tim Graham 997648d80b [1.7.x] Added stub release notes for 1.6.5.
Backport of 650065f0ef from master
2014-04-28 20:38:29 -04:00
Tim Graham a72069f5d2 [1.7.x] Added dates to release notes of today's release.
Backport of 68d264059a from master
2014-04-28 19:07:03 -04:00
Tim Graham 1d20693fa6 [1.7.x] Revert "Fixed #15179 -- middlewares not applied for test client login()"
This reverts commit 4fdd51b732.

See the ticket for concerns with this implementation; it will be revisited.

Backport of aabceadd7d from master
2014-04-28 18:49:24 -04:00
Tim Graham 305ab00087 [1.7.x] Fixed #22254 -- Noted the requirement of calling django.setup() when running
Thanks Peter Landry for the report.

Backport of 26b03f2526 from master
2014-04-28 12:43:50 -04:00
Zhaorong Ma c73d8c41e4 [1.7.x] Fix a typo in logging.txt
Backport of dd3f3e4e89 from master
2014-04-28 11:21:57 -04:00
Tim Graham 63ae243a13 [1.7.x] Fixed #22497 -- Highlighted difference between field and class deconstruction.
Thanks nliberg for the suggestion.

Backport of b829d53b37 from master
2014-04-28 08:20:26 -04:00
Tim Graham 23f3c53aff [1.7.x] Fixed #22445 -- Added how to perform a reverse data migration to topic guide.
Thanks Karen Tracey for the report.

Backport of 1ce759b69f from master
2014-04-27 15:21:07 -04:00
Tim Graham b89bbb3c21 [1.7.x] Improved formatting and links of migration docs.
Backport of ab8d8e00c9 from master
2014-04-27 15:06:08 -04:00
Tim Graham 529ae6087c [1.7.x] Fixed #22526 -- Added note about check() method to 1.7 release notes.
Thanks kevin-brown for the report.

Backport of 8905fcbda6 from master
2014-04-27 14:20:51 -04:00
Aymeric Augustin a5cc99de24 [1.7.x] Documented django.setup().
Thanks Eric Holscher and Tim Graham for the review.

Backport of 58ed387 from master
2014-04-26 22:11:04 +02:00
Aymeric Augustin 3bb0f118ca [1.7.x] Fixed #3214 -- Stopped parsing SQL with regex.
Avoided introducing a new regex-based SQL splitter in the migrations
framework, before we're bound by backwards compatibility.

Adapted this change to the legacy "initial SQL data" feature, even
though it's already deprecated, in order to facilitate the transition
to migrations.

sqlparse becomes mandatory for RunSQL on some databases (all but
PostgreSQL). There's no API to provide a single statement and tell
Django not to attempt splitting. Since we have a more robust splitting
implementation, that seems like a good tradeoff. It's easier to add a
new keyword argument later if necessary than to remove one.

Many people contributed to both tickets, thank you all, and especially
Claude for the review.

Refs #22401.

Backport of 8b5b199 from master
2014-04-26 17:46:57 +02:00
Claude Paroz 22d99200a1 [1.7.x] Specified 'csv and unicode' note as Python 2 only
Backport of 2128b3a6 from master.
2014-04-26 16:10:00 +02:00
Claude Paroz e441cebce3 [1.7.x] Updated doc links to point to Python 3 documentation
Backport of 680a0f08b from master.
2014-04-26 16:03:40 +02:00
Claude Paroz abd68b5aff [1.7.x] Fixed #22507 -- Clarified nature of the sender argument of signals
Backport of d1f93e9c1e from master.
2014-04-25 23:16:24 +02:00
Aymeric Augustin 788fce4c91 [1.7.x] Fixed a confusing heading in applications docs.
Refs #22422.

Backport of 0315f01 from master
2014-04-25 17:40:33 +02:00
Tim Graham c050ce7de2 [1.7.x] Fixed #22504 -- Corrected domain terminology in security guide.
Thanks chris at chrullrich.net.

Backport of f65eb15ac6 from master
2014-04-25 10:29:18 -04:00
Víðir Valberg Guðmundsson bde1bc6672 [1.7.x] Fixed #22422 -- Moved information about the application loading process to refs/applications.txt.
Backport of deb561bbe2 from master
2014-04-25 10:12:55 -04:00
Moayad Mardini ae15356061 [1.7.x] Fixed #22493 - Added warnings to raw() and extra() docs about SQL injection
Thanks Erik Romijn for the suggestion.

Backport of 3776926cfe from master
2014-04-25 09:56:04 -04:00
Malcolm Box 658710be00 [1.7.x] Fixed #22516 -- Added versionchanged annotation for STATIC_ROOT default value. 2014-04-25 09:36:18 -04:00
Tim Graham 6d87acc390 [1.7.x] Fixed #22515 -- Fixed the object_id of the LogEntry that's created after a user password change in the admin.
Thanks ross at servercode.co.uk for the report.

Backport of 9e7f86b890 from master
2014-04-25 08:36:20 -04:00
Claude Paroz 1a3cde5f9f [1.7.x] Renamed Transifex project from django-core to django
See also http://blog.transifex.com/post/83622601443/new-teams-management-transifex
Backport of 7c24027ba from master.
2014-04-24 11:51:53 +02:00
Tim Graham e192f13103 [1.7.x] Fixed #22486 -- Restored the ability to reverse views created using functools.partial.
Regression in 8b93b31487.

Thanks rcoup for the report.

Backport of 3c06b2f2a3 from master
2014-04-23 08:49:53 -04:00
Marti Raudsepp ba1728dd9b [1.7.x] Various documentation typo/spelling fixes
Errors detected by Topy (https://github.com/intgr/topy), all changes
verified by hand.

Backport of 11d453bcad from master
2014-04-22 20:10:58 -04:00
Ray Ashman 4499c676ef [1.7.x] Updated grammar in description of django.contrib.auth.
Backport of 9853779805 from master
2014-04-22 18:29:03 -04:00
Tim Graham 55da4e818d [1.7.x] Added 1.6.4 release note stub.
Backport of 9fb95dfc9f from master
2014-04-22 11:47:52 -04:00
James Bennett df81625da6 [1.7.x] Update for 1.7b2 security release. 2014-04-21 18:21:55 -05:00
Erik Romijn 5577fd673e [1.7.x] Added information on resolved security issues to release notes.
Backport of c07f3e60c2 from master
2014-04-21 18:29:42 -04:00
Erik Romijn 34526c2f56 [1.7.x] Fixed queries that may return unexpected results on MySQL due to typecasting.
This is a security fix. Disclosure will follow shortly.

Backport of 75c0d4ea3a from master
2014-04-21 18:29:39 -04:00
Matt Lauber 0bd913a19c [1.7.x] Corrected the section identifier for MySQL unicode reference.
Backport of b2514c02e1 from master
2014-04-21 13:20:46 -04:00
Tim Graham 0086c9eb48 [1.7.x] Fixed #22417 -- Added additional documentation for refs #16969.
Thanks Jon Foster for the report.

Backport of 1b3a3fc1e4 from master
2014-04-19 21:41:28 -04:00
Tim Graham b06e45bbf6 [1.7.x] Moved RemoteUserBackend documentation to reference guide.
Backport of 26d118c3fe from master
2014-04-18 16:11:04 -04:00
Moayad Mardini b1e7dd445b [1.7.x] Fixed #22458 -- Added a note about MySQL utf8_unicode_ci collation
Thanks tobami at gmail.com for the report.

Backport of 11ac50b18e from master
2014-04-18 15:11:10 -04:00
Tim Graham 1816baf4f7 [1.7.x] Fixed #22472 -- Clarified meaning of dots in tutorial 4 code block.
Backport of 6b2ce38c49 from master
2014-04-18 15:03:57 -04:00
Tim Graham a9ad081899 [1.7.x] Fixed #22473 -- Emphasized that Model.clean() is not called from Model.save().
Backport of b43bbd6d39 from master
2014-04-18 15:03:27 -04:00
Tim Graham 3a4a5a5c99 [1.7.x] Added some missing items to the 1.6.3 release notes.
Backport of c2b269df6e from master
2014-04-18 10:32:49 -04:00
Erik Romijn 1dc4a8daec [1.7.x] Fixed #22471 -- Corrected misprint in i18n docs
Backport of 54d5c37de6 from master.
2014-04-18 15:09:58 +02:00
Tim Graham 22cbaea9c7 [1.7.x] Fixed #22444 -- Marked initial SQL/fixture loading as deprecated.
Thanks Karen Tracey for the report.

Backport of a4acb80463 from master
2014-04-17 20:37:25 -04:00
Claude Paroz edaff9b0df [1.7.x] Confirmed support for PostGIS 2.1 and GDAL 1.10
Refs #22456.
Backport of 3cea917e3e from master.
2014-04-17 21:26:49 +02:00
Ben Davis 8c1d8a6215 [1.7.x] Fixed #22220 -- Added more examples to reverse() documention.
Thanks EvilDMP for the suggestions.

Backport of 030dd4f72c from master
2014-04-16 20:31:01 -04:00
Mariano Rezk 841e21a85c [1.7.x] Fixed #22455 -- Documented return values for send_mail and send_mass_mail
Backport of 7cd74fc96e from master.
2014-04-16 17:38:22 -04:00
Jordi Yeh fcbcdf72d6 [1.7.x] Fixed #22457 -- Fixed contributing guide w/o github set-up
The published commnand was not working when the user did not have
the git client set-up with the public-key. Changed the contributing
guide to clone it from https instead.

Backport of 2810299117 from master.
2014-04-16 09:42:48 -04:00
Tim Graham c064971e6b [1.7.x] Fixed spelling errors in documentation.
Backport of b5ce21accb from master
2014-04-16 09:39:25 -04:00
Tim Graham 8edba6eb90 [1.7.x] Fixed #22453 -- Corrected DoesNotExist message in docs.
Thanks Eugenio Cano-Manuel.

Backport of eefad142de from master
2014-04-16 08:37:24 -04:00
Tim Graham 62ac77fa23 [1.7.x] Added a note regarding django.contrib.auth.authenticate.
Thanks Josh Brown for the suggestion.

Backport of ae5b662796 from master
2014-04-16 07:49:33 -04:00
Tim Graham cb7ee25462 [1.7.x] Added RemoteUserMiddleware to middleware reference page.
Backport of 465980d070 from master
2014-04-16 07:23:00 -04:00
Mariano Rezk 5672b29d57 [1.7.x] Fixed #22443 -- Document smtp.EmailBackend.timeout default value
Django 1.7 introduces a new timeout parameter for the SMTP email backend:
http://docs.djangoproject.com/en/dev/topics/email/#django.core.mail.backends.smtp.EmailBackend.timeout

However, there was no mention of the default value for this parameter.

Backport of 4e3d8ae610 from master.
2014-04-15 17:48:45 -04:00
Tim Graham 76ed0a615c [1.7.x] Fixed #22392 -- Corrected deployment instructions for Apache 2.4.
Thanks zjcheah at yahoo.com for the report.

Backport of 0f37d2e4c0 from master
2014-04-15 17:45:39 -04:00
Andrew Godwin a195ec847e [1.7.x] Improve migrations/schema docs 2014-04-14 18:09:48 -04:00
arachnegl f004374f8f [1.7.x] Fixed #22398 -- Added detail about callable in KEY_FUNCTION docs
Backport of 8da86fd19b from master
2014-04-13 19:14:16 -04:00
valtron 6b3a8d2705 [1.7.x] Fixed #21760 -- prefetch_related used an inefficient query for reverse FK.
Regression introduced by commit 9777442. Refs #21410.

Backport of d3b71b976d from master
2014-04-13 00:51:38 +07:00
Claude Paroz a6eda3a5fc [1.7.x] Also allowed a non-overridden setting to be deleted
Refs #20032, #18824. Thanks ztorstri at gmail.com for the report.
Backport of 3417ba0309 from master.
2014-04-12 15:35:11 +02:00
Claude Paroz d9f8cc12ae [1.7.x] Fixed #22102 -- Made SimpleTestCase tests run before unittest.TestCase ones
Thanks aptiko for the report and Tim Graham for the review.
Backport of 3e3a7372f5 from master.
2014-04-12 11:43:10 +02:00
Tim Graham 593e72c141 [1.7.x] Fixed #22419 -- Typo in docs/topics/db/multi-db.txt.
Thanks Josh Kupershmidt.

Backport of c487b1e230 from master
2014-04-10 19:33:39 -04:00
Tim Graham ae78227de3 [1.7.x] Fixed #21353 -- Noted that description is ignored for TabularInlines.
Thanks nofinator for the report.

Backport of d5031ecf88 from master
2014-04-10 13:33:28 -04:00
John Paulett b4681be154 [1.7.x] Fixed #22364 -- Sanitized getpass input in changepassword.
Python 2 getpass on Windows does not accept unicode, even
when containing on ASCII characters. Related #190807.

Backport of b5a9166f7e from master
2014-04-10 13:16:04 -04:00
Tim Graham ddd25b280f [1.7.x] Fixed #22194 -- Added --list-tags option to check command.
Thanks Elvard for the patch.

Backport of 395d75ea6b from master
2014-04-10 09:44:43 -04:00
Carl Meyer 0b43308e2d [1.7.x] Fixed #22412 -- More nuanced advice re template filters and exceptions.
Thanks Tim for review.

Backport of 7e3834adc9 from master
2014-04-10 06:19:02 -04:00
Shai Berger 941f947bfd [1.7.x] Documentation fixes for the select_for_update change.
Refs #22343; thanks Tim Graham for the fixes.

Backport of 59b1d30 from master
2014-04-10 03:43:05 +03:00
Shai Berger 3a9a4570ef [1.7.x] Fixed #22343 -- Disallowed select_for_update in autocommit mode
The ticket was originally about two failing tests, which are
fixed by putting their queries in transactions.

Thanks Tim Graham for the report, Aymeric Augustin for the fix,
and Simon Charette, Tim Graham & Loïc Bistuer for review.

Backport of b990df1d63 from master
2014-04-10 01:44:30 +03:00
Tim Graham 396d65b580 [1.7.x] Noted that pip is included with Python 3.4 in Windows install guide.
Thanks CHI Cheng.

Backport of 11e7254c3d from master
2014-04-09 07:39:08 -04:00
ejstronge 763b1d55e2 [1.7.x] Fixed small typo in django-admin.txt
The word 'by' seemed to be missing from the first line of the compilemessages command.

Backport of 5ca522b9ed from master
2014-04-09 07:13:37 -04:00
Anubhav Joshi 2cb7013179 [1.7.x] Fixed #16205 -- Added an installation for Windows.
Backport of d35d2f61c5 from master
2014-04-08 11:28:58 -04:00
Tim Graham 8158557f22 [1.7.x] Added Python 3.4 to list of supported version in docs/intro/install.txt
Backport of a1fa6fcabc from master
2014-04-08 11:13:36 -04:00
Tim Graham 9063e6ed39 [1.7.x] Fixed casing of "GeoDjango". 2014-04-08 10:12:15 -04:00
Anubhav Joshi d9c7d9eb6e [1.7.x] Fixed #9535 -- Added a reference guide for file upload classes.
Backport of c8c2b8a638 from master
2014-04-08 10:09:01 -04:00
Anubhav Joshi 61b7fcf478 [1.7.x] Fixed #22405 -- Fixed string error in models/queries docs.
Backport of 36de29200e from master.
2014-04-08 13:34:37 +02:00
Yin Jifeng c148d8e730 [1.7.x] Added missing request parameter to get_current_site().
Backport of d6c9bdd825 from master
2014-04-07 09:57:04 -04:00
Tim Graham 38679254bf [1.7.x] Fixed #22216 -- Added Form.non_field_errors to form API doc.
Backport of d2f4553d70 from master
2014-04-05 18:17:13 -04:00
Tim Graham 5891fd3f89 [1.7.x] Fixed #21649 -- Added optional invalidation of sessions when user password changes.
Thanks Paul McMillan, Aymeric Augustin, and Erik Romijn for reviews.

Backport of fd23c06023 from master
2014-04-05 13:01:03 -04:00
Vishal Lal 4ad4a236de [1.7.x] Fixed #22380 -- Missing SECRET_KEY variable in sample settings file for testing
Backport of 8f621b83e9 from master.
2014-04-04 09:48:56 +02:00
Vishal Lal 28a686a0b7 [1.7.x] Fixed #22372 -- Improved description of WizardView.get_context_data().
Thanks simon29 for the report.

Backport of a8e2ec0e82 from master
2014-04-03 08:27:57 -04:00
Ramiro Morales 1a1b22679d [1.7.x] Document removal of GeoDjangoTestSuiteRunner in 1.6 release notes.
e6ced2bb08 from master.
2014-04-02 17:16:33 -03:00
Vishal Lal 36d1e3725f [1.7.x] Fixed #22347 -- Unified FileSystemStorage documentation.
Thanks nliberg for the report.

Backport of ca93f02c62 from master
2014-04-02 13:01:03 -04:00
Claude Paroz cfb7eca2a1 [1.7.x] Added 1.6.3 release note for refs #22256. 2014-04-01 20:48:06 +02:00
Tim Graham 07c42cee7f [1.7.x] Replaced urllib/urlparse imports with from django.utils.six.moves.
Backport of 981b864fbd from master
2014-03-31 07:55:25 -04:00
Loic Bistuer 5268d71f18 [1.7.x] Fixed #21795 -- Made add_preserved_filters account for url prefixes.
Thanks to trac username honyczek for the report. Refs #6903.

Backport of 4339e9a92d from master
2014-03-31 07:20:20 -04:00
Tim Graham 25da849896 [1.7.x] Added 1.6.3 release note for refs #22250.
Backport of d57ba04d89 from master
2014-03-31 07:12:12 -04:00
Ramiro Morales 422f5d9a2c [1.7.x] Corrected an import in a model form docs example.
cb5dd99bb4 from master.
2014-03-30 20:34:29 -03:00
Tim Graham c139e3e0a0 [1.7.x] Fixed #21858 -- Clarified 1.6 release note regarding M2M help text changes.
Thanks lee at semel.net for the report.

Backport of f30e6590f4 from master
2014-03-29 10:23:23 -04:00
Tim Graham 5f04240381 [1.7.x] Added Python 3.4 support notes.
Backport of 306deab2c7 from master
2014-03-27 08:12:58 -04:00
Tim Martin e2e773c04a [1.7.x] Fixed #21941 -- Documented the kwargs param of django.conf.urls.url().
Thanks cjerdonek for the report.

Backport of a779757706 from master
2014-03-27 07:02:02 -04:00
Tim Graham 994274ea83 [1.7.x] Fixed #22029 -- Removed obsolete advice on registering migrate/syncdb signal handlers.
All signals should now be registered in AppConfig.ready().

Thanks un33k for the report.

Backport of 5233b36693 from master
2014-03-26 10:41:45 -04:00
Andrew Godwin 1cb6729f58 [1.7.x] Add some syncdb deprecation stuff into the deprecation doc
Backport of 378359de1c from master
2014-03-25 20:02:07 -04:00
Simon Charette 78211b13a5 [1.7.x] Fixed #12030 -- Validate integer field range at the model level.
Thanks to @timgraham for the review.

Backport of 1506c71a95 from master
2014-03-25 14:31:54 -04:00
Tim Graham 7eaf329ad3 [1.7.x] Fixed #22322 -- Fixed incorrect explanation of what managed=False does.
refs #14305.

Thanks Adrian Klaver for the report.

Backport of 9b7ba8af1b from master
2014-03-25 14:03:02 -04:00
Adam Kaliński eb1600e9d1 [1.7.x] Fixed #22048 - Enhanced docs to cover nonexistent one-to-one relationships.
Thanks EvilDMP for the suggestion.

Backport of ec08d62a20 from master
2014-03-24 09:45:50 -04:00
Tim Graham 57a373b08c [1.7.x] Fixed #22247 -- Replaced "upstream" with "downstream" in cache docs.
Thanks valgarv at gmx.net for the report.

Backport of 60d2dde286 from master
2014-03-24 09:19:46 -04:00
Tim Graham 68a80166cd [1.7.x] Fixed #21665 -- Documented that changes in assertRedirects may be required given new URL escaping behavior.
Thank pdc for the report.

Backport of 62e81bc00b from master
2014-03-24 09:09:19 -04:00
Tim Graham 70b34f095c [1.7.x] Updated six to 1.6.1.
Backport of 2ec82c7387 from master
2014-03-24 07:34:18 -04:00
Moayad Mardini f847aeb6f8 [1.7.x] Fixed #22265 -- Clarfied consistent behavior of migrations.
Thanks aruseni for the report.

Backport of bff77e2aa8 from master
2014-03-24 07:27:27 -04:00
Claude Paroz e1a6a3024f [1.7.x] Fixed #22317 -- Fixed documented handler400 default value
Backport of 3f7615cddc from master.
2014-03-23 21:20:19 +01:00
Claude Paroz 4b72532048 [1.7.x] Added release note about strip_tags improvement
Backport of 1c8dbb0cc from master.
2014-03-22 12:35:56 +01:00
Claude Paroz 80f08dbdbc [1.7.x] Improved strip_tags and clarified documentation
The fact that strip_tags cannot guarantee to really strip all
non-safe HTML content was not clear enough. Also see:
https://www.djangoproject.com/weblog/2014/mar/22/strip-tags-advisory/
Backport of 6ca6c36f82 from master.
2014-03-22 11:01:14 +01:00
Aymeric Augustin 60d2213d43 [1.7.x] Small doc changes missed in 66076268.
Partial backport of 253e8ac2 from master.
2014-03-21 22:09:57 +01:00
Thomas Schreiber 79989263a2 [1.7.x] Fixed typos in docs (django.contrib.site)
Backport of 907ac64641 from master.
2014-03-21 20:02:03 +01:00
Tim Graham 563d6a6bba [1.7.x] Replaced an instance of PIL with Pillow in the docs.
Done in 4965a77407 on master.
2014-03-21 11:23:59 -04:00
Dejan Noveski b74ec85c1d [1.7.x] Fixed #22255 -- Added support for specifying re flags in RegexValidator
Backport of 4d0c5f6142 from master.
2014-03-21 11:18:26 +01:00
Bryan Helmig cc8a800d0c [1.7.x] Fixed minor syntax error in Queryset docs
Backport of f2eea960e0 from master.
2014-03-21 11:14:57 +01:00
Daniel Hahler ac9c7701a7 Replaced reference to ModelAdmin.get_formsets() (deprecated) with get_formsets_with_inlines(). 2014-03-19 20:37:00 -04:00
Anubhav Joshi 0399523cf1 Fixed #22253 -- Added django-i18n to the mailing lists docs.
Thanks bmispelon for the suggestion.
2014-03-19 07:22:01 -04:00
Simon Charette cc5804bcab Amended login required mixin documentation to honor **initkwargs. 2014-03-17 18:45:06 -04:00
zedr fad47367bf Fixed #21179 -- Added a StreamingHttpResponse example for CSV files.
Thanks charettes for the suggestion.
2014-03-17 07:22:27 -04:00
Tim Graham 5840445664 Fixed #22006 -- Documented how to write a login_required mixin for CBVs.
Thanks django at patjack.co.uk for the suggestion and mockforest
for the draft patch.
2014-03-17 06:49:59 -04:00
Anubhav Joshi ad43fdaa00 Fixed #21860 -- Added to_field_name to ModelChoiceField docs.
Thanks Keryn Knight for the suggestion.
2014-03-16 15:40:52 -04:00
Anubhav Joshi abade6413b Fixed #21991 -- Added warning regarding tests failure if locales not installed.
Thanks reidrac for the report.
2014-03-16 14:34:18 -04:00
Daniel Pyrathon 885e7adf56 Fixed #22242 -- Documented common cookie size limit. 2014-03-16 10:40:59 -04:00
Claude Paroz 5a976b4bec Fixed #22245 -- Avoided widget overwrite in forms.IntegerField subclasses
Thanks Jeroen Pulles for the report and Simon Charette for the review.
2014-03-13 16:58:14 +01:00
Dejan Noveski 958b511a80 Fixed #22262 -- Added the correct line in the last example of Translator lines 2014-03-13 14:13:27 +01:00
Iain Dawson c8823cf481 Fixed a grammar error in topics/i18n/translation.
Hooks are quantum; you can not have an amount of them.
2014-03-13 10:04:30 +01:00
Akis Kesoglou aaad3e27ac Fixed #22217 - ManyToManyField.through_fields fixes.
- Docs description of arguments mix up.
- Keep it from erroneously masking E332 check.
- Add checks E338 and E339, tweak message of E337.
2014-03-11 19:33:04 -03:00
Tim Graham 89e4226ed1 Updated spelling_wordlist. 2014-03-11 08:11:16 -04:00
Tim Graham ce3d9f847d Fixed typo in docs/ref/django-admin.txt
Thanks Wes Kendall for the report.
2014-03-11 08:09:44 -04:00
Shai Berger 05daaf2eea Added myself to the committers list, finally. 2014-03-10 22:28:01 +02:00
Aymeric Augustin 1be31c320c Fixed #21875 -- Clarified that get_user_model() only works at run time.
Thanks Benjamin White for the report.
2014-03-10 21:11:23 +01:00
Erik Romijn daaf6cf9a4 Added myself to the committers list. 2014-03-10 17:25:47 +01:00
Daniel Pyrathon 819e09b848 Fixed #22210 -- Saving model instances to non-related fields.
Previously, saving a model instance to a non-related field (in
particular a FloatField) would silently convert the model to an Integer
(the pk) and save it. This is undesirable behaviour, and likely to cause
confusion so the validatio has been hardened.

Thanks to @PirosB3 for the patch and @jarshwah for the review.
2014-03-10 15:25:18 +00:00
Jeremy Dunck 0e52b2863b Substituted 'shortcut function' for 'factory method' in tutorial
Many newbies don't know what a factory method is, nor is it pertinent to the
information the tutorial hopes to convey.
2014-03-09 14:07:39 -07:00
Aymeric Augustin 3315535ae8 Fixed an example to match the code. 2014-03-09 21:20:34 +01:00
Shai Berger 0615eaf24a Corrected a few missed references to old test settings 2014-03-09 08:33:33 +02:00
Shai Berger 41afae4ce9 Reorganized the database test settings
Change database test settings from "TEST_"-prefixed entries in the
database settings dictionary to setting in a dictionary that is itself
an entry "TEST" in the database settings.

Refs #21775

Thanks Josh Smeaton for review.
2014-03-09 03:57:18 +02:00
Claude Paroz 210d0489c5 Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warnings
Thanks Anssi Kääriäinen for the idea and Simon Charette for the
review.
2014-03-08 09:57:40 +01:00
Russell Keith-Magee 70ec4d776e Fixed #22034 -- Added a specific set of relation checks for GenericInlineModelAdmin.
Thanks to jwa for the report.
2014-03-08 11:25:23 +08:00
Anssi Kääriäinen 219d928852 Fixed #21863 -- supplemented get_lookup() with get_transform()
Also fixed #22124 -- Expanded explanation of exactly what is going on in
as_sql() methods.
2014-03-07 14:52:13 +00:00
Szczepan Cieślik a0f2525202 Fixed #22141 -- Added a spelling checker for documentation. 2014-03-07 09:29:23 -05:00
Tim Graham 8f9c3d0565 Fixed typo in docs/ref/checks.txt 2014-03-07 09:18:06 -05:00
Roger Hu 9b729ddd8f Fixed #22185 -- Added settings.CSRF_COOKIE_AGE
Thanks Paul McMillan for the review.
2014-03-06 08:28:43 -05:00
Claude Paroz 06efeae598 Added --previous flag to msgmerge command used by makemessages
Also took the opportunity to slightly refactor gettext options
so as to ease customization by subclassing the command.
Thanks Michal Čihař for the report and initial patch.
2014-03-06 10:20:01 +01:00
Gabe Jackson b77f26313c Fixed #22207 -- Added support for GenericRelation reverse lookups
GenericRelation now supports an optional related_query_name argument.
Setting related_query_name adds a relation from the related object back to
the content type for filtering, ordering and other query operations.

Thanks to Loic Bistuer for spotting a couple of important issues in
his review.
2014-03-05 22:37:53 +02:00
Akis Kesoglou c627da0ccc Fixed #14549 - Removed restriction of single FKs on intermediary tables
Thanks to Loic Bistuer for review. Minor changes to error messages
done by committer.
2014-03-05 22:33:58 +02:00
Chris Wilson 95c74b9d69 Fixed #22206 -- Passed models.TextField.max_length to forms.CharField.maxlength 2014-03-05 20:09:28 +01:00
zedr 6fe22b30e0 Fixed #22085 -- Added a feature for setting non-expiring keys as the default.
This feature allows the default `TIMEOUT` Cache argument to be set to `None`,
so that cache instances can set a non-expiring key as the default,
instead of using the default value of 5 minutes.

Previously, this was possible only by passing `None` as an argument to
the set() method of objects of type `BaseCache` (and subtypes).
2014-03-04 21:16:35 +01:00
Thomas Sorrel 53c576452e Fixed #16727 -- Added protocol-relative URL support to contenttypes.views.shortcut. 2014-03-03 22:57:06 +01:00
Loic Bistuer 7bbb6958dc Allowed custom querysets when prefetching single valued relations
The original patch for custom prefetches didn't allow usage of custom
queryset for single valued relations (along ForeignKey or OneToOneKey).
Allowing these enables calling performance oriented queryset methods like
select_related or defer/only.

Thanks @akaariai and @timgraham for the reviews. Refs #17001.
2014-03-03 21:35:19 +02:00
Alex de Landgraaf c8d61fa109 Fixed #21986 -- Added some guidelines for database indexes.
Thanks django-issues at colons.co for the suggestion.
2014-03-03 11:16:41 -05:00
Tim Graham 5a4f1298cf Fixed #21908 -- Added example usage for ModelAdmin.get_inline_instances().
Thanks matt at schinckel.net for the suggestion.
2014-03-03 10:40:06 -05:00
Tim Graham eae4f16177 Removed doc newlines added in previous commit that caused build errors. 2014-03-03 08:49:18 -05:00
Rodolfo Carvalho 2b6436e2d5 Fixed some typos and formatting issues in docs. 2014-03-03 08:37:17 -05:00
Greg Chapple 6acaa52386 Fixed #22135 -- Added ModelAdmin.get_changeform_initial_data().
Allows custom behavior for setting initial form data in ModelAdmin.
By default, initial data is set via GET params. The new method allows
this behavior to be overridden.

Thanks egasimus for the suggestion.
2014-03-03 07:28:24 -05:00
Russell Keith-Magee c41335fa27 Added backwards compatibliity checks to reference documentation. 2014-03-03 19:20:48 +08:00
Russell Keith-Magee 21d8175242 Fixed #22193 -- Made hint a truly optional arugment on check messages.
Thanks to Thomas Güttler for the suggestion.
2014-03-03 19:16:19 +08:00
Russell Keith-Magee 5679fce87c Added first cut at reference documentation for the checks framework. 2014-03-03 18:56:11 +08:00
Tim Graham 90577c0eb4 Removed WSGI upgrade instructions for Django 1.3 and earlier. 2014-03-02 16:19:28 -05:00
Baptiste Mispelon ea4da8e63c Fixed some typos in the documentation.
Thanks to Rodolfo Carvalho and Piotr Kasprzyk
for the patch.
2014-03-02 17:05:57 +01:00
Anubhav Joshi bb2ca9fe6c Fixed #22172 -- Allowed index_together to be a single list (rather than list of lists)..
Thanks EmilStenstrom for the suggestion.
2014-03-01 15:44:42 -05:00
Erik Romijn 775975f15d Fixed #22130 -- Deprecated fix_ampersands, removed utils.clean_html() 2014-03-01 14:07:57 +01:00
Sergey Kolosov 8c98f39624 Fixed #15318 -- Added settings for language cookie max-age, path, domain
Introduced a number of settings to configure max-age, path, and domain
for the language cookie: LANGUAGE_COOKIE_AGE, LANGUAGE_COOKIE_PATH and
LANGUAGE_COOKIE_DOMAIN.

Thanks sahid for the suggestion.
2014-03-01 07:52:45 -05:00
Claude Paroz a19f0d0c1e Fixed #22137 -- Made Widget.is_hidden a read-only property
Thanks django at patjack.co.uk for the report and the review.
2014-03-01 10:36:48 +01:00
Tim Graham 1f5f015c32 Fixed spelling mistakes in docs. 2014-02-28 21:03:46 -05:00
Tim Graham 8137215973 Added release note and regression test for refs #21643.
This will be backported to stable/1.6.x along with the original fix.
2014-02-28 20:42:56 -05:00
Tim Graham 7c0102379a Removed some ReST links to undocumented functions. 2014-02-28 18:00:53 -05:00
Alex de Landgraaf ea869b5148 Fixed #21948 -- Noted TEMPLATE_LOADERS requirement when overriding admin templates.
Thanks django at patjack.co.uk for the suggestion.
2014-02-28 16:38:25 -05:00
Tim Graham 7f2505ad9e Fixed doc typos. 2014-02-28 11:44:03 -05:00
Tim Graham 55fb162588 Fixed #22028 -- Documented that database signals aren't emitted for apps that laack a models module.
Thanks un33k for the suggestion and donjpacheco for the draft patch.
2014-02-28 09:22:33 -05:00
Greg Chapple 2f25cdc18a Fixed #22129 -- Added steps for creating superusers to tutorial. 2014-02-28 08:10:07 -05:00
vvojvoda c23b3717be Fixed #21962 -- Added escape_html flag to ErrorDict.as_json() 2014-02-28 07:05:55 -05:00
jibreel 1b5bd470f0 Fixed documention typo 2014-02-27 09:27:40 +02:00
Bouke Haarsma 2bab9d6d9e Fixed #21389 -- Accept most valid language codes
By removing the 'supported' keyword from the detection methods and only relying
on a cached settings.LANGUAGES, the speed of said methods has been improved;
around 4x raw performance. This allows us to stop checking Python's incomplete
list of locales, and rely on a less restrictive regular expression for
accepting certain locales.

HTTP Accept-Language is defined as being case-insensitive, based on this fact
extra performance improvements have been made; it wouldn't make sense to
check for case differences.
2014-02-26 16:58:04 +01:00
navneet suman 3390550f6f Fixed #22145 -- Clarified docs on Field.blank and Field.null options.
Thanks skipjack at peru.com for the suggestion.
2014-02-25 20:59:34 -05:00
Tim Graham 4132e013ec Removed a nonexistent link in the docs. 2014-02-25 11:28:36 -05:00
Rik 355572ac56 Fixed #12670 -- Added a note about permissions of files stored in FILE_UPLOAD_TEMP_DIR.
Thanks simon29 for the suggestion.
2014-02-25 11:19:31 -05:00
Henk Vos e65c0ccac0 Fixed #22071 -- Added a warning regarding override_settings and aliasing.
Thanks EvilDMP for the suggestion.
2014-02-25 10:48:27 -05:00
Szczepan Cieślik e816198034 Fixed docs typos. 2014-02-25 10:28:32 -05:00
Iacopo Spalletti 65b4626528 Fixed #22142 -- Documented PostGIS 2 database creation during tests 2014-02-25 13:41:50 +01:00
Claude Paroz 91f4a75a6b Fixed #22116 -- Added precision about WSGIPythonPath separator
Thanks donjpacheco for the initial patch.
2014-02-24 18:29:00 +01:00
Daniele Procida 4f7b7ef683 Merge pull request #2363 from nheyning/22019_add_objects_doc
Fixed #22019 -- added documentation on Model attributes
2014-02-23 17:35:43 +01:00
Nicolaas Heyning e1d2a0bd04 added documentation on Model attributes 2014-02-23 17:16:12 +01:00
Alex de Landgraaf b645be80e9 Fixed #22063 -- Added reference to NoReverseMatch from the reverse() documentation 2014-02-23 13:45:52 +01:00
Baptiste Mispelon 072fb923e1 Fixed #21881 -- Clarify behavior of {% ssi %} template tag.
When using the `parsed` option, {% ssi %} has the same limitation
as {% include %}, namely that the rendering of the included
template is done separately.

Thanks to trac user nagyv for the report and to alextreme for
the patch.
2014-02-23 12:00:24 +01:00
Marcin Sokół b887408486 Fixed #22113 -- changed object_name to model_name in CBV docs.
Thanks to trac user nikunj.sg for the report.
2014-02-22 23:36:54 +01:00
Baptiste Mispelon 1d3ae4760b Fixed warnings when building the documentation. 2014-02-22 21:43:50 +01:00
Greg Chapple ede99f0ec3 Fixed #22032 -- added documentation for settings.MIGRATION_MODULES 2014-02-22 20:14:41 +01:00
Jochem Oosterveen 271929dd9d Fixed #22092 -- Documented ResolverMatch.view_name 2014-02-22 18:31:40 +01:00
Erik Romijn 8cd32f0965 Fixed #22120 -- Documented persistent activation of languages and cleaned up language session key use 2014-02-22 18:29:06 +01:00
Marcin Sokół 09b725f51b Fixed #21902 -- Documented search order for list_display. 2014-02-22 18:11:43 +01:00
Erik Romijn 98f13762d7 Fixed #22123 -- EmailValidator now also accepts IPv6 literals in addresses 2014-02-22 17:45:33 +01:00
Martin Matusiak d399731bf2 Fixed #22007 -- Fixed cbv docs - make imports consistent
Thanks to trac user kinjal.dixit for the report.
2014-02-22 14:39:09 +01:00
Baptiste Mispelon 926e18d7d1 Deprecated django.utils.text.javascript_quote.
Refs #21725.
2014-02-22 13:50:12 +01:00
Alasdair Nicol 462edd22e5 Fixed #22112 -- Added RedirectView.pattern_name to CBV flattened index
Also moved accessor method get_redirect_url next to its attribute url
for consistency with the other views.

Thanks nikunj.sg for the report
2014-02-21 22:23:06 +01:00
David Sanders adcedfe8ba Capitalize SQL keywords 2014-02-20 11:32:04 -07:00
David Sanders 6dfd02f88c Capitalize SQL keywords 2014-02-20 11:26:59 -07:00
Tim Graham 821fc925f0 Fixed #22093 -- Made Form.Meta.fields examples consistent.
Thanks david-schultz at gmx.net for the suggestion.
2014-02-19 12:29:47 -05:00
Loic Bistuer 99416c7ad0 Added an example to the release notes for custom reverse managers. 2014-02-19 07:45:24 -05:00
Baptiste Darthenay b4f21d1807 Fixed #19647 -- Added formats.py for Esperanto.
Thanks to Objectivesea and Guttorm Flatabø (dittaeva)!
2014-02-19 11:58:20 +01:00
Tim Graham ffa238c3f7 Fixed #22062 -- Corrected static files config for Apache >= 2.4 2014-02-18 09:29:22 -05:00
Artur Frysiak faf6a911ad Fixed #22023 -- Raised an error for values() followed by defer() or only().
Previously, doing so resulted in invalid data or crash.

Thanks jtiai for the report and Karol Jochelson,
Jakub Nowak, Loic Bistuer, and Baptiste Mispelon for reviews.
2014-02-17 14:46:13 -05:00
Marek Wywiał 8274fa60f8 Made the new template.Context.flatten() method a public API.
That method was introduced in 9db4271bd1.

Refs #21765.
2014-02-16 15:18:45 +01:00