Commit Graph

7720 Commits

Author SHA1 Message Date
Steven Das f2db113f51 [1.8.x] Added comma to improve readability in 1.7 release notes.
Backport of 4f494ed0c6 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 ae87ad005f from master
2015-03-14 15:47:10 -04:00
Floris den Hengst bd36f2d432 [1.8.x] Fixed doc typos.
Backport of e42a720ba2 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 b9d9ab23bd 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 b089759d60 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 a8991b9b9f 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 f6b09a7f85 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 56cd87a5af 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 7614efa2f9 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 7f8588d22e 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 53bc6e2e98 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 b4d8b16e51 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 27ad12a9b8 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 6ff826e12e 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 a3e89f13df 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 6b605be5fe 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 1825365152 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 f66c2bdc0f 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 cefbbb9db3 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 866e71140f 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 b9b8411129 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 ea9157f681 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 300fdbbebb 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 fa350e2f30 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 63f2dd4ad7 from master
2015-03-09 07:06:32 -04:00
Rik 930fc4db7b [1.8.x] Fixed #21661 -- Expanded authentication views documentation
Backport of eb9b7abb83 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 f4f0060fea 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 8e744fa150 from master
2015-03-05 12:18:13 -05:00
Aymeric Augustin 2bef57f3fb [1.8.x] Improved get_media_prefix template tag example.
Backport of 9a4a9a8a49 from master
2015-03-05 10:00:05 -05:00
Ross Brunton 72539a5f29 [1.8.x] Fixed #24379 -- Documented that remote user example disables ModelBackend.
Backport of 6b28e957df from master
2015-03-02 19:57:12 -05:00
Tim Graham cc525e31bb [1.8.x] Fixed #13015 -- Clarified language about model instances attached to forms.
Backport of a40a34a4b2 from master
2015-03-02 18:45:27 -05:00
Andrew Pinkham ac6bc2c090 [1.8.x] Fixed #24439 -- Removed incorrect make_object_list attributes in CBV docs.
Backport of fea45eff5a from master
2015-03-02 13:33:42 -05:00
Ian Lee ed25758556 [1.8.x] Added syntax highlighting for apache code blocks
Backport of fde4857fb8 from master
2015-03-02 12:37:07 -05:00
Alex Shaindlin 5a3b59370c [1.8.x] Improved wording in tutorial 1.
Backport of dcdef1fe2e from master
2015-02-27 17:54:27 -05:00
Tim Graham 9d6f0dce13 [1.8.x] Fixed #24359 -- Cleaned up docs/ref/exceptions.html
Backport of 2b19b3a031 from master
2015-02-27 13:51:29 -05:00
Tim Graham 31a1f96bd3 [1.8.x] Added stub release notes for 1.7.6.
Backport of 71820721a1 from master
2015-02-25 09:11:43 -05:00
Tim Graham a9ab8bd4dd [1.8.x] Added release date for 1.7.5 release.
Backport of aca73737da from master
2015-02-25 09:03:38 -05:00
Tim Graham 81911f29b7 [1.8.x] Reverted "Fixed #24325 -- Documented change in ModelForm.save() foreign key access."
This reverts commit 0af3822dc3.
It's obsoleted by refs #24395.

Backport of d298b1ba50 from master
2015-02-24 11:51:10 -05:00
Kenneth Kam a752a2c951 [1.8.x] Fixed #23762 -- clarified CACHE_MIDDLEWARE_ANONYMOUS_ONLY deprecation in docs
Backport of e83aba0e2c from master
2015-02-23 09:23:49 -05:00
Ian Lee 04c262aea9 [1.8.x] Broke long lines in code examples.
The website only renders code blocks at 96 chars, and therefore
long code lines get wrapped. Manually breaking the lines prevents
the wrapping from occurring.

Backport of 00fbd8fd52 from master
2015-02-23 07:46:00 -05:00
Emin Mastizada ff2e0896a3 [1.8.x] Added formats for the Azerbaijani locale.
Backport of dda2a3cf4c from master
2015-02-23 07:37:42 -05:00
Michael Manfre ed941ef2d0 Fixed signature of BaseDatabaseOperations.date_interval_sql()
Backport of 7fa7dd48c4 from master
2015-02-23 00:04:57 -05:00
Tim Graham ddc1e0c0fb [1.8.x] Updated tutorial to use explicit relative imports.
Backport of b2f331dc68 from master
2015-02-22 14:20:25 -05:00
Tim Graham 576c1096d2 [1.8.x] Corrected sqlmigrate output in tutorial 1.
Backport of ff5e47e7a4 from master
2015-02-22 12:29:39 -05:00
Tim Graham fbddd946ad [1.8.x] Fixed #24371 -- Cautioned against trying to switch databases.
Backport of 7901eccf2e from master
2015-02-22 10:12:15 -05:00
Sean Wang f0780df608 [1.8.x] Fixed #24358 -- Corrected code-block directives for console sessions.
Backport of eba6dff581 from master
2015-02-22 09:36:51 -05:00
Loic Bistuer 3a6c37fce4 [1.8.x] Fixed #24351, #24346 -- Changed the signature of allow_migrate().
The new signature enables better support for routing RunPython and
RunSQL operations, especially w.r.t. reusable and third-party apps.

This commit also takes advantage of the deprecation cycle for the old
signature to remove the backward incompatibility introduced in #22583;
RunPython and RunSQL won't call allow_migrate() when when the router
has the old signature.

Thanks Aymeric Augustin and Tim Graham for helping shape up the patch.

Refs 22583.

Conflicts:
	django/db/utils.py

Backport of bed504d70b from master
2015-02-20 21:55:50 +07:00
Andrei Kulakov 564487601e [1.8.x] Fixed #23932 -- Added how-to on migrating unique fields.
Backport of 1f9e44030e from master
2015-02-20 21:53:15 +07:00