Commit Graph

15044 Commits

Author SHA1 Message Date
Tim Graham cf8d0933cb [1.6.x] Fixed #12346 -- Added a note on how to validate InlineFormSets.
Thanks johnsmith for the suggestion.

Backport of 181f63c22d from master
2013-07-08 08:31:46 -04:00
Claude Paroz 0a84cbadb7 [1.6.x] Completed some more name_local names
Backport of 9383e37a7.
2013-07-08 12:04:38 +02:00
Mathias Andre ced144155e [1.6.x] Fixed #20716 --Missing 'name_local' translation
Added 'name_local' translation for Albanian in LANG_INFO
Backport of 8c18f6f61c from master.
2013-07-08 12:04:10 +02:00
SusanTan 40d2687787 [1.6.x] Fixed #20711 -- Fixed broken link in timesince.py docstring
Backport of d63327d843 from master.
2013-07-07 12:40:44 -04:00
Tim Graham a22b2aea19 [1.6.x] Fixed #14006 -- Documented that Field's 'description' attribute is interpolated with field.__dict__
Thanks abeld for the suggestion.

Backport of 2d96e660f9 from master.
2013-07-06 18:34:29 -04:00
Claude Paroz a9dd6221af [1.6.x] Fixed #20224 -- Update docs examples which mention __unicode__
Thanks Marc Tamlyn and Tim Graham for the review.
Backport of 7442eb1a24 from master.
2013-07-05 19:30:08 +02:00
Tim Graham 430aae1b0d [1.6.x] Fixed #20561 -- Emphasized that QuerySet.distinct([*fields]) is only supported by Postgres.
Thanks jtiai for the suggestion.

Backport of 577b0f9189 from master.
2013-07-05 07:21:13 -04:00
Tim Graham 14a5b79e29 [1.6.x] Fixed #19539 -- Updated custom model fields example for Python 3.
Thanks astorije@ for the report.

Backport of b9fceadfd4 from master.
2013-07-05 06:54:34 -04:00
hekevintran 80dc8175a6 [1.6.x] fixed grammar
Backport of 62a826ab31 from master.
2013-07-05 10:58:35 +01:00
Tim Graham d14db25fee [1.6.x] Fixed #19940 -- Made test.runner.setup_databases properly handle aliases for default db.
Thanks simonpercivall.

Backport of 2cbd579efe from master.
2013-07-04 20:15:27 -04:00
Tim Graham 541a30c376 [1.6.x] Fixed #20134 -- Correct list of fields that UserManager requires.
Thanks semenov and pegler.

Backport of da5069f68f from master.
2013-07-04 10:20:02 -04:00
Tim Graham 23748c483b [1.6.x] Fixed #20673 -- Clarified that HttpRequest.user uses AUTH_USER_MODEL.
Thanks littlepig for the report.

Backport of f407f75aae from master.
2013-07-04 09:34:02 -04:00
Tim Graham 9687e387d8 [1.6.x] Fixed #12579 -- Noted QuerySet.get_or_create() depends on database unique constraints.
Thanks timmolendijk, jdunck, vijay_shanker, and loic84.

Backport of 428de2e339 from master.
2013-07-04 08:32:49 -04:00
Tim Graham 25b9939fed [1.6.x] Fixed #20690 -- Mentioned LOCALE_PATHS earlier in translation docs.
Thanks rene@ for the suggestion.

Backport of 231e31c690 from master.
2013-07-04 05:45:16 -04:00
Simon Charette 2de0d4c452 [1.6.x] Fixed #20675 -- `check_password` should work when no password is specified.
The regression was introduced by 2c4fe761a. refs #20593.

Backport of 8759778185 from master.
2013-07-03 14:12:56 -04:00
SusanTan 75041d5ea3 [1.6.x] Fixed #20609 -- Documented how to use request.user with RequestFactory
Thanks michel@ for the suggestion.

Backport of 067e0424ce from master.
2013-07-03 11:11:04 -04:00
Tomáš Ehrlich 2f9e5483f6 [1.6.x] Fixed #20687 -- Added documentation for django.core.signing API.
Thanks Baptiste Mispelon for the suggestion.

Backport of c5bc98d7e1 from master.
2013-07-03 10:38:53 -04:00
Claude Paroz 295a925cef [1.6.x] Added check when fetching and updating translations from Transifex
So as syntax errors in po files don't go unnoticed. Refs #20695.
Backport of 63b215591 from master.
2013-07-03 16:15:52 +02:00
Tim Graham b36f55c5a5 [1.6.x] Fixed #20691 -- Added a note for __str__() vs. __unicode__() and Python 3.
Thanks garrison for the suggestion.

Backport of 8a679386c3 from master.
2013-07-03 08:46:05 -04:00
Tim Graham 5ecdf0eb9c [1.6.x] A couple more semicolon -> colon fixes; refs #18134.
Backport of 3632d289de from master.
2013-07-02 14:16:22 -04:00
Tim Graham 4c1029971e [1.6.x] Fixed a couple form/formset deprecation warnings in tests.
Backport of a521d10322 from master.
2013-07-01 09:38:29 -04:00
Tim Graham 3c51962cab [1.6.x] Updated tests for deprecation of Option.get_(add|change|delete)_permission.
refs #20642.

