Commit Graph

6865 Commits

Author SHA1 Message Date
Michael Angeletti 074b6785e0 [1.7.x] Removed sentence from docs about migrate prompting to add a superuser.
Backport of 21a9e8adf0 from master
2014-08-31 12:33:33 -04:00
Akis Kesoglou 3297f9e1ad [1.7.x] Fixed #23370 -- defer() + select_related() crashed with inherited models.
Backport of 6613ea6e3f from master
2014-08-30 07:16:42 -04:00
Simon Charette 0396001830 [1.7.x] Corrected a usage example of `related_query_name`.
Thanks to Petr Glotov for spotting this.

Backport of 05a8cef428 from master
2014-08-29 23:11:37 -04:00
Claude Paroz 022fdb2ac4 [1.7.x] Fixed #22786 -- Documented value_from_datadict caveat
Thanks blueyed for the report and Tim Graham for the review.
Backport of 909015a51b from master.
2014-08-29 10:25:32 +02:00
Aymeric Augustin 8f033ee04b [1.7.x] Documented correct kwargs for post_syncdb/migrate.
d562527a rename the db to using in the wrong signal.

Thanks Maik Hoepfel for the report.

Backport of 569e0a2 from master
2014-08-28 21:32:44 +02:00
Simon Charette 419f9075c4 [1.7.x] Fixed #23375 -- Added missing security issues to the archive.
Also adjusted the pre-release process to prevent future omissions.

Backport of c9c0be31c5 from master
2014-08-28 10:50:09 -04:00
Claude Paroz 9ac713645b [1.7.x] Fixed #23374 -- Renamed StaticLiveServerCase to StaticLiveServerTestCase
Refs #20739. Thanks Raphaël Hertzog for the report and the initial
patch.
Backport of 3a44e2000 from master.
2014-08-28 08:46:54 +02:00
Simon Charette 4883516bea [1.7.x] Fixed #23329 -- Allowed inherited and m2m fields to be referenced in the admin.
Thanks to Trac alias Markush2010 and ross for the detailed reports.

Backport of 3cbb7590cb from master
2014-08-27 21:27:48 -04:00
Tim Graham 574f8f560f [1.7.x] Documented --database option for migrate.
Thanks Mike O'Connor for the reporty.

Backport of 6aae07fe61 from master
2014-08-27 08:02:17 -04:00
Tim Graham e86030b3be [1.7.x] Fixed #23354 -- Documented that ModelChoiceField to_field_name should be a unique field.
Thanks Keryn Knight for the suggestion.

Backport of 83762da3fb from master
2014-08-27 07:45:34 -04:00
Erik Romijn 307eef20e3 [1.7.x] Fixed #23075 -- Added documentation on novalidate attribute and made it default for admin
Backport of cbdda28208 from master.
2014-08-27 09:16:51 +02:00
Duncan Parkes c13a4c95c1 [1.7.x] Fixed clone URL of Django git repository.
Backport of 905c4fdcc3 from master
2014-08-26 20:50:34 -04:00
Tim Graham 403cc55f23 [1.7.x] Fixed #22620 -- Emphasized role of DATABASE_ROTERS in multi-db docs.
Thanks Mike O'Connor for the suggestions.

Backport of 5ecead9ab9 from master
2014-08-26 15:52:15 -04:00
Tim Graham 4f0916c374 [1.7.x] Fixed #21567 -- Documented how to deploy multiple sites using the sites framework.
Backport of 7b9537fb27 from master
2014-08-26 15:22:28 -04:00
Tim Graham 1b89f976f4 [1.7.x] Fixed #23250 -- Documented that ModelMultipleChoiceField queryset may be None.
Backport of ced3e303ca from master
2014-08-26 14:50:37 -04:00
Tim Graham 588afbb2be [1.7.x] Fixed #17707, #20734 -- Added examples to URL namespacing docs.
Thanks Daniele Procida for review.

