Commit Graph

1751 Commits

Author SHA1 Message Date
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
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
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
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 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 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 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
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 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
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
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
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 9ed92906b3 [1.7.x] Fixed broken links in docs.
Backport of 0efd72dc90 from master
2014-08-05 08:23:57 -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
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
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 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
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
David Hoffman 08e8e2137d [1.7.x] Fixed #23097 -- Switched to new octal format in docs
Backport of e1c85167a3 from master.
2014-07-26 11:21:16 +02:00
Moayad Mardini d8961a5ad0 [1.7.x] Fixed #22827 -- clarified what each cache middleware does.
Thanks Keryn Knight for the report.

Backport of f9b7a0383c from master
2014-07-25 06:26:41 -04:00
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
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