Backport of a6a905c619 from master.
2013-07-01 09:21:07 -04:00
Baptiste Mispelon e03a88ba21 [1.6.x] Fixed #20659 -- Fixed PublisherDetail in CBV topic documentation.
Backport of 88de53d4a8 from master.
2013-07-01 14:10:03 +02:00
Aymeric Augustin 0de21a6a7a Stopped branding Python 3 support as experimental. 2013-07-01 11:52:00 +02:00
Aymeric Augustin c1d8f3b207 Updated FAQ on Python versions to explain 2 vs 3.
Required the latest version for each Python series to minimize
bookkeeping in the future.
2013-07-01 11:48:58 +02:00
Tim Graham 3493f18d78 [1.6.x] Fixed #20667 - Removed discussion of DEBUG from tutorial.
Backport of 0d642aac86 from master.
2013-06-30 14:56:10 -04:00
Aymeric Augustin 02976a46c9 [1.6.x] Introduced getters for connection.autocommit and .needs_rollback.
They ensure that the attributes aren't accessed in conditions where they
don't contain a valid value.

Fixed #20666.

Backport of dd9c6bc359 from master.
2013-06-30 16:29:57 +02:00
Aymeric Augustin d255004289 [1.6.x] Stopped calling loaddata with commit=False.
This was a stealth option only used by the tests, and it isn't useful
any more since `atomic` provides nested transactions.

Backport of 2c40681 from master.
2013-06-30 14:20:29 +02:00
Tim Graham b930733a67 [1.6.x] Fixed #20677 - Typos in generic_inlineformset_factory docs.
Thanks Riley Strong for the report.

Backport of 3fd0ee5b46 from master
2013-06-29 14:16:36 -04:00
Claude Paroz 59be2c6875 [1.6.x] Fixed #18592 -- Prevented crash when accessing MySQL _last_executed
Thanks reames at asymmetricventures.com for the report.
Backport of 59b0c48ce from master.
2013-06-29 18:48:05 +02:00
Claude Paroz a9b5a1e506 [1.6.x] Do not allow FileSystemStorage.delete to receive an empty name
Refs #20660.
Backport of 7fbab3eba from master.
2013-06-29 18:12:23 +02:00
Claude Paroz b6aed803b2 [1.6.x] Fixed #20660 -- Do not try to delete an unset FieldFile
Thanks stanislas.guerra at gmail.com for the report and
Baptiste Mispelon for the review.
Backport of ea3fe78a9d from master.
2013-06-29 18:11:51 +02:00
Florian Apolloner c55cb6fa45 [1.6.x] Removed comment from setup.cfg which broke newer wheel versions.
Backport of b5f709e6f4 from master.
2013-06-29 16:28:52 +02:00
Aymeric Augustin 6908b65939 [1.6.x] Removed obsolete comment. Refs #20079.
Thanks Gavin Wahl.
2013-06-29 11:43:41 +02:00
Florian Apolloner 7bd9c32f14 [1.6.x] Fixed 1.6 release notes.
Backport of adc6f38867 from master.
2013-06-29 10:52:11 +02:00
Simon Charette e628753e7d [1.6.x] Added missing deprecation note for model permission methods.
refs #20642.

Backport of e1dd24d2f from master.
2013-06-28 15:49:40 -04:00
Claude Paroz dc99128343 [1.6.x] Updated FAQ to reflect official Python 3 support
Backport of 8809da67a from master.
2013-06-28 16:39:50 +02:00
Claude Paroz ec2a102d84 [1.6.x] Updated FAQ entry about python 3
Backport of 94f420ef4 from master.
2013-06-28 16:28:02 +02:00
Jacob Kaplan-Moss 70f2d9aaff Updated version numbers and setup.py for 1.6beta. 2013-06-28 08:15:10 -05:00
Baptiste Mispelon 5caced89e0 Fixed missing slash in reusable apps tutorial. 2013-06-28 09:43:14 +02:00
Shai Berger d097417025 Support 'pyformat' style parameters in raw queries, Refs #10070
Add support for Oracle, fix an issue with the repr of RawQuerySet,
add tests and documentations. Also added a 'supports_paramstyle_pyformat'
database feature, True by default, False for SQLite.

Thanks Donald Stufft for review of documentation.
2013-06-28 06:59:10 +03:00
Tim Graham 7c0b72a826 Prevented running some admin_view tests twice. 2013-06-27 20:13:42 -04:00
Tim Graham 534ced5aad Fixed #20664 -- Fixed a bug with raw_id_fields on Python 3.
Thanks jefftriplett for the report.
2013-06-27 19:39:20 -04:00
Aymeric Augustin c1284c3d3c Fixed #20571 -- Added an API to control connection.needs_rollback.
This is useful:
- to force a rollback on the exit of an atomic block without having to
  raise and catch an exception;
- to prevent a rollback after handling an exception manually.
2013-06-27 22:19:54 +02:00
Marc Tamlyn 88d5f32195 Merge pull request #1312 from kenbolton/klb/docs
Fix typo
2013-06-27 09:46:10 -07:00
Ken Bolton 6fcb7ba842 Fix typo 2013-06-27 12:39:50 -04:00
Andrew Godwin f325f86971 Fixed #20244: PermissionsMixin now defines a related_query_name for M2Ms 2013-06-27 15:44:22 +01:00
Andrew Godwin 12cb0df10f Docs for related_query_name 2013-06-27 15:44:22 +01:00
Andrew Godwin b21e96d00d Merge pull request #1311 from loic/ticket20619_take2
Fixed missing initializations in WSGIRequest. Refs #20619
2013-06-27 07:44:09 -07:00
Claude Paroz 8db264cbc8 Fixed LOGGING setting docs 2013-06-27 16:29:26 +02:00