Commit Graph

2377 Commits

Author SHA1 Message Date
Simon Charette 53ff096982 Prevented data leakage in contrib.admin via query string manipulation.
This is a security fix. Disclosure following shortly.
2014-08-20 14:39:40 -04:00
Tim Graham 0d8d30b7dd Fixed #23157 -- Removed O(n) algorithm when uploading duplicate file names.
This is a security fix. Disclosure following shortly.
2014-08-20 14:39:40 -04:00
Unai Zalakain 5f2542f12a Fixed #10190 -- Made HttpResponse charset customizable.
Thanks to Simon Charette, Aymeric Augustin, and Tim Graham
for reviews and contributions.
2014-08-19 17:34:38 -04:00
areski 9d6551204e Removed unnecessary code-block directives. 2014-08-19 16:44:25 -04:00
Tim Graham 03c1609c47 Fixed #21801 -- Documented SingleObjectMixin.get_context_data() requires the object attribute. 2014-08-19 12:07:44 -04:00
Tim Graham c587bd5a94 Fixed #17272 -- Documented that non-editable fields are skipped during model validation.
Thanks mitar for the report.
2014-08-19 07:18:05 -04:00
Tim Graham 5dbe2a9431 Fixed #4991 -- Emphasized XSS ramifications of help_text not being escaped. 2014-08-19 06:16:05 -04:00
Tim Graham 15cafaa565 Fixed #5726 -- Documented that inspectdb doesn't detect defaults. 2014-08-19 06:14:14 -04:00
Tim Graham 9432f1e750 Fixed some doc errors that caused syntax highlighting to fail. 2014-08-18 20:37:47 -04:00
Baptiste Mispelon 5853c87a45 Fixed #23303 -- Added BEGIN and COMMIT statements to the output of sqlmigrate. 2014-08-18 18:55:12 +02:00
areski 7ca665c5f5 Fixed #23296 -- Fixed RunPython code sample in Migration Operations. 2014-08-15 13:56:14 -04:00
Peter Harley 2724cdbff6 Fixed #18355 -- Added ordering options to list based generic views.
Added MultipleObjectMixin.ordering and get_ordering().

