1
0
mirror of https://github.com/django/django.git synced 2025-01-16 21:33:33 +00:00

7740 Commits

Author SHA1 Message Date
Bas Peschier
015a9b928a [1.8.x] Fixed #13525 -- Added tests and docs for nested parameters in URL patterns.
When reversing, only outer parameters are used if captured parameters are
nested. Added tests to check the edge cases and documentation for the
behavior with an example to avoid it.

Backport of 23a5d64f40b0f4a3fbfef7427ca793cb1df1034e from master
2015-03-23 08:43:58 -04:00
Iacopo Spalletti
6da4ce5365 [1.8.x] Fixed #23814 -- Pointed localflavor documentation to external package
Edited localflavor doc to point to the external package documentation,
leaving just the 'How to migrate' section in Django.

Backport of 87fed9444033533ad7105c4b1e4ffc5d7854a2c6 from master.
2015-03-22 15:36:44 +01:00
Josh Smeaton
e654123f7f Fixed #24485 -- Allowed combined expressions to set output_field 2015-03-22 17:41:12 +11:00
David Seddon
744d9a10ef [1.8.x] Refs #14645 -- Documented bug with exclude() and multi-value relations
Backport of 6770b7ecd208a0746f181e54202fb829460c6490 from master
2015-03-20 17:51:57 -04:00
Claude Paroz
5da3153d56 [1.8.x] Fixed #23520 -- Explained that custom plural forms should be avoided
Thanks aruseni for the report.
Backport of 556eb67701 from master.
2015-03-20 20:46:02 +01:00
Tim Graham
5cd551409e [1.8.x] Fixed #24503 -- Added docs on LANGUAGE_CODE fallback change in 1.8.
Thanks Pakal and Claude.

Backport of 8219eabbba6e8f6d8569792615935011b5cf0771 from master
2015-03-20 12:10:18 -04:00
Tim Graham
770427c289 [1.8.x] Made is_safe_url() reject URLs that start with control characters.
This is a security fix; disclosure to follow shortly.
2015-03-18 19:23:21 -04:00
Tim Graham
5447709a57 [1.8.x] Fixed an infinite loop possibility in strip_tags().
This is a security fix; disclosure to follow shortly.
2015-03-18 19:23:21 -04:00
Tim Graham
5a8ef2a3cf [1.8.x] Added stub release notes for security releases. 2015-03-18 19:23:21 -04:00
Karl Hobley
a8c53041f9 [1.8.x] Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed.
Backport of 81e1a35c364e5353d2bf99368ad30a4184fbb653 from master
2015-03-18 19:12:46 -04:00
Tim Graham
4cc501205d [1.8.x] Updated location of database backend data_types attribute in docs.
Backport of d9a30ed190d68a5450cba8b3cd26ef6bcd8a70ff from master
2015-03-17 20:04:30 -04:00
Tim Graham
0c92913bb0 [1.8.x] Updated links to latest version of PostGIS docs.
Backport of 53d11c6821b7b347e0eeefb96168cc1861715a6b from master
2015-03-17 18:35:51 -04:00
Tim Graham
ddb95d6d53 [1.8.x] Refs #24487 -- Added upgrade tips about removal of SortedDict.
Thanks Pascal Chambon for the initial patch.

Backport of c5c8751147d41913a05e86097ea29ccc9fc2e5be from master
2015-03-17 13:42:54 -04:00
Tim Graham
717bbd473c [1.8.x] Updated location of gis_tests in docs.
Backport of 64b9393ae279fde1ac535348458b3ff960177225 from master
2015-03-17 11:35:41 -04:00
Josh Smeaton
a0cebe82b5 [1.8.x] Refs #24485 -- Renamed some expression types
Backport of 88d798d71a20662bdf5335f0586fb9eb6e660c57 from master
2015-03-17 08:40:45 -04:00
John Giannelos
e150bbd4d6 [1.8.x] Fixed #24427 -- Stopped writing migration files in dry run mode when merging.
Also added display of migration to stdout when verbosity=3.

