Commit Graph

6638 Commits

Author SHA1 Message Date
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