Commit Graph

1634 Commits

Author SHA1 Message Date
Andrew Godwin 1ed876ee5b [1.7.x] Improve docs around deconstruction/serialisation (refs #22337) 2014-05-06 23:07:10 -07: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
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 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
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
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
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
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
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
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
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
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
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 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
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
Andrew Godwin a195ec847e [1.7.x] Improve migrations/schema docs 2014-04-14 18:09:48 -04: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
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
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
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
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 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
Ramiro Morales 422f5d9a2c [1.7.x] Corrected an import in a model form docs example.
cb5dd99bb4 from master.
2014-03-30 20:34:29 -03:00
Tim Martin e2e773c04a [1.7.x] Fixed #21941 -- Documented the kwargs param of django.conf.urls.url().
Thanks cjerdonek for the report.

Backport of a779757706 from master
2014-03-27 07:02:02 -04:00
Adam Kaliński eb1600e9d1 [1.7.x] Fixed #22048 - Enhanced docs to cover nonexistent one-to-one relationships.
Thanks EvilDMP for the suggestion.

Backport of ec08d62a20 from master
2014-03-24 09:45:50 -04:00
Tim Graham 57a373b08c [1.7.x] Fixed #22247 -- Replaced "upstream" with "downstream" in cache docs.
Thanks valgarv at gmx.net for the report.

Backport of 60d2dde286 from master
2014-03-24 09:19:46 -04:00
Moayad Mardini f847aeb6f8 [1.7.x] Fixed #22265 -- Clarfied consistent behavior of migrations.
Thanks aruseni for the report.

Backport of bff77e2aa8 from master
2014-03-24 07:27:27 -04:00
Simon Charette cc5804bcab Amended login required mixin documentation to honor **initkwargs. 2014-03-17 18:45:06 -04:00
Tim Graham 5840445664 Fixed #22006 -- Documented how to write a login_required mixin for CBVs.
Thanks django at patjack.co.uk for the suggestion and mockforest
for the draft patch.
2014-03-17 06:49:59 -04:00
Dejan Noveski 958b511a80 Fixed #22262 -- Added the correct line in the last example of Translator lines 2014-03-13 14:13:27 +01:00
Iain Dawson c8823cf481 Fixed a grammar error in topics/i18n/translation.
Hooks are quantum; you can not have an amount of them.
2014-03-13 10:04:30 +01:00
Akis Kesoglou aaad3e27ac Fixed #22217 - ManyToManyField.through_fields fixes.
- Docs description of arguments mix up.
- Keep it from erroneously masking E332 check.
- Add checks E338 and E339, tweak message of E337.
2014-03-11 19:33:04 -03:00
Aymeric Augustin 1be31c320c Fixed #21875 -- Clarified that get_user_model() only works at run time.
Thanks Benjamin White for the report.
2014-03-10 21:11:23 +01:00
Shai Berger 0615eaf24a Corrected a few missed references to old test settings 2014-03-09 08:33:33 +02:00
Akis Kesoglou c627da0ccc Fixed #14549 - Removed restriction of single FKs on intermediary tables
Thanks to Loic Bistuer for review. Minor changes to error messages
done by committer.
2014-03-05 22:33:58 +02:00
zedr 6fe22b30e0 Fixed #22085 -- Added a feature for setting non-expiring keys as the default.
This feature allows the default `TIMEOUT` Cache argument to be set to `None`,
so that cache instances can set a non-expiring key as the default,
instead of using the default value of 5 minutes.

Previously, this was possible only by passing `None` as an argument to
the set() method of objects of type `BaseCache` (and subtypes).
2014-03-04 21:16:35 +01:00
Alex de Landgraaf c8d61fa109 Fixed #21986 -- Added some guidelines for database indexes.
Thanks django-issues at colons.co for the suggestion.
2014-03-03 11:16:41 -05:00
Rodolfo Carvalho 2b6436e2d5 Fixed some typos and formatting issues in docs. 2014-03-03 08:37:17 -05:00
Russell Keith-Magee 21d8175242 Fixed #22193 -- Made hint a truly optional arugment on check messages.
Thanks to Thomas Güttler for the suggestion.
2014-03-03 19:16:19 +08:00