Backport of 8758a63ddbbf7a2626bd84d50cfe83b477e8de0a from master
2015-03-16 19:45:55 -04:00
Preston Timmons
ff71d6b8de [1.8.x] Documented Context.get() method.
Backport of 4d9414098bd98aacd241827a01f6ad2dff71f113 from master
2015-03-16 13:13:47 -04:00
Josh Smeaton
09062e9509 [1.8.x] Fixed #24486 -- Documented method to provide output_field to mixed F expressions
Backport of 820381d38bc02ea8b92837ce869e7332a7db9913 from master
2015-03-16 11:56:09 -04:00
Adrian Andreias
63b998a653 [1.8.x] Fixed allow_migrate() signature in router examples.
Backport of 937643a1f215d7d2063b256269d757a2ee316f07 from master
2015-03-16 09:39:41 -04:00
HerHde
6dcbfc0700 [1.8.x] Added missing punctuation in some comments in tutorial 5.
Backport of 39573a11db694a584de6ca2a858fa05ec4ea13e1 from master
2015-03-16 08:24:58 -04:00
Steven Das
f2db113f51 [1.8.x] Added comma to improve readability in 1.7 release notes.
Backport of 4f494ed0c60cdfc44b65aeea7f42f6b7245c03af from master
2015-03-16 08:17:01 -04:00
Matthew Wilkes
22a67d22e9 [1.8.x] Refs #24354 -- Prevented repointing of relations on superclasses when migrating a subclass's name change
Forwardport of test and release note from stable/1.7.x

