Commit Graph

1668 Commits

Author SHA1 Message Date
Iain Dawson 59fec1ca9b [1.7.x] Replaced instances of 'his/her' with 'their'.
Backport of 8fbf13a6c8 from master
2014-07-21 19:54:22 +00:00
Tim Graham 8e34bcdfba [1.7.x] Fixed #23023 -- Added warning against local-memory cache.
Thanks django at kerz.id.au.

Backport of 7d0519c725 from master
2014-07-16 12:35:01 -04:00
Andrew Godwin 3e13c1d9b1 [1.7.x] Add south upgrade note to 1.7 release notes 2014-07-10 10:01:12 -07:00
Tim Graham a3d710a38f [1.7.x] Revert "Improve cookie based session backend docs." refs #20418
This reverts commit d9c01da1f8.

This is poor advice as it breaks the test client login (refs #22934).
We can add a note like this back after refs #22986 is resolved.

Backport of 3a85aae2ea from master
2014-07-09 14:12:32 -04:00
Tim Graham 9918b76447 [1.7.x] Fixed #22978 -- Removed a USA-centric example that didn't add much.
Backport of 9f18b6bcb0 from master
2014-07-08 08:57:41 -04:00
Tim Graham a56773245b [1.7.x] Clarified that LocMemCache is per-process; refs #7639.
Thanks projectgus for the suggestion.

Backport of c37000ab04 from master
2014-07-02 10:14:11 -04:00
Éric Araujo e88723acf8 [1.7.x] Removed non-existent reference to args/kwargs in manager docs.
Backport of 5842d8eba4 from master
2014-07-02 07:54:59 -04:00
Andrew Godwin bbba492fbb [1.7.x] Fixed #22932: Documented circular dependency issues with swappable user 2014-07-01 20:55:27 -07:00
Tim Graham c45fcd278b [1.7.x] Fixed #19489 -- Documented host parameter of assertRedirects().
Thanks mrknacky at gmail.com for the report and gajimenezmaggiora
for the draft patch.

Backport of e3c7af18a3 from master
2014-06-30 17:52:23 -04:00
Matt Deacalion Stevens 31c56f1ee0 [1.7.x] Fixed and enhanced new HTML form docs.
Backport of ec85df2fa5 from master
2014-06-26 13:59:04 -04:00
Ramiro Morales 54a6ab2077 [1.7.x] Fixed typo in revamped forms intro doc.
Backport of 77c0a904cb from master
2014-06-25 12:32:14 -04:00
Peter Kowalczyk ea64ef7ed7 [1.7.x] Fixed typo in middleware docs.
Function definition should have an ending colon.

Backport of 48241ec9c4 from master
2014-06-24 16:09:04 -04:00
Daniele Procida 60375eda32 [1.7.x] Fixed #22796 -- Added a more basic explanations of forms.
Thanks bmispelon, kezabelle, jorgecarleitao, and timgraham for reviews.

Backport of cd20b5d186 from master
2014-06-24 14:58:53 -04:00
Andrew Godwin 44b00af9bc [1.7.x] Fixed #22874: Document that AUTH_USER_MODEL must be in first migration 2014-06-19 23:48:57 -07:00
Andrew Godwin bfe5f72c7e [1.7.x] Fixed #22863: Improve clarity of makemigrations for non-db params 2014-06-19 23:42:27 -07:00
Andrew Godwin f355d253f8 [1.7.x] Fixed #22853: Swapped models are now ignored for migration operations. 2014-06-17 17:46:52 -07:00
Andrew Godwin a067c61b94 [1.7.x] Fixed #22660: Doc'd you can't have unmigrated apps depend on migrated 2014-06-15 11:47:57 -07:00
Moayad Mardini d3bf537324 [1.7.x] Fixed #22349 -- Added a note clarifying `RawQuerySet` has no `__len__`.
Thanks cdestigter for the report.

Backport of 2d425116e2 from master
2014-06-12 16:42:39 -04:00
Maxime Turcotte de0e285be8 [1.7.x] Fixed #22801 -- Added 'www.' to diveintopython.net links
Backport of f97c53c098 from master
2014-06-10 15:39:05 -04:00
Tim Graham 0767055dfc [1.7.x] Fixed #22770 -- Removed create_superuser from post_migrate signals.
Moved logic to syncdb command for backwards compatibility.

Backport of 93d05536fd from master
2014-06-10 15:00:12 -04:00
Tim Graham e108da65fe [1.7.x] Corrected some indentation in docs/topics/auth/default.txt.
Backport of 34f4fd7024 from master
2014-06-10 09:19:38 -04:00
Tim Graham 417da8a782 [1.7.x] Doc edits for refs #22487.
Backport of c17cd151d8 from master
2014-06-09 12:16:04 -04:00
Andrew Godwin 08218252d8 [1.7.x] Fixed #22487: Optional rollback emulation for migrated apps
Conflicts:
	django/db/backends/creation.py
	django/test/runner.py
	docs/ref/settings.txt
	docs/topics/testing/advanced.txt
2014-06-08 19:33:52 -07:00
Andrew Godwin 98949e3b10 [1.7.x] Fixed #22436: More careful checking on method ref'ce serialization 2014-06-07 17:06:06 -07:00
Éric Araujo 4ad299f287 [1.7.x] Fix missing highlighting in some code examples
Backport of 84cafc2b35 from master
2014-06-05 15:14:14 -04:00
Tim Graham 868b5e5e95 [1.7.x] Fixed #22747 -- Add backwards compatibility tip for new behavior of formset.save(commit=False).
Thanks django at patjack.co.uk.

Backport of 2f7a7842ba from master
2014-06-04 12:42:23 -04:00
Jonathan Lindén a83c56a45a [1.7.x] Fixed #21938 -- Moved documentation for error views to reference guide.
Backport of 5b98ba08e2 from master
2014-06-01 13:07:19 -04:00
Moayad Mardini 5d7ad16a1b [1.7.x] Fixed #22601 -- Added a note about model inheritance.
Thanks semenov for the report.

Backport of 2ea1e70b85 from master
2014-05-27 20:11:51 -04:00
Marc Tamlyn be733bf672 [1.7.x] Fixed #22510 -- Harden field removal to only None.
Refs #8620.

If we allow any value to remove form fields then we get name clashes
with method names, media classes etc. There was a backwards
incompatibility introduced meaning ModelForm subclasses with declared
fields called media or clean would lose those fields.

Field removal is now only permitted by using the sentinel value None.
The docs have been slightly reworded to refer to removal of fields
rather than shadowing.

Thanks to gcbirzan for the report and initial patch, and several of the
core team for opinions.

Backport of 9fb0f5dddc from master
2014-05-24 13:11:50 +01:00
Claude Paroz 1f6b3cf145 [1.7.x] Fixed #20816 -- Added hints about Django middleware ordering
Thanks gthb Trac user for the report, kolypto StackOverflow
user for the initial list and Tim Graham for the review.
Backport of 756c390fb5 from master.
2014-05-22 18:34:00 +02:00
Niclas Åhdén aa9a146a69 [1.7.x] Fixed #22639 -- Added missing imports in docs
Added ModelForm and NON_FIELD_ERRORS imports.

Backport of 64ee097b3b from master
2014-05-21 11:20:38 -04:00
Niclas Åhdén 0504d19db0 [1.7.x] Fixed #22622 -- Added ugettext_lazy import in docs
Backport of 7271f5db78 from master
2014-05-16 11:20:58 -04:00
Claude Paroz e8a7436941 [1.7.x] Harmonized some PEP 0263 coding preambles
Backport of e520a73ee from master.
2014-05-15 20:01:31 +02:00
Haris Ibrahim K. V 81aeffccf3 [1.7.x] Fixed typo in transactions.txt
Backport of f2a8e47cfd from master
2014-05-13 07:28:43 -04:00
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