Tim Graham
7c0c3fb6b1
[1.10.x] Fixed #27013 -- Clarified commands to install argon2/bcrypt packages.
...
Backport of 9f27735612 from master
2016-08-19 19:23:51 -04:00
Tim Graham
33783a9e06
[1.10.x] Fixed #26571 -- Corrected recommendation for converting timestamps to tz-aware datetimes.
...
Backport of d60386d0f5 from master
2016-08-19 14:47:38 -04:00
Brightcells
557c1a6a42
[1.10.x] Replaced old DateTimeAwareJSONEncoder with DjangoJSONEncoder in docs.
...
Backport of d301c61bcb from master
2016-08-19 09:16:31 -04:00
Mattias Loverot
04f0c2ab39
[1.10.x] Fixed #27069 -- Doc'd which gettext functions may be aliased as _.
...
Backport of 35ea6d83c8 from master
2016-08-17 16:35:19 -04:00
Tim Graham
8df2da3637
[1.10.x] Fixed #19222 -- Documented that default managers aren't used for related queries.
...
Backport of 8fb53c50ce from master
2016-08-16 13:13:10 -04:00
Timothy Allen
7d11d61087
[1.10.x] Documented how allow_migrate() interacts with makemigrations.
...
Backport of df92f6f2e3 from master
2016-08-15 13:35:05 -04:00
Kevin Christopher Henry
80e0ff7f91
[1.10.x] Documented the cache_control() decorator.
...
Backport of b785927b44 from master
2016-08-11 16:48:43 -04:00
Tim Graham
ff1f46444c
[1.10.x] Clarified session verification with respect to the current session.
...
Backport of 4c2a6fe75b from master
2016-08-11 12:12:26 -04:00
an0o0nym
c52350bc6c
[1.10.x] Fixed #26957 -- Corrected authenticate() docs regarding User.is_active.
...
Backport of c412aaca73 from master
2016-08-10 19:52:49 -04:00
Tim Graham
3fff7d3abb
[1.10.x] Fixed #27045 -- Documented that AUTH_PASSWORD_VALIDATORS aren't applied at the model level.
...
Backport of 796cc62026 from master
2016-08-10 15:52:37 -04:00
Ville Skyttä
630613d719
[1.10.x] Fixed #27041 -- Documented that built-in middleware are compatible with MIDDLEWARE and MIDDLEWARE_CLASSES.
...
Backport of f95bd89e82 from master
2016-08-09 08:07:01 -04:00
Chris Jerdonek
bfd8f16fbd
[1.10.x] Edited docs of test.utils.setup/teardown_test_environment().
...
Backport of 42f9d65107 from master
2016-08-05 17:41:49 -04:00
Liz Lemon
0d82389adf
[1.10.x] Edited multi-db topic guide for grammar and clarity.
...
Backport of ea65c7cb48 from master
2016-08-05 12:56:12 -04:00
Tim Graham
a4df6577df
[1.10.x] Fixed #26925 -- Linked aggregation ordering topic from Meta.ordering docs.
...
Backport of 3aaf6cf0f3 from master
2016-07-25 06:25:26 -04:00
Preetham Nosum
b4fa102503
[1.10.x] Fixed #18348 -- Documented SesssionStore.create()
...
Backport of 32cf01c1c1 from master
2016-07-22 17:18:40 -04:00
Md. Sadaf Noor
5d8332aaee
[1.10.x] Fixed #26831 -- Documented session data must be JSON encodable for JSONSerializer.
...
Backport of 1f82b857ce from master
2016-07-12 13:46:49 -04:00
Tim Graham
48a570164e
[1.10.x] Fixed capitalization of "URL pattern".
...
Backport of 415ae960bb from master
2016-07-06 15:31:44 -04:00
Taylor Edmiston
87940f1f3c
[1.10.x] Fixed typo in docs/topics/class-based-views/generic-display.txt
...
Backport of 43d0345fe1 from master
2016-07-06 08:49:02 -04:00
Jiang Haiyun
aa777cdaaa
[1.10.x] Fixed a typo in auth docs.
...
Backport of 6d61ec0e1a from master
2016-07-04 11:03:28 -04:00
Leila20
2847b22f29
[1.10.x] Fixed #26832 -- Added translated language name on the get_language_info documentation
...
Backport of de4265e082 from master
2016-07-02 20:50:51 -04:00
Harry Moreno
9c48e17480
[1.10.x] Added parallel test running to "Speeding up the tests" docs.
...
Backport of 30c65ee818 from master
2016-07-01 09:06:16 -04:00
Ramiro Morales
b2c28a3770
[1.10.x] Added missing trailing '$' to url() patterns in docs.
...
Backport of c962b9104a from master
2016-06-27 09:26:10 -04:00
John-Scott Atlakson
fbbdb070e4
[1.10.x] Fixed typo in docs/topics/logging.txt
...
Backport of 9a54face25 from master
2016-06-22 06:38:55 -04:00
Tim Graham
1b0b6f0342
[1.10.x] Refs #21379 , #26719 -- Moved username normalization to AbstractBaseUser.
...
Thanks Huynh Thanh Tam for the initial patch and Claude Paroz for review.
Backport of 39805686b3 from master
2016-06-21 16:20:00 -04:00
Tim Graham
44eaa2dac8
[1.10.x] Fixed typo in docs/topics/db/managers.txt
...
Backport of 00551c3eff from master
2016-06-20 09:07:51 -04:00
Trey Hunner
799fbc7235
[1.10.x] Added urlpatterns variable in docs/topics/http/urls.txt.
...
Backport of 91e9be45ed from master
2016-06-17 21:02:40 -04:00
Carl Meyer
69de988f92
[1.10.x] Refs #26601 -- Improved backwards-compatibility of DEP 5 middleware exception handling.
...
Backport of 7d1b69dbe7 from master
2016-06-17 15:55:55 -04:00
Jon Dufresne
13d60298ea
[1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite.
...
Backport of 4f336f6652 from master
2016-06-16 14:21:14 -04:00
Ville Skyttä
efe9874371
[1.10.x] Fixed broken links in docs and comments.
...
Backport of 96f97691ad from master
2016-06-15 21:20:38 -04:00
Ville Skyttä
61bcf04132
[1.10.x] Fixed #26754 -- Documented django.template.context_processors.tz
...
Backport of 7003174fec from master
2016-06-14 11:58:50 +02:00
Berker Peksag
3b75d1262e
[1.10.x] Fixed #21588 -- Corrected handler initialization in "modifying upload handlers" example.
...
Backport of 8f50ff5b15 from master
2016-06-09 12:51:57 -04:00
Tommy Beadle
b04e6ec7cb
[1.10.x] Fixed #26704 -- Documented DjangoJSONEncoder.
...
Backport of 729b9452b1 from master
2016-06-07 14:58:30 -04:00
Evan Palmer
101f999776
[1.10.x] Fixed #25127 -- Documented how to organize models in a package.
...
Backport of 84d8d1d715 from master
2016-06-04 11:48:16 -04:00
Berker Peksag
9e5b544713
[1.10.x] Used snippet directive in file upload example.
...
Backport of b9c04801d4 from master
2016-06-04 09:24:50 -04:00
Berker Peksag
27983d82c2
[1.10.x] Fixed #26604 -- Added a multiple file upload example to topics/http/file-uploads.txt.
...
Backport of 54febdb8be from master
2016-06-03 17:42:12 -04:00
Ed Henderson
521772ff07
[1.10.x] Fixed #26021 -- Applied hanging indentation to docs.
...
Backport of 4a4d7f980e from master
2016-06-03 11:49:24 -04:00
Claude Paroz
5641a80d49
[1.10.x] Fixed #26337 -- Added i18n note about using a non-English base language
...
Thanks Cristiano Coelho for the report and Tim Graham for the review.
Backport of f6fefbf8cb from master.
2016-06-02 20:58:18 +02:00
Berker Peksag
ccea4a44c2
[1.10.x] Fixed #26503 -- Removed an outdated example from session docs.
...
Backport of 698c8dfc2a from master
2016-05-31 07:21:16 -04:00
Tim Graham
23e106bb72
[1.10.x] Refs #22634 -- Removed unneeded app_label in custom session engine example.
...
Backport of cc0d1eaaea from master
2016-05-28 17:33:28 -04:00
Bas Westerbaan
c6aa941978
[1.10.x] Fixed #26635 -- Clarified Argon2PasswordHasher's memory_cost differs from command line utility.
...
Backport of 9407cc966b from master
2016-05-27 18:37:37 -04:00
Sergey Fedoseev
f38e950685
[1.10.x] Fixed typo in docs/topics/forms/modelforms.txt
...
Backport of 26794f6657 from master
2016-05-27 10:31:53 -04:00
MariKiev
699e43b017
[1.10.x] Added imports to docs/topics/db/aggregation.txt example.
...
Backport of 30d110ef43 from master
2016-05-25 09:57:44 -04:00
Shai Berger
5112e65ef2
Fixed #20869 -- made CSRF tokens change every request by salt-encrypting them
...
Note that the cookie is not changed every request, just the token retrieved
by the `get_token()` method (used also by the `{% csrf_token %}` tag).
While at it, made token validation strict: Where, before, any length was
accepted and non-ASCII chars were ignored, we now treat anything other than
`[A-Za-z0-9]{64}` as invalid (except for 32-char tokens, which, for
backwards-compatibility, are accepted and replaced by 64-char ones).
Thanks Trac user patrys for reporting, github user adambrenecki
for initial patch, Tim Graham for help, and Curtis Maloney,
Collin Anderson, Florian Apolloner, Markus Holtermann & Jon Dufresne
for reviews.
2016-05-19 05:02:19 +03:00
Florian Apolloner
9baf692a58
Fixed #26601 -- Improved middleware per DEP 0005.
...
Thanks Tim Graham for polishing the patch, updating the tests, and
writing documentation. Thanks Carl Meyer for shepherding the DEP.
2016-05-17 07:22:22 -04:00
Loïc Bistuer
ed0ff913c6
Fixed #10506 , #13793 , #14891 , #25201 -- Introduced new APIs to specify models' default and base managers.
...
This deprecates use_for_related_fields.
Old API:
class CustomManager(models.Model):
use_for_related_fields = True
class Model(models.Model):
custom_manager = CustomManager()
New API:
class Model(models.Model):
custom_manager = CustomManager()
class Meta:
base_manager_name = 'custom_manager'
Refs #20932 , #25897 .
Thanks Carl Meyer for the guidance throughout this work.
Thanks Tim Graham for writing the docs.
2016-05-17 12:07:22 +07:00
Loïc Bistuer
3a47d42fa3
Fixed #20932 , #25897 -- Streamlined manager inheritance.
2016-05-17 02:29:22 +07:00
Claude Paroz
9935f97cd2
Refs #21379 -- Normalized unicode username inputs
2016-05-16 19:38:02 +02:00
Aron Podrigal
85ef98dc6e
Fixed #24305 -- Allowed overriding fields on abstract models.
...
Fields inherited from abstract base classes may be overridden like
any other Python attribute. Inheriting from multiple models/classes
with the same attribute name will follow the MRO.
2016-05-16 07:32:21 -04:00
Tim Graham
e475e84970
Refs #26021 -- Used hanging indentation in some doc examples.
2016-05-14 19:06:31 -04:00
Tim Graham
5238af3257
Used 'classmethod' annotation in docs/topics/auth/customizing.txt
2016-05-14 18:58:09 -04:00