1
0
mirror of https://github.com/django/django.git synced 2025-04-20 15:24:35 +00:00

2010 Commits

Author SHA1 Message Date
japrogramer
383e2e1c53 [1.8.x] Fixed typo in docs/topics/auth/default.txt.
Backport of a10cbbbc17d4244812ef713437fa44207fe1a223 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 b67502fb8dccefa0c0a3b4a63f9053c4238a8a0c 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 ad67fcdf51ebbbd7c02c1a2b1f269edc8f92afdc 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 a17216646adaaa909fe52a4e974b56b4f094fc72 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 455034d4df048010de4ae0a9a2392b70d1463c61 from master
2015-10-28 15:49:05 -04:00
Tim Graham
29955ba341 [1.8.x] Made LiveServerTestCase example use StaticLiveServerTestCase.
Backport of 6b5ae92927cb69e8709ab2bb05f6721a7cd37a3c 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 494b7986a3e5996d857b085f188a630d1504d9ca 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 484edc81c1ebd195c333f3ea8d3f9ca882a17837 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 2b9eed41fa26537d1af4f818c6e4296ce3305b01 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 25f287f6b2f677213605364c33bb37f33feac953 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 ac09d22f7913ff09f98001ff51b783932290e378 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 5c6316dc3467fd7b669bea9157f591ac5fd00ec4 from master
2015-09-30 08:44:40 -04:00
David Sanders
1d22b20f11 [1.8.x] Improved "“standalone” Django usage" example.
Backport of ae9f9dc37f39afeaa45c646cf6eef81beffcf021 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 a523d94b4581ec41c86f5bbaaffdf5bb6b819c2e 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 c14b6b52ff131db263bf06a02f903a73390975da 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 53e89ce2e71411ff9d1c3fd6f2b10d052a4aeace 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 361f60479d1890e8144fc254d7389a67b35725e9 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 dcd7358afd7985c3803cd8ef2a189ca39aaa9603 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 6e51d5d0e531c6aead9ebd638a63ffdc32245e5a 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 fe58d96e50e33b05f2a45f1493eca39ec9b3d030 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 cc968b9c9046769ddce574b0fc0ce4f525f25843 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 c92cd22d02349b73d169a3a2ff3b6fe7a54bfb0c 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 5ab65ca5c900557f508f62a260f9ea53d9d93f37 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 ea47a052ba7a097a98993c240ecea96a115f6c25 from master
2015-08-25 20:24:05 -04:00
Markus Holtermann
79bd15ef32 [1.8.x] Fixed style issues in testing docs
Backport of f33607ce0b744794f6ceafa1dddffbcb32e90978 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 20787b5c298d97dda10286a942a788423fed483f 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 d772d812cf583e0f99e21850f26addf1d59bfa35 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 5643a3b51be338196d0b292d5626ad43648448d3 and
81e1a35c364e5353d2bf99368ad30a4184fbb653.

Thanks Carl Meyer for review.

Backport of 5980b05c1fad69eef907e0076aa2dc837edab529 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 16a8d01308f8ca4a7b4673424059424ba3fe36c8 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 e8cd65f8297928d3fa7ad3d338953a4423028713 from master
2015-08-05 08:15:44 -04:00
Tim Graham
6f6043fd26 [1.8.x] Fixed #25212 -- Documented the RawSQL expression.
Backport of 97fa7fe961f961b6c93a11b50a7a1ed35c8bce8d from master
2015-08-05 08:15:30 -04:00
Alasdair Nicol
07546333c1 [1.8.x] Fixed password_reset signature in docs
Backport of 6d7a9d96fe57597719bc40491e3d428f01757ef3 from master
2015-08-04 13:57:45 -04:00
Caio Ariede
9f10c5cdf5 [1.8.x] Fixed #25136 -- Documented Count('X', distinct=True) in aggregate topic guide.
Backport of 3862c568ac1b920188ecfbe5cd8073160206d6b9 from master
2015-08-04 10:50:18 -04:00
Tim Graham
f5f03e3de9 [1.8.x] Clarified assertRaisesMessage() behavior with respect to the message.
Backport of 6bb4f07372fe748a701ad38e5c0d1182dab9e2c8 from master
2015-07-31 09:20:00 -04:00
Tim Graham
386a6dc3d7 [1.8.x] Fixed #25174 -- Moved some details of CheckMessage to the reference guide.
Backport of faa2a0f662ed6fe0b90d10e98cc8ee3795d9307c from master
2015-07-31 08:51:13 -04:00
Tim Graham
a66d843eec [1.8.x] Fixed #25159 -- Removed brackets from class/function/method signatures in docs.
Thanks hellbeast for the initial patch.

Backport of 87d55081ea398c65b2503d22ed3907a9175ec729 from master
2015-07-27 10:43:09 -04:00
Tim Graham
19ac8b2fe1 [1.8.x] Fixed #25166 -- Clarified how auth permissions are created.
Thanks Baptiste Mispelon for report and review.

Backport of 217f173be025d2cce6484c760ea6ec77436f26a1 from master
2015-07-25 09:32:38 -04:00
Tim Graham
65885f265a [1.8.x] Fixed malformed Sphinx directives.
Backport of e3d1f2422c49d7f65d017b8caa35215afe18f835 from master
2015-07-25 06:39:16 -04:00
James Bennett
432a0cde39 [1.8.x] Fixed #25156 -- Mentioned django.setup() in the settings overview for standalone Django use.
Backport of 5281f8b635f10b2839dc146d7e44f7d94d1955d8 from master
2015-07-21 17:10:56 -04:00
Tim Graham
e689873a69 [1.8.x] Normalized indentation and line lengths in docs/topics/auth/default.txt.
Backport of 5fd83db255500507484c5fedbd98763460a59656 from master
2015-07-21 08:30:51 -04:00
Rafał Selewońko
395b33a538 [1.8.x] Fixed typo in docs/topics/i18n/translation.txt
Backport of 8e306967dec222cfb5df036855a59ec29a4cbcb2 from master
2015-07-16 07:32:07 -04:00
Tim Graham
ad3a895432 [1.8.x] Fixed #25082 -- Documented where to register system checks.
Backport of 074a82f49b1443e66885ea861bbd2d2cb04af43e from master
2015-07-10 10:38:38 -04:00
Nick Sweeting
2733c32ba9 [1.8.x] Fixed #25083 -- Added SessionAuthenticationMiddleware to auth installation docs
Backport of f0857c09fb51b21afb3e55da53bce962466af6d3 from master
2015-07-10 08:41:18 -04:00
Tim Graham
ae1d663b79 [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. 2015-06-23 07:22:16 -04:00
Wim Feijen
7439039806 [1.8.x] Updated indentation of example template in docs/topics/i18n/translation.txt.
Backport of 514b69cb9e1ec08f22f04a6a2ed29b130cb42258 from master
2015-06-22 15:42:30 -04:00