Backport of ae87ad005f7b62f5fa5a29ef07443fa1bbb9baf0 from master
2015-03-14 15:47:10 -04:00
Floris den Hengst
bd36f2d432 [1.8.x] Fixed doc typos.
Backport of e42a720ba22a51c68d2316d425234a197eaff467 from master
2015-03-14 12:29:27 -04:00
Tim Graham
5b91802718 [1.8.x] Refs #24462 -- Emphasized that order_by() clears previous ordering.
Backport of b9d9ab23bdcc404708aada664e718a9d56415ca3 from master
2015-03-13 15:42:03 -04:00
Andrei Kulakov
937c8a5a14 [1.8.x] Fixed #24052 -- Doc'd how to write data migrations with models in multiple apps.
Backport of b089759d6025582f36fbea3c4be3855c50b82462 from master
2015-03-13 13:24:18 -04:00
Claude Paroz
f115694547 [1.8.x] Documented gdal DataSource encoding parameter
Thanks Max Demars for the suggestion and Tim Graham for the review.
Backport of a8991b9b9f1 from master.
2015-03-13 16:41:37 +01:00
Remco Kranenburg
6f555e54f7 [1.8.x] Refs #23559 -- warned about consequences of letting users edit User model in admin.
Backport of f6b09a7f85c3b67b2011553838b079788c413432 from master
2015-03-13 08:51:24 -04:00
Ian Lee
06085024f6 [1.8.x] Added link to section in docs/howto/custom-template-tags.txt.
Backport of 56cd87a5aff034a7b976977a2902697cd5397b94 from master
2015-03-13 08:26:28 -04:00
Ian Lee
606e436a37 [1.8.x] Fixed typo in docs/howto/custom-template-tags.txt.
Backport of 7614efa2f9e169749ab109aab909fbc244fd76a9 from master
2015-03-13 08:14:30 -04:00
Ian Lee
77564c6f5a [1.8.x] Documented how to use a non-root subdirectory with mod_wsgi.
Backport of 7f8588d22ea3b53ba55d05922b67e7b3a0a7c91c from master
2015-03-12 20:09:56 -04:00
Steven Das
e1657cc37f [1.8.x] Fixed typo in docs/ref/models/fields.txt
Backport of 53bc6e2e98b4889082049f50718b13f8d5d84b6b from master
2015-03-12 19:16:22 -04:00
Aksel Ethem
fee18ce415 [1.8.x] Fixed #24364 -- Doc'ed that ManifestStaticFileStorage shouldn't be used during testing.
Backport of b4d8b16e5109170614ba505e36f60c2ad64dafc2 from master
2015-03-12 09:23:57 -04:00
ldrumm
def39428bf [1.8.x] Fixed wrong operator in iri_to_uri() docs
Backport of 27ad12a9b865bf3deebd165360f73ace722cee31 from master
2015-03-12 13:49:07 +01:00
Dan Fellin
9f39715509 [1.8.x] Fixed typo in docs/topics/forms/modelforms.txt.
Backport of 6ff826e12ea99c0eb871716cfedc2c8e199695f3 from master
2015-03-11 19:58:14 -04:00
Sean Wang
e0e2df412f [1.8.x] Fixed #24414 -- Added examples of Prefetch object usage to the docs.
Backport of a3e89f13dfb1f22a26ead8b06b37695598a4421a from master
2015-03-11 12:39:50 -04:00
Preston Timmons
2982143dac [1.8.x] Fixed typo in current_app deprecation note.
Backport of 6b605be5fe5ec62f6a927f868fc0f4e3413cd9e3 from master
2015-03-11 12:36:08 -04:00
Claude Paroz
12e199356e [1.8.x] Fixed download instructions for cities shapefile
Thanks Daniel Wiesmann for spotting the issue.
Backport of 57d42aef97 from master.
2015-03-10 19:44:27 +01:00
Claude Paroz
e2816f1ff9 [1.8.x] Updated GIS docs wrt GIS test paths
Backport of 1825365152c from master.
2015-03-10 18:01:29 +01:00
Erik Romijn
846a970106 [1.8.x] Fixed #23903 -- Configured Sphinx to autogenerate django-admin manpage
Backport of f66c2bdc0f056ffcbf6df121ea9132aaa0c4cadb from master
2015-03-10 08:15:40 -04:00
Calvin Jeong
6e81786f92 [1.8.x] Fixed typo in docs/ref/database.txt
Backport of cefbbb9db3410f757532e0f968e76a8fd9e7ce3b from master
2015-03-10 07:12:39 -04:00
Psilo Cybin
b25e542ecd [1.8.x] Fixed #24456 -- Added links to topics/forms/modelforms.txt.
Backport of 866e71140f9612e45087b8acafefa2e51ffc4a29 from master
2015-03-09 20:53:05 -04:00
Floris den Hengst
9853844ed3 [1.8.x] Fixed #24432 -- Added docs for ManyToManyFields that reside in and refer to the same model.
Backport of b9b8411129efe13642cef1fc6bbfc62bed717352 from master
2015-03-09 20:46:26 -04:00
Tim Graham
ffa4ff5e8c [1.8.x] Added stub release notes for 1.7.7.
Backport of ea9157f681654d393c970108866edb344b65a1aa from master
2015-03-09 13:10:09 -04:00
Baptiste Mispelon
35d68e8e76 [1.8.x] Refs #24461 -- Added test/release notes for XSS issue in ModelAdmin.readonly_fields
This issue was fixed by refs #24464.
2015-03-09 10:15:12 -04:00
Tim Graham
980d604bf2 [1.8.x] Clarified an item in 1.7.6 release notes.
Backport of 300fdbbebba45cb4e7f32edc524171019d9bce80 from master
2015-03-09 10:11:44 -04:00
Erik Romijn
d16e4e1d6f [1.8.x] Fixed #24464 -- Made built-in HTML template filter functions escape their input by default.
This may cause some backwards compatibility issues, but may also
resolve security issues in third party projects that fail to heed warnings
in our documentation.

Thanks Markus Holtermann for help with tests and docs.

Backport of fa350e2f303572ee8f9a8302dda45a12288d3d95 from master
2015-03-09 09:31:07 -04:00
Tim Graham
83269b2935 [1.8.x] Fixed typo in docs/howto/custom-template-tags.txt
Backport of 63f2dd4ad774d39fc7bbe05492d30efc45e4e7a9 from master
2015-03-09 07:06:32 -04:00
Rik
930fc4db7b [1.8.x] Fixed #21661 -- Expanded authentication views documentation
Backport of eb9b7abb833a6d317e355265552d47e0d8f24af8 from master.
2015-03-08 20:40:33 +01:00
Jean-Louis Fuchs
1ae2df6bfc [1.8.x] Fixed #24447 -- Made migrations add FK constraints for existing columns
When altering from e.g. an IntegerField to a ForeignKey, Django didn't
add a constraint.

Backport of f4f0060feaee6bbd76a0d575487682bc541111e4 from master
2015-03-07 14:15:27 +01:00
Marten Kenbeek
bd7c879d5a [1.8.x] Stressed authentication should be successful before logging in a user.
Backport of 8e744fa1507b6d425860c54e7673e603279367eb from master
2015-03-05 12:18:13 -05:00