Backport of a2bcec3491 from master
2014-08-26 14:35:17 -04:00
Tim Graham e920c900ec [1.7.x] Fixed #19312 -- Documented MySQL TIMESTAMP columns cannot be used with USE_TZ=True.
Backport of 348c89cbfb from master
2014-08-26 14:11:53 -04:00
Tim Graham 34116ad71c [1.7.x] Fixed #17719 -- Documented that template syntax sequences cannot be used as string literals.
Backport of e02f45d5ea from master
2014-08-26 10:45:18 -04:00
Tim Graham 808722e062 [1.7.x] Fixed #23362 -- Clarified "database columns as attributes" in tutorial.
Backport of 035f2e699c from master
2014-08-26 10:07:57 -04:00
Tim Graham 9c849f7c7a [1.7.x] Fixed spelling mistake in file docs.
Backport of a3e88e64a4 from master
2014-08-26 09:44:51 -04:00
Mitch Davis 95556fdd63 [1.7.x] Clarified that makemessages -l takes a locale name, not a language code.
Backport of 5473c36cef from master
2014-08-26 08:11:55 -04:00
Tim Graham 8c8ce2ee64 [1.7.x] Fixed #23131 -- Documented serialization of callable functions in migrations.
Backport of 50ae4b4b9e from master
2014-08-24 13:35:01 -04:00
Tim Graham da2077ed67 [1.7.x] Fixed #22154 -- Added "Built-in" to some class-based views titles.
Backport of 0c9f40f776 from master
2014-08-23 19:31:05 -04:00
Tim Graham 3d88ed3341 [1.7.x] Fixed #23344 -- Removed duplicate docs for file upload settings.
Backport of c7fa27d702 from master
2014-08-23 09:31:48 -04:00
Tim Graham c19c7c192c [1.7.x] Fixed #23324 -- Mentioned Site.id in contrib.sites docs.
Backport of a76aab3583 from master
2014-08-22 13:23:55 -04:00
Kristian Glass 8aca08f828 [1.7.x] Fixed #23342 -- Clarified warning about naive time objects.
Thanks to apollo13 for suggested wording.

