Commit graph

2207 commits

Author SHA1 Message Date
Alex Morozov
361038ee03 [1.9.x] Fixed #25710 -- Clarified the docs about what INTERNAL_IPS does.
Backport of 5abed864ee from master
2015-11-17 10:18:03 -05:00
Agnieszka Lasyk
b3389956c9 [1.9.x] Fixed #25755 -- Unified spelling of "website".
Backport of 1f8dad6915 from master
2015-11-16 06:44:46 -05:00
Anderson Resende
0ec328509c [1.9.x] Fixed #25744 -- Corrected reference to User object in auth docs.
Backport of ce4914eab4 from master
2015-11-12 19:23:50 -05:00
Bryan Marty
8e23527075 [1.9.x] Fixed #25169 -- Documented stacking of permission_required and login_required.
Backport of 9788625277 from master
2015-11-12 14:25:29 -05:00
Tim Graham
16865782d7 [1.9.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:13 -05:00
Tim Graham
f10226232f [1.9.x] Fixed #25727 -- Added a doc link to cached_property.
Backport of e0de82c9b2 from master
2015-11-10 13:29:00 -05:00
Thijs van Dien
f5e1d72de2 [1.9.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 21:59:59 +01:00
Tim Graham
1eb2ff3ff7 [1.9.x] Fixed #25290 -- Warned against modifying objects created in setUpTestData() in tests.
Backport of 81006b9657 from master
2015-11-07 20:33:49 +01:00
Attila Tovt
a98d08f9f8 [1.9.x] Fixed #25681 -- Added 'default' to DATABASES example.
Backport of ac750dbbc0 from master
2015-11-07 11:10:00 +01:00
japrogramer
ed3e066cc1 [1.9.x] Fixed typo in docs/topics/auth/default.txt.
Backport of a10cbbbc17 from master
2015-11-03 08:57:03 +00:00
Tomasz Anielak
f1859d9100 [1.9.x] Fixed typo in docs/topics/db/models.txt.
Backport of b67502fb8d from master
2015-10-31 08:53:45 -04:00
Bryan Marty
a09a889a57 [1.9.x] Fixed #24212 -- Added example pylibmc CACHES configuration.
Backport of ad67fcdf51 from master
2015-10-30 13:45:47 -04:00
bee_keeper
7b03595489 [1.9.x] Added class-based view example to RequestFactory example.
Backport of a17216646a from master
2015-10-30 13:14:20 -04:00
Bryan Marty
44f177b5cd [1.9.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:46:45 -04:00
Tim Graham
411b8da362 [1.9.x] Made LiveServerTestCase example use StaticLiveServerTestCase.
Backport of 6b5ae92927 from master
2015-10-28 13:51:22 -04:00
Jacek Bzdak
488538e55e [1.9.x] Fixed #25397 -- Documented class-based view context variable clash with context processors.
Backport of 494b7986a3 from master
2015-10-23 15:24:14 -04:00
薛丞宏
2eab4acb3e [1.9.x] Clarified that the test client response content attribute is bytes.
Backport of 484edc81c1 from master
2015-10-23 14:27:20 -04:00
Benjamin Wohlwend
c367abb11b [1.9.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:22 -04:00
Tim Graham
02f3084f4e [1.9.x] Fixed #25584 -- Documented a pip error when installing Django 1.9.
Backport of ee66d8dd7d from master
2015-10-22 10:09:04 -04:00
Tim Graham
2c11002fec [1.9.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:36:57 -04:00
Claude Paroz
c894f215e2 [1.9.x] Added some function links in translation docs
Backport of 9a6fc9606c from master.
2015-10-07 17:31:28 +02:00
John Moses
6a582d35f2 [1.9.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:48 -04:00
David Sanders
d6632f2111 [1.9.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:37 -04:00
David Sanders
60fe6efe50 [1.9.x] Improved "“standalone” Django usage" example.
Backport of ae9f9dc37f from master
2015-09-29 15:09:28 -04:00
Tim Graham
e21c6f34de [1.9.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:50 -04:00
Tim Graham
0094fb6be8 [1.9.x] Documented auth's login/logout function parameters.
Backport of c14b6b52ff from master
2015-09-28 14:12:32 -04:00
Tim Graham
260e9f15fe [1.9.x] Fixed #25462 -- Removed Model.__unicode__() in favor of @python_2_unicode_compatible.
Backport of de99f558d8 from master
2015-09-25 15:36:05 -04:00
Tim Graham
f2f4f1cfff [1.9.x] Fixed #25451 -- Added advice about organizing tests.
Backport of 53e89ce2e7 from master
2015-09-25 07:15:50 -04:00
Tim Graham
ca2c5508be [1.9.x] Fixed #25455 -- Optimized dictfetchall() example.
Thanks aklim007 for the suggestion.

Backport of 361f60479d from master
2015-09-24 13:19:17 -04:00
Don Kirkby
dcd7358afd Fixed typo in docs/topics/db/examples/one_to_one.txt 2015-09-23 13:31:14 -04:00
Tim Graham
b1f6046066 Refs #25373 -- Doc'd logging of exceptions during {% include %} rendering. 2015-09-23 11:48:09 -04:00
Tim Graham
cb1e779ceb Refs #24115 -- Added docs for password updates on bcrypt rounds change. 2015-09-22 19:30:31 -04:00
Rik
6e51d5d0e5 Added link to Babel's message extracting functionality. 2015-09-22 08:54:24 -04:00
Aymeric Augustin
91e9f1c972 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).
2015-09-21 22:21:53 +02:00
Moritz Sichert
2f53d342f1 Fixed #12856 -- Documented BoundField API. 2015-09-21 08:42:14 -04:00
Markus Holtermann
43f2eb7ef3 Fixed #25390 -- Allowed specifying a start migration in squashmigrations
Thanks Tim Graham for the review.
2015-09-19 14:55:34 +10:00
fabrizio ettore messina
186eb21dc1 Fixed #25269 -- Allowed method_decorator() to accept a list/tuple of decorators. 2015-09-18 19:04:29 -04:00
sujayskumar
d8d853378b Fixed #24944 -- Added extra_email_context parameter to password_reset() view. 2015-09-18 18:56:04 -04:00
Aymeric Augustin
326bc0955b Allowed a port range for the liveserver by default.
This is required for running tests in parallel.
2015-09-09 23:01:16 +02:00
Aymeric Augustin
6d1110f2f0 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.
2015-09-05 19:21:22 +02:00
Maarten
fe58d96e50 Fixed #25355 -- Made two tweaks to docs/topics/db/aggregation.txt. 2015-09-05 10:19:38 -04:00
David Sanders
cc968b9c90 Added links to new security settings introduced in 1.8. 2015-09-04 12:55:32 -04:00
Maxime Lorant
c92cd22d02 Refs #25345 -- Updated links to code.google.com. 2015-09-04 08:14:21 -04:00
Dražen Odobašić
5ab65ca5c9 Fixed #25326 -- Added namedtuple example for executing custom SQL. 2015-09-03 13:11:46 -04:00
Tyson Clugg
73df1040a2 Cleaned up example migration files in docs 2015-08-31 22:15:05 +10:00
Tyson Clugg
e34226fc37 Fixed #25259 -- Added comments to header of generated migration files 2015-08-31 22:14:21 +10:00
David Sanders
7a98442f96 Clarified 404.html usage, excplicitly stated that it's used when DEBUG is False
Thanks to Keryn Knight, Curtis Maloney and Tim Graham for their reviews.
2015-08-31 14:39:31 +10:00
Sergey Kolosov
22bb548900 Fixed #22634 -- Made the database-backed session backends more extensible.
Introduced an AbstractBaseSession model and hooks providing the option
of overriding the model class used by the session store and the session
store class used by the model.
2015-08-27 15:00:09 -04:00
Tim Graham
956df84a61 Removed historical note about session serialization. 2015-08-27 10:00:18 -04:00
Tim Graham
ea47a052ba Fixed #25311 -- Removed vague language about "partial commits" from docs. 2015-08-25 20:23:43 -04:00