Tim Graham
d156ae0612
[1.8.x] Fixed #25963 -- Clarified render_to_response() context_instance deprecation.
...
Backport of 36d0aa4303
from stable/1.9.x
2015-12-22 13:11:43 -05:00
Gavin Wahl
d34de856e5
[1.8.x] Fixed user_passes_test() signature in docs.
...
Backport of ec708803f7
from master
2015-12-08 15:57:46 -05:00
Tim Graham
cdc354eb39
[1.8.x] Fixed #25895 -- Used a consistent style for UserAdmin overrides.
...
Thanks Justin Abrahms for the report.
Backport of 166e0490d3
from master
2015-12-08 14:42:39 -05:00
Gagaro
9582ba51bd
[1.8.x] Fixed #25812 -- Restored the ability to use custom formats with the date template filter.
...
Backport of 34d88944f4
from master
2015-11-28 08:44:51 -05:00
James Beith
85a021b9cb
[1.8.x] Fixed a typo in the managers docs.
...
Backport of e03798a4ae
from master
2015-11-27 13:54:19 -05:00
Neal Todd
a16d4e249c
[1.8.x] De-emphasized use of NullHandler in logging docs.
...
NullHandler removed in 1.9; unused since Django 1.5.
Backport of b3acdeee50
from master
2015-11-18 09:56:33 -05:00
Alex Morozov
b4aa38d106
[1.8.x] Fixed #25710 -- Clarified the docs about what INTERNAL_IPS does.
...
Backport of 5abed864ee
from master
2015-11-17 10:18:07 -05:00
Anderson Resende
2a4a9e316e
[1.8.x] Fixed #25744 -- Corrected reference to User object in auth docs.
...
Backport of ce4914eab4
from master
2015-11-12 19:23:59 -05:00
Bryan Marty
16c1075d33
[1.8.x] Fixed #25169 -- Documented stacking of permission_required and login_required.
...
Backport of 9788625277
from master
2015-11-12 14:27:22 -05:00
Tim Graham
10d18dec10
[1.8.x] Fixed #10045 -- Corrected docs about .annotate()/.filter() ordering.
...
Thanks Josh, Anssi, and Carl for reviews and advice.
Backport of 91a431f48c
from master
2015-11-12 13:22:17 -05:00
Tim Graham
e592574e6e
[1.8.x] Fixed #25727 -- Added a doc link to cached_property.
...
Backport of e0de82c9b2
from master
2015-11-10 13:29:04 -05:00
Thijs van Dien
78a28cca20
[1.8.x] Fixed #25473 -- Changed underscores in url() names to dashes in docs.
...
To improve consistency, sample URL names that had underscores
in them now use dashes instead. That excludes URL names that
have some relation to the code, such as those generated by
the admin.
Thanks guettli for reporting this.
Backport of 1679472165
from master
2015-11-07 22:02:03 +01:00
Tim Graham
bd55e80635
[1.8.x] Fixed #25290 -- Warned against modifying objects created in setUpTestData() in tests.
...
Backport of 81006b9657
from master
2015-11-07 20:34:07 +01:00
Attila Tovt
189ceae19d
[1.8.x] Fixed #25681 -- Added 'default' to DATABASES example.
...
Backport of ac750dbbc0
from master
2015-11-07 11:10:18 +01:00
japrogramer
383e2e1c53
[1.8.x] Fixed typo in docs/topics/auth/default.txt.
...
Backport of a10cbbbc17
from master
2015-11-03 08:57:15 +00:00
Tomasz Anielak
7648ceb06b
[1.8.x] Fixed typo in docs/topics/db/models.txt.
...
Backport of b67502fb8d
from master
2015-10-31 08:53:48 -04:00
Bryan Marty
dd0e7f5301
[1.8.x] Fixed #24212 -- Added example pylibmc CACHES configuration.
...
Backport of ad67fcdf51
from master
2015-10-30 13:45:53 -04:00
bee_keeper
06abe84e20
[1.8.x] Added class-based view example to RequestFactory example.
...
Backport of a17216646a
from master
2015-10-30 13:14:29 -04:00
Bryan Marty
42f2546742
[1.8.x] Fixed #21516 -- Updated imports paths for some formset functions/classes.
...
Since refs #21489 , FormSet classes and factories are exposed on the
django.forms package.
Backport of 455034d4df
from master
2015-10-28 15:49:05 -04:00
Tim Graham
29955ba341
[1.8.x] Made LiveServerTestCase example use StaticLiveServerTestCase.
...
Backport of 6b5ae92927
from master
2015-10-28 13:52:33 -04:00
Jacek Bzdak
d83454fbf2
[1.8.x] Fixed #25397 -- Documented class-based view context variable clash with context processors.
...
Backport of 494b7986a3
from master
2015-10-23 15:24:18 -04:00
薛丞宏
415837543e
[1.8.x] Clarified that the test client response content attribute is bytes.
...
Backport of 484edc81c1
from master
2015-10-23 14:27:15 -04:00
Benjamin Wohlwend
840e97ab01
[1.8.x] Refs #24622 -- Documented alternatives to some test response attributes when using alternative template engines.
...
Backport of 2b9eed41fa
from master
2015-10-22 14:11:52 -04:00
Tim Graham
ae2250507d
[1.8.x] Refs #25527 -- Removed redundant doc heading link that leads to a warning when generating PDF.
...
Backport of 25f287f6b2
from master
2015-10-07 19:37:00 -04:00
John Moses
a9b6218960
[1.8.x] Fixed #25481 -- Added field.help_text to "Looping over a form's fields" docs.
...
Backport of ac09d22f79
from master
2015-10-02 13:00:59 -04:00
David Sanders
07e594bba2
[1.8.x] Clarified that Model.delete() isn't called as a result of a cascading delete.
...
Backport of 5c6316dc34
from master
2015-09-30 08:44:40 -04:00
David Sanders
1d22b20f11
[1.8.x] Improved "“standalone” Django usage" example.
...
Backport of ae9f9dc37f
from master
2015-09-29 15:09:34 -04:00
Tim Graham
f3ce888d3f
[1.8.x] Fixed #25376 -- Required virtualenv in installation instructions.
...
Thanks Anjul Tyagi for some of the draft text.
Backport of a523d94b45
from master
2015-09-29 14:33:53 -04:00
Tim Graham
e6f1b1db4c
[1.8.x] Documented auth's login/logout function parameters.
...
Backport of c14b6b52ff
from master
2015-09-28 14:12:43 -04:00
Tim Graham
2ca137e271
[1.8.x] Fixed #25451 -- Added advice about organizing tests.
...
Backport of 53e89ce2e7
from master
2015-09-25 07:15:54 -04:00
Tim Graham
8794ded8d6
[1.8.x] Removed a prominent note about django.utils.unittest deprecation.
...
It doesn't seem this would be relevant to most readers.
2015-09-24 13:25:43 -04:00
Tim Graham
bb90e8fa2b
[1.8.x] Fixed #25455 -- Optimized dictfetchall() example.
...
Thanks aklim007 for the suggestion.
Backport of 361f60479d
from master
2015-09-24 13:18:45 -04:00
Don Kirkby
1386a823c0
[1.8.x] Fixed typo in docs/topics/db/examples/one_to_one.txt
...
Backport of dcd7358afd
from master
2015-09-23 13:32:01 -04:00
Tim Graham
4a06a904dc
Refs #24361 -- Corrected documented level of the 'django' logger.
...
The logger doesn't define an explicit level, therefore it defaults
to WARNING.
2015-09-23 11:21:16 -04:00
Rik
55f80d28d4
[1.8.x] Added link to Babel's message extracting functionality.
...
Backport of 6e51d5d0e5
from master
2015-09-22 08:54:49 -04:00
Aymeric Augustin
425c5e40ea
[1.8.x] Fixed #24921 -- set_autocommit(False) + ORM queries.
...
This commits lifts the restriction that the outermost atomic block must
be declared with savepoint=False. This restriction was overly cautious.
The logic that makes it safe not to create savepoints for inner blocks
also applies to the outermost block when autocommit is disabled and a
transaction is already active.
This makes it possible to use the ORM after set_autocommit(False).
Previously it didn't work because ORM write operations are protected
with atomic(savepoint=False).
Backport of 91e9f1c
from master
2015-09-21 22:31:13 +02:00
Aymeric Augustin
ce3dd17c2e
[1.8.x] Updated references to the TEST_* database settings.
...
They were removed in Django 1.9.
I could leave the reference to TEST_DEPENDENCIES in the 1.2.4 release
notes because the link points to the right location and the name was
accurate at the time.
Backport of 6d1110f
from master
2015-09-05 20:31:22 +02:00
Maarten
c06953e8f9
[1.8.x] Fixed #25355 -- Made two tweaks to docs/topics/db/aggregation.txt.
...
Backport of fe58d96e50
from master
2015-09-05 10:20:36 -04:00
David Sanders
f1d6b5b5b1
[1.8.x] Added links to new security settings introduced in 1.8.
...
Backport of cc968b9c90
from master
2015-09-04 12:57:26 -04:00
Maxime Lorant
7dabaa8ee3
[1.8.x] Refs #25345 -- Updated links to code.google.com.
...
Backport of c92cd22d02
from master
2015-09-04 08:18:22 -04:00
Dražen Odobašić
5ed9616a09
[1.8.x] Fixed #25326 -- Added namedtuple example for executing custom SQL.
...
Backport of 5ab65ca5c9
from master
2015-09-03 13:17:34 -04:00
Tim Graham
58335a2c0b
[1.8.x] Fixed #25311 -- Removed vague language about "partial commits" from docs.
...
Backport of ea47a052ba
from master
2015-08-25 20:24:05 -04:00
Markus Holtermann
79bd15ef32
[1.8.x] Fixed style issues in testing docs
...
Backport of f33607ce0b
from master
2015-08-19 21:40:36 +10:00
Anton Strogonoff
a67bf4be35
[1.8.x] Used consistent capitalization and hyphenation of "class-based views" in docs.
...
Backport of 20787b5c29
from master
2015-08-18 19:08:08 -04:00
Tim Graham
77ced0b740
[1.8.x] Updated memcached library links to point to PyPI.
...
Backport of d772d812cf
from master
2015-08-11 21:21:24 -04:00
Tim Graham
e4b813c0e7
[1.8.x] Fixed #25160 -- Moved unsaved model instance data loss check to Model.save()
...
This mostly reverts 5643a3b51b
and
81e1a35c36
.
Thanks Carl Meyer for review.
Backport of 5980b05c1f
from master
2015-08-10 11:31:22 -04:00
Claude Paroz
cda66497aa
[1.8.x] Updated Wikipedia links to use https
...
Backport of 64982cc2fb
from master.
2015-08-08 12:09:53 +02:00
Tim Graham
a7fb311ace
[1.8.x] Fixed #25229 -- Clarified how an iterable works with @permission_required
...
Backport of 16a8d01308
from master
2015-08-05 17:18:13 -04:00
Tim Graham
ce0f2a4a4f
[1.8.x] Fixed #25213 -- Discouraged use of QuerySet.extra()
...
Thanks Anssi Kääriäinen for the draft text and Simon Charette
for review.
Backport of e8cd65f829
from master
2015-08-05 08:15:44 -04:00
Tim Graham
6f6043fd26
[1.8.x] Fixed #25212 -- Documented the RawSQL expression.
...
Backport of 97fa7fe961
from master
2015-08-05 08:15:30 -04:00