Backport of b7336ec179 from master
2014-08-22 11:40:04 -04:00
Tim Graham 7abb88a19c [1.7.x] Fixed #23343 -- Typo in docs/ref/class-based-views/generic-date-based.txt.
Backport of 14aff0bd82 from master
2014-08-22 11:34:41 -04:00
Andrew Godwin fbe4507623 [1.7.x] Update squashmigration docs to also mention circ dep errs (refs #23337) 2014-08-21 19:18:40 -07:00
Tim Graham f8aa2aa486 [1.7.x] Added dates to release notes.
Backport of b902be798e from master
2014-08-20 16:32:39 -04:00
Simon Charette 2b31342cdf [1.7.x] Prevented data leakage in contrib.admin via query string manipulation.
This is a security fix. Disclosure following shortly.
2014-08-20 14:42:48 -04:00
Preston Holmes 1a45d059c7 [1.7.x] Fixed #23066 -- Modified RemoteUserMiddleware to logout on REMOTE_USER change.
This is a security fix. Disclosure following shortly.
2014-08-20 14:42:48 -04:00
Tim Graham 3123f8452c [1.7.x] Fixed #23157 -- Removed O(n) algorithm when uploading duplicate file names.
This is a security fix. Disclosure following shortly.
2014-08-20 14:42:48 -04:00
Florian Apolloner bf650a2ee7 [1.7.x] Prevented reverse() from generating URLs pointing to other hosts.
This is a security fix. Disclosure following shortly.
2014-08-20 14:42:48 -04:00
Tim Graham 1c00c38b4a [1.7.x] Added release note stubs for 1.5.9 and 1.4.14. 2014-08-20 14:42:48 -04:00
Claude Paroz cba0182425 [1.7.x] Fixed typo in 1.7 release notes
Backport of 12cf10cacd from master.
2014-08-20 08:59:24 +02:00
Tim Graham 9dcb2cf4e6 [1.7.x] Added sphinx extension to ease generation of ticket links.
Backport of fca677fa43 from master
2014-08-19 17:45:59 -04:00
Tim Graham dc9751a6e7 [1.7.x] Fixed #17238 -- Added source code links to docs using sphinx.ext.viewcode.
Thanks santiagobasulto for the suggestion.

Backport of 9ed4a8c6b1 from master
2014-08-19 17:45:30 -04:00
Claude Paroz 72ad014b6a [1.7.x] Fixed #22996 -- Prevented crash with unencoded query string
Thanks Jorge Carleitao for the report and Aymeric Augustin, Tim Graham
for the reviews.
Backport of fa02120d36 from master.
2014-08-19 22:30:22 +02:00
Lee Sanghyuck 6e5e2b0e28 [1.7.x] Fixed #23316 -- Added datetime.time serialization in migrations.
Backport of 11d9cbe2f4 from master
2014-08-19 13:32:05 -04:00
Tim Graham 22a28dd8b0 [1.7.x] Fixed #21801 -- Documented SingleObjectMixin.get_context_data() requires the object attribute.
Backport of 03c1609c47 from master
2014-08-19 12:09:18 -04:00
Tim Graham b3f6a0f5a1 [1.7.x] Fixed #23314 -- Tempered recommendation of storing profile data on custom user.
Thanks gavinwahl for the report.

Backport of 3569536491 from master
2014-08-19 07:26:04 -04:00
Tim Graham 89f33f427e [1.7.x] Fixed #17272 -- Documented that non-editable fields are skipped during model validation.
Thanks mitar for the report.

Backport of c587bd5a94 from master
2014-08-19 07:18:39 -04:00
Tim Graham 20e3a004ac [1.7.x] Fixed #23282 -- Corrected inheritance and reverse relations example.
Thanks knowledgepoint-devs for the report and claudep for review.

Backport of 7006187064 from master
2014-08-19 06:29:25 -04:00
Tim Graham c3c686b92d [1.7.x] Fixed #4991 -- Emphasized XSS ramifications of help_text not being escaped.
Backport of 5dbe2a9431 from master
2014-08-19 06:16:36 -04:00
Tim Graham d6c6181f9e [1.7.x] Fixed #5726 -- Documented that inspectdb doesn't detect defaults.
Backport of 15cafaa565 from master
2014-08-19 06:15:28 -04:00
Tim Graham 5f54752b9d [1.7.x] Fixed some doc errors that caused syntax highlighting to fail.
Backport of 27fdac97ae from master
2014-08-18 20:40:41 -04:00
Baptiste Mispelon 3a80189479 [1.7.x] Fixed #23303 -- Added BEGIN and COMMIT statements to the output of sqlmigrate.
Backport of 5853c87a45 from master.

Conflicts:
	django/core/management/commands/sqlmigrate.py
	tests/user_commands/tests.py
2014-08-18 19:36:34 +02:00
Tim Graham d818e02134 [1.7.x] Fixed #14638 -- Clarified model Field.to_python() docs.
Thanks Anubhav Joshi for the patch.

Backport of b6aa60f425 from master
2014-08-18 12:54:15 -04:00
Tim Graham ad2faaa491 [1.7.x] Fixed #23263 -- Added sqlmigrate to migration topic guide.
Backport of 7ed3d0bb61 from master
2014-08-18 09:16:18 -04:00
areski ee7289656c [1.7.x] Fixed syntax highlighting and indentation in docs/topics/logging.txt.
Backport of 90b64db39c from master
2014-08-15 15:17:48 -04:00
areski 28d9753324 [1.7.x] Fixed #23296 -- Fixed RunPython code sample in Migration Operations.
Backport of 7ca665c5f5 from master
2014-08-15 13:57:49 -04:00
areski 3af1410949 [1.7.x] Fixed #23278 -- Documented django.db.backends.schema logger
Backport of ef90d395ab from master
2014-08-15 12:38:09 -04:00
Tim Graham 23455aeee2 [1.7.x] Fixed typo in docs/howto/custom-model-fields.txt.
Backport of 99561eef26 from master
2014-08-15 07:30:36 -04:00
Claude Paroz 2cbafd814f [1.7.x] Complemented 1.6 release notes for 457c16d0d6
And accessorily added missing bits fixing #23293.
2014-08-15 10:14:20 +02:00
Zhaorong Ma 2b694919db [1.7.x] Fixed a grammar error in docs/ref/forms/api.txt.
Backport of bef5b9b7cd from master
2014-08-14 12:15:14 -04:00
Claude Paroz 63ccf64079 [1.7.x] Fixed #23265 -- Used system-specific encoding in runserver
Thanks SpaceFox for the report.
Backport of 055d95fce0 from master.
2014-08-14 12:09:22 +02:00
Tim Graham 46edcd621e [1.7.x] Corrected content_type parameter name in sitemap docs.
mimetype was deprecated in 1.5 per 11ec0253ab.

Backport of a7443c24a3 from master
2014-08-13 21:45:28 -04:00
Tim Graham d38007e86d [1.7.x] Removed doc reference to removed HttpResponse.mimetype.
Backport of da009ce32c from master
2014-08-13 21:43:07 -04:00
Ola Sitarska 0f44d9f9b1 [1.7.x] Fixed #23283 -- Added default=False to BooleanField's in the docs.
Thanks Baptiste for the suggestion.

Backport of 6947885926 from master
2014-08-13 18:24:43 -04:00
areski 05063c60da [1.7.x] Improved formatting of deconstruct() docs.
Backport of d441a9d006 from master
2014-08-13 12:41:39 -04:00
Collin Anderson 8f9dd9f256 [1.7.x] Refs #23276: Removed bad examples of passing views as strings to url()
partial backport of a9fd740d22 from master
2014-08-12 14:44:09 -04:00
Ola Sitarska 49419ffd05 [1.7.x] Fixed #23016 -- Updated FAQs per Aymeric's suggestions.
Backport of 549284faa4 from master
2014-08-12 13:48:21 -04:00
Tim Graham 0e9d6ad54a [1.7.x] Fixed indentation typo in docs/ref/contrib/sitemaps.txt.
Backport of 2003cb23d4 from master
2014-08-12 12:27:41 -04:00
Tim Graham 9a51270dba [1.7.x] Added a warning that remove_tags() output shouldn't be considered safe.
Backport of 7efce77de2 from master
2014-08-11 07:09:34 -04:00
Ola Sitarska 927d7b8b71 [1.7.x] Fixed #23267 -- Fixed typo in Translation documentation
Thanks to Tomin1 for the report.

Backport of 2e7be92b4d from master.
2014-08-11 12:08:20 +02:00
Tim Graham ab883a3477 [1.7.x] Removed some tabs in the docs.
Backport of 73ff4498aa from master
2014-08-08 13:59:29 -04:00
Andreas Stocker 288b557ac4 [1.7.x] Fixed #23257 -- Updated docs for new django-jython release.
Backport of f3ef55ea7a from master
2014-08-08 12:43:57 -04:00
Tim Graham fda3eccea3 [1.7.x] Bumped django_next_version in docs config. 2014-08-08 11:45:14 -04:00
Andrew Godwin 9cc5d99bde [1.7.x] Fixed #23252: Call out removed features in release notes.
Also added StrAndUnicode mixin note to deprecation plan as it was
missing.
2014-08-07 14:15:44 +10:00
Mohammed Attia b6a6033096 [1.7.x] Removed a doc reference to the deprecated `mimetype` kwarg.
Backport of 61ed959235 from master
2014-08-06 22:18:29 -04:00
Tim Graham 5e42e9f059 [1.7.x] Fixed #21792 -- Documented Form.has_changed()
Thanks bjb at credil.org for the suggestion and
Ivan Mesic for the draft patch.

Backport of edcc75e5ac from master
2014-08-05 08:49:34 -04:00
Tim Graham 9ed92906b3 [1.7.x] Fixed broken links in docs.
Backport of 0efd72dc90 from master
2014-08-05 08:23:57 -04:00
Tim Graham 0014d5b305 [1.7.x] Updated links for continous integration server.
Backport of 21d0ceefb5 from master
2014-08-05 07:28:54 -04:00
areski a582431b41 [1.7.x] Fixed #23169 - Misc docs fixes.
Backport of e4dd8b5dde from master
2014-08-04 08:31:18 -04:00
Tim Graham 27b7783fbe [1.7.x] Removed notes for versions of SQLite older than 5 years.
Backport of a9fa3d4667 from master
2014-08-02 20:02:48 -04:00
Tim Graham 59fca56469 [1.7.x] Fixed #23154 -- Removed reference to deprecated run_gunicorn command.
Thanks frewsxcv for the report.

Backport of 75f2c65cb6 from master
2014-08-02 15:03:57 -04:00
Erik Romijn a4eb590958 [1.7.x] Fixed #23149 -- Clarified note on HTTPOnly in cookie-based session docs
Backport of e26366da44 from master.
2014-08-02 18:57:34 +02:00
Tim Graham 2ff2809c73 [1.7.x] Updated MySQL links to version 5.6.
Backport of fb4f3e04b1 from master
2014-08-02 10:27:26 -04:00
Erik Romijn 893f188386 [1.7.x] Fixed #23148 -- Minor tweaks in tutorial code samples
Backport of e075d2e66b from master.
2014-08-02 10:26:08 +02:00
Tim Graham e02d82155a [1.7.x] Fixed typo in docs/topics/testing/tools.txt.
Backport of 7ce4ef58c9 from master
2014-08-01 09:43:47 -04:00
Loic Bistuer e2c129fa5b [1.7.x] Used JsonResponse in CBV examples.
Thanks Hiroki Kiyohara and Tim Graham for the reviews.

Backport of 7579080899 from master
2014-07-31 13:46:53 -04:00
Tim Graham 42bb047d33 [1.7.x] Updated timezone docs to use timezone.now()
Thanks James Cleveland for the report and Aymeric for suggesting
the solution.

Backport of da59902250 from master
2014-07-31 12:57:50 -04:00
Tim Graham 7dc29dcb99 [1.7.x] Fixed #23134 -- Fixed typos in docs/ref/models/querysets.txt.
Thanks Josh Kupershmidt.

Backport of 66630f589c from master
2014-07-30 13:04:38 -04:00
Tim Graham 813f938093 [1.7.x] Forwardported 1.6.6 release note for #19107.
Backport of 7fcfefbc4a from master
2014-07-30 09:33:44 -04:00
Tim Graham 7e6eeef366 [1.7.x] Fixed #23132 -- Removed confusing clause in auth docs.
Backport of abb97cffdf from master
2014-07-30 08:16:01 -04:00
Andrew Godwin cc875e94cf [1.7.x] Fixed #23127: south_migrations note in docs 2014-07-29 10:10:58 -07:00
Andrew Godwin 3deddc2fdf [1.7.x] Fixed #23090: Document and enforce not double-squashing migrations 2014-07-29 10:03:59 -07:00
David Arcos fb8ddac27a [1.7.x] Fixed a typo in the admin documentation.
The 'app' subpackage does not exist, should be 'app'.

Backport of b9daa4f0e1 from master
2014-07-29 12:29:32 -04:00
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