Refs #21450.
2014-08-15 11:09:47 -04:00
Tim Graham e122facbd8 Fixed #23269 -- Deprecated django.utils.remove_tags() and removetags filter.
Also the unused, undocumented django.utils.html.strip_entities() function.
2014-08-15 08:20:02 -04:00
Gabriel Muñumel deed00c0d8 Fixed #23162 -- Renamed forms.Field._has_changed() to has_changed(). 2014-08-15 08:14:45 -04:00
areski 2a4492aecb Fixed #23224 - Documented EmailValidator. 2014-08-14 13:28:12 -04:00
Zhaorong Ma bef5b9b7cd Fixed a grammar error in docs/ref/forms/api.txt. 2014-08-14 12:13:52 -04:00
Tim Graham a7443c24a3 Corrected content_type parameter name in sitemap docs.
mimetype was deprecated in 1.5 per 11ec0253ab.
2014-08-13 21:44:36 -04:00
Tim Graham da009ce32c Removed doc reference to removed HttpResponse.mimetype. 2014-08-13 21:42:39 -04:00
Collin Anderson e5376999fa Refs #23276 -- Added missing url() in some places. 2014-08-13 14:20:15 -04:00
Claude Paroz 2cc8ffe258 Fixed #22985 -- Made call_command accept option name parameter
Thanks giulettamasina for the report and Tim Graham for the review.
2014-08-12 21:53:29 +02:00
Ola Sitarska 549284faa4 Fixed #23016 -- Updated FAQs per Aymeric's suggestions. 2014-08-12 13:46:10 -04:00
Tim Graham a9fd740d22 Fixed #23276 -- Deprecated passing views as strings to url(). 2014-08-12 13:15:40 -04:00
Tim Graham 2003cb23d4 Fixed indentation typo in docs/ref/contrib/sitemaps.txt. 2014-08-12 12:27:24 -04:00
Tim Graham 7efce77de2 Added a warning that remove_tags() output shouldn't be considered safe. 2014-08-11 07:08:17 -04:00
Jaap Roes e92b057e06 Fixed #23261 -- Deprecated old style list support for unordered_list filter. 2014-08-11 07:04:33 -04:00
Tim Graham 73ff4498aa Removed some tabs in the docs. 2014-08-08 13:59:02 -04:00
Tim Graham edcc75e5ac Fixed #21792 -- Documented Form.has_changed()
Thanks bjb at credil.org for the suggestion and
Ivan Mesic for the draft patch.
2014-08-05 08:44:57 -04:00
Tim Graham 0efd72dc90 Fixed broken links in docs. 2014-08-05 08:23:34 -04:00
Stanislas Guerra 98e8da3709 Fixed #16311 -- Added a RelatedOnlyFieldListFilter class in admin.filters. 2014-08-04 09:39:02 -04:00
areski e4dd8b5dde Fixed #23169 - Misc docs fixes. 2014-08-04 08:29:00 -04:00
Tim Graham 0f2ceee025 Fixed #23151 -- Deprecated RegexField.error_message.
Thanks Baptiste Mispelon for the suggestion.
2014-08-03 11:21:01 -04:00
Tim Graham a9fa3d4667 Removed notes for versions of SQLite older than 5 years. 2014-08-02 20:02:06 -04:00
Tim Graham d28396f526 Fixed #23144 -- Dropped support for MySQL 5.0, 5.1. 2014-08-02 10:28:40 -04:00
Tim Graham fb4f3e04b1 Updated MySQL links to version 5.6. 2014-08-02 10:27:01 -04:00
Tim Graham 8f9d6e83a0 Fixed #23145 -- Dropped support for Oracle < 11.1 2014-08-01 19:32:00 -04:00
Tim Graham a2479f46f3 Fixed #7220 -- Allowed AbstractBaseUser.last_login to be null.
Thanks veena for the suggestion and Simon Charette and Kévin Etienne for reviews.
2014-08-01 17:51:49 -04:00
Tim Graham 1a31d9ef91 Removed some PostGIS 1.4 notes in the docs (refs #23108). 2014-08-01 10:53:53 -04:00
Tim Graham a9bdce7e55 Fixed #23108 -- Dropped support for PostgreSQL 8.4 & PostGIS 1.3, 1.4.
Thanks Claude Paroz for the review.
2014-08-01 10:26:00 -04:00
Petras Zdanavičius 8b7347220f Fixed #23103 -- Annotated ImageField file with image and content_type attributes.
Thanks Jeremy Dunck for the suggestion and Nick Sanford for review.
2014-08-01 09:30:58 -04:00
Nick Sandford 9d9f0acd7e Fixed #13163 -- Added ability to show change links on inline objects in admin.
Thanks DrMeers for the suggestion.
2014-07-31 08:07:28 -04:00
Christoph Heer d47409831f Fixed #23067 -- Updated docs to use django-admin 2014-07-30 14:14:03 -04:00
Tim Graham 66630f589c Fixed #23134 -- Fixed typos in docs/ref/models/querysets.txt.
Thanks Josh Kupershmidt.
2014-07-30 13:03:54 -04:00
David Arcos b9daa4f0e1 Fixed a typo in the admin documentation.
The 'app' subpackage does not exist, should be 'app'.
2014-07-29 12:27:35 -04:00
Tim Graham b012122d30 Fixed #23120 -- Updated GeoDjango tutorial for migrations workflow. 2014-07-29 09:08:49 -04:00
Baptiste Mispelon e5619330e2 Fixed #23123 -- Don't use a bare except in ModelAdmin documentation
Thanks to wkschwartz for the report and to Tim for the patch.
2014-07-29 11:06:32 +02:00
Moayad Mardini 668d432d0a Fixed #22491 -- documented how select_for_update() should be tested.
Thanks Andreas Pelme for the report.
2014-07-28 10:57:12 -04:00
Gabriel Muñumel 0af593dbe5 Fixed #23102 -- Documented that sql* commands now respect allow_migrate(). 2014-07-28 10:05:41 -04:00
Aymeric Augustin 53a61d82b3 Fixed #23062 -- Documented how to create superuser.
Patch by Tim Graham. Thanks areski for the review.
2014-07-27 15:48:21 +02:00
David Hoffman f14898a453 Fixed #23106 -- Updated class-based view reference title. 2014-07-26 20:38:49 -04:00
David Hoffman 6d5daa30cf Fixed #22553 -- Added refreshing queryset info to docs. 2014-07-26 10:27:02 -04:00