Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

2.2upgrade #2

Open
wants to merge 3,180 commits into
base: nimbis
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3180 commits
Select commit Hold shift + click to select a range
430f7e9
[2.2.x] Removed redundant object descriptions to prevent warnings wit…
felixxm Jun 3, 2019
d5d22e1
[2.2.x] Changed charset and collation link to MySQL docs.
Jun 11, 2019
36766e1
[2.2.x] Fixed #30486 -- Fixed the default value of Aggregate.distinct…
vertliba May 16, 2019
13e6040
[2.2.x] Fixed intword example in docs/ref/contrib/humanize.txt.
jdufresne Jun 11, 2019
26c1214
[2.2.x] Fixed an example of email with display name in EmailMessage.f…
Apr 29, 2019
1ce0428
[2.2.x] Fixed typos and example in signals.pre_init docs.
hramezani Jun 18, 2019
c3a9d30
[2.2.x] Fixed typos in signals and custom management commands docs.
hramezani Jun 18, 2019
c3a0f76
[2.2.x] Fixed #30547 -- Doc'd how Meta.constraints affect model valid…
Swat009 Jun 20, 2019
d200069
[2.2.x] Refs #30565 -- Doc'd HttpResponse.close() method.
cjerdonek Jun 19, 2019
e6b2471
[2.2.x] Fixed typos in 1.11.19, 2.0.11, 2.1.6 release notes.
jdufresne Jun 21, 2019
2525785
[2.2.x] Bumped minimum ESLint version to 4.18.2.
MarkusH Jun 21, 2019
3b2701e
[2.2.x] Removed unneeded non-breaking spaces added in 00169bc36
claudep Jun 22, 2019
f3b0365
[2.2.x] Fixed typo in docs/ref/models/indexes.txt.
chexex Jun 24, 2019
04965bf
[2.2.x] Fixed typo in docs/topics/db/models.txt.
meysam81 Jun 24, 2019
bdc1de2
[2.2.x] Fixed #30588 -- Fixed crash of autoreloader when __main__ mod…
orf Jun 26, 2019
b3f7262
[2.2.x] Updated translations from Transifex
claudep Jun 29, 2019
395cf7c
[2.2.x] Fixed GeoIPTest.test04_city() failure with the latest GeoIP2 …
felixxm Jun 27, 2019
db9f7b4
[2.2.x] Added stub release notes for security releases.
felixxm Jun 20, 2019
77706a3
[2.2.x] Fixed CVE-2019-12781 -- Made HttpRequest always trust SECURE_…
carltongibson Jun 13, 2019
4f2713f
[2.2.x] Added release date for 2.2.3.
felixxm Jul 1, 2019
93e719e
[2.2.x] Updated man page for Django 2.2.
felixxm Jul 1, 2019
89e9a4a
[2.2.x] Bumped version for 2.2.3 release.
felixxm Jul 1, 2019
5d39f62
[2.2.x] Post-release version bump.
felixxm Jul 1, 2019
2b533ae
[2.2.x] Added CVE-2019-12781 to the security release archive.
felixxm Jul 1, 2019
b9d1bb6
[2.2.x] Fixed #30589 -- Clarified that urlize should be applied only …
aitoehigie Jun 29, 2019
b6d8957
[2.2.x] Fixed #28588 -- Doc'd User.has_perm() & co. behavior for acti…
carltongibson Jul 2, 2019
7d52d05
[2.2.x] Fixed #28667 -- Clarified how to override list of forms field…
Swat009 Jun 26, 2019
0ea952e
[2.2.x] Fixed #30600 -- Clarified that ValueError raised by converter…
Jul 3, 2019
b593c39
[2.2.x] Added stub release notes for 2.2.4.
felixxm Jul 9, 2019
8f0b9e7
[2.2.x] Fixed typos in docs/ref/django-admin.txt.
felixxm Jul 9, 2019
9dee851
[2.2.x] Fixed #30628 -- Adjusted expression identity to differentiate…
charettes Jul 9, 2019
1088a97
[2.2.x] Fixed #30621 -- Fixed crash of __contains lookup for Date/Dat…
felixxm Jul 10, 2019
a39365c
[2.2.x] Doc'd --no-input option for createsuperuser.
hramezani Jul 11, 2019
de19a60
[2.2.x] Fixed explanation of how to automatically create tables in da…
frankwiles Jul 13, 2019
d58cde7
[2.2.x] Updated WSGI servers ordering according to the more commonly …
frankwiles Jul 16, 2019
4814db4
[2.2.x] Fixed heading level typo in docs/ref/contrib/postgres/fields.…
felixxm Jul 16, 2019
0088e59
[2.2.x] Refs #30547 -- Clarified that partial UniqueConstraints don't…
felixxm Jul 18, 2019
de2635f
[2.2.x] Fixed #30648 -- Removed unnecessary overriding get_context_da…
gachdavit Jul 18, 2019
fa3ae44
[2.2.x] Refs #30083 -- Clarified database state of instances in signa…
felixxm Jul 19, 2019
506f800
[2.2.x] Refs #30083 -- Added a warning about performing queries in pr…
felixxm Jul 19, 2019
2d2859b
[2.2.x] Fixed #30506 -- Fixed crash of autoreloader when path contain…
orf Jul 21, 2019
61d4a15
[2.2.x] Fixed typo in docs/topics/http/sessions.txt.
terminator14 Jul 23, 2019
4d6449e
[2.2.x] Fixed #30647 -- Fixed crash of autoreloader when extra direct…
orf Jul 21, 2019
ea57c8a
[2.2.x] Added stub release notes for security releases.
carltongibson Jul 25, 2019
b4139ed
[2.2.x] Refs #30656 -- Reorganized bulk methods in the database optim…
MisterRios Jul 26, 2019
f9462f4
[2.2.x] Fixed #30656 -- Added QuerySet.bulk_update() to the database …
MisterRios Jul 26, 2019
c328971
[2.2.X] Fixed CVE-2019-14232 -- Adjusted regex to avoid backtracking …
apollo13 Jul 15, 2019
e34f3c0
[2.2.x] Fixed CVE-2019-14233 -- Prevented excessive HTMLParser recurs…
apollo13 Jul 15, 2019
4f5b58f
[2.2.x] Fixed CVE-2019-14234 -- Protected JSONField/HStoreField key a…
felixxm Jul 22, 2019
cf694e6
[2.2.x] Fixed CVE-2019-14235 -- Fixed potential memory exhaustion in …
apollo13 Jul 19, 2019
8687fbe
[2.2.x] Bumped version for 2.2.4 release.
carltongibson Aug 1, 2019
7c65adf
[2.2.x] Post-release version bump.
carltongibson Aug 1, 2019
928d596
[2.2.x] Added CVE-2019-14232 to the security release archive.
carltongibson Aug 1, 2019
859d1d1
[2.2.x] Added CVE-2019-14233 to security release archive.
carltongibson Aug 1, 2019
3bfa2f9
[2.2.x] Added CVE-2019-14234 to security release archive.
carltongibson Aug 1, 2019
68cc954
[2.2.x] Added CVE-2019-14235 to security release archive.
carltongibson Aug 1, 2019
5b294d3
[2.2.x] Corrected StreamingHttpResponse.streaming_content description…
niauah Jul 30, 2019
2c66f34
[2.2.x] Added stub release notes for 2.2.5.
felixxm Aug 2, 2019
1265a26
[2.2.x] Fixed #30673 -- Relaxed system check for db_table collision w…
uadnan Aug 3, 2019
c5cbb79
[2.2.x] Fixed #30688 -- Clarified base_manager_name docs.
carltongibson Aug 9, 2019
8a3a328
[2.2.x] Fixed #30670 -- Doc'd SchemaEditor.add/remove_constraint().
akash1997 Aug 11, 2019
be4a2a0
[2.2.x] Fixed #30696 -- Removed obsolete mention of CheckConstraint i…
akash1997 Aug 10, 2019
52a7759
[2.2.x] Fixed #30672 -- Fixed crash of JSONField/HStoreField key tran…
felixxm Aug 14, 2019
c2732e6
[2.2.x] Fixed #30449 -- Fixed RelatedFieldListFilter/RelatedOnlyField…
zeyneloz Aug 15, 2019
6624a3d
[2.2.x] Fixed test_json.TestQuerying.test_key_transform_expression() …
felixxm Aug 15, 2019
556cef1
[2.2.x] Fixed #30694 -- Documented FileResponse does not seek its fil…
claudep Aug 17, 2019
9ecff12
[2.2.x] Fixed broken links to Dive Into Python 3 book.
Aug 18, 2019
98464dd
[2.2.x] Fixed broken links and redirects to OGR library in docs.
felixxm Aug 19, 2019
4a24fe9
[2.2.x] Removed outdated examples of flatpages served sites.
garrypolley Aug 19, 2019
0dc3ad1
[2.2.x] Fixed #30695 -- Used relative path in default_storage docs ex…
Harrison88 Aug 20, 2019
9b7c5a9
[2.2.x] Fixed broken links and redirects in documentation.
francoisfreitag Aug 21, 2019
56f7a62
[2.2.x] Fixed typo in docs/ref/applications.txt.
AliMirlou Aug 23, 2019
6c17b86
[2.2.x] Doc'd for_save argument of Expression.resolve_expression().
schinckel Aug 27, 2019
6402855
[2.2.x] Fixed #30500 -- Fixed race condition in loading URLconf module.
orf Aug 25, 2019
16e5e8f
[2.2.x] Fixed #30733 -- Doc'd that datetime lookups require time zone…
recvfrom Aug 27, 2019
11cdfb3
[2.2.x] Fixed #30738 -- Fixed typo in docs/ref/forms/widgets.txt.
Aug 31, 2019
4ed59db
[2.2.x] Added release dates for 2.2.5, 2.1.12, and 1.11.24.
felixxm Sep 2, 2019
8514c6f
[2.2.x] Updated man page for Django 2.2.
felixxm Sep 2, 2019
ce97960
[2.2.x] Bumped version for 2.2.5 release.
felixxm Sep 2, 2019
96f1d82
[2.2.x] Post-release version bump.
felixxm Sep 2, 2019
b71cabe
[2.2.x] Added stub release notes for 2.2.6.
felixxm Sep 4, 2019
23946bd
[2.2.x] Changed example git clone URLs to use HTTPS.
minho42 Sep 4, 2019
dee22a0
[2.2.x] Refs #30573 -- Noted to avoid "simple" & co. in Writing Style…
carltongibson Sep 5, 2019
fe33dd6
[2.2.x] Fixed typo in docs/internals/contributing/writing-documentati…
felixxm Sep 5, 2019
1f304eb
[2.2.x] Fixed #30767 -- Improved references to deployment documentation.
glasnt Sep 9, 2019
be053c0
[2.2.x] Standardized links for headers in security middleware documen…
ngnpope Mar 24, 2019
964dd4f
[2.2.x] Fixed #30754 -- Prevented inclusion of aliases in partial ind…
charettes Sep 9, 2019
1864d61
[2.2.x] Fixed typos in docs/ref/settings.txt.
falkben Sep 13, 2019
f452d42
[2.2.x] Fixed #29823 -- Doc'd limitation of DecimalField on SQLite.
claudep Sep 8, 2019
e4fb132
[2.2.x] Added stub release notes for 1.11.25 and 2.1.13.
felixxm Sep 16, 2019
7806e45
[2.2.x] Fixed #30769 -- Fixed a crash when filtering against a subque…
charettes Sep 16, 2019
242805c
[2.2.x] Fixed #30775 -- Added admonition about missing imports to "Ru…
glasnt Sep 14, 2019
268e7c7
[2.2.x] Fixed #27462 -- Clarifed pk_set difference in m2m_changed sig…
carltongibson Sep 18, 2019
ae2dee6
[2.2.x] Refs #29915 -- Doc'd limitation of using pattern lookups with…
felixxm Sep 19, 2019
62a4a50
[2.2.x] Fixed #30732 -- Doc'd that SameSite cookies flags can affect …
jezeniel Sep 16, 2019
29d2f5a
[2.2.x] Refs #26601 -- Used new-style middlewares in documentation.
claudep Sep 24, 2019
f314ceb
[2.2.x] Updated the default cache key transformation in documentation.
tubaman Sep 24, 2019
acc0d99
[2.2.x] Refs #30350 -- Doc'd support for range serialization in migra…
felixxm Sep 24, 2019
80d78fd
[2.2.x] Documented admonition on when to use custom signals
adamchainz Sep 25, 2019
38af257
[2.2.x] Fixed #30810 -- Fixed WatchmanReloaderTests.test_setting_time…
poligarcia Sep 26, 2019
b1eea8a
[2.2.x] Fixed #27921 -- Clarified usage of make_aware() with is_dst a…
paqman85 Sep 26, 2019
a6972e8
[2.2.x] Fixed #30216 -- Doc'd that BooleanField is no longer blank=Tr…
davidmgvaz Sep 27, 2019
1ac2f25
[2.2.x] Refs #30597 -- Added a warning about dependent apps when unap…
davidmgvaz Sep 27, 2019
4116b36
[2.2.x] Fixed #30597 -- Clarified how to unapply migrations.
davidmgvaz Sep 26, 2019
43c894f
[2.2.x] Doc'd that migrate commmand accepts a unique migration name p…
davidmgvaz Sep 27, 2019
e1a75db
[2.2.x] Added release dates for 2.2.6, 2.1.13, and 1.11.25.
carltongibson Oct 1, 2019
b0654fd
[2.2.x] Bumped version for 2.2.6 release.
carltongibson Oct 1, 2019
a00d823
[2.2.x] Post-release version bump.
carltongibson Oct 1, 2019
c3302c7
[2.2.x] Added stub release notes for 2.2.7.
carltongibson Oct 1, 2019
18df848
[2.2.x] Added stub release notes for 1.11.26 and 2.1.14.
felixxm Oct 2, 2019
da31472
[2.2.x] Fixed #30817 -- Clarified return value of Sitemap.items().
Sjbrgsn Sep 30, 2019
09013aa
[2.2.x] Refs #28699 -- Clarified CSRF middleware ordering in relation…
carltongibson Oct 2, 2019
8ac918a
[2.2.x] Refs #30010 -- Doc'd running tests with django-docker-box.
KatherineMichel Sep 26, 2019
f5f4c28
[2.2.x] Refs #15396 -- Mentioned full path to GZipMiddleware in docum…
mayela Sep 26, 2019
146086f
[2.2.x] Fixed #30834 -- Added explicit list of supported databases to…
glasnt Oct 3, 2019
98573cf
[2.2.x] Refs #10348 -- Doc'd that ModelAdmin ignores list_select_rela…
tamers Sep 29, 2019
46a05e1
[2.2.x] Fixed #28273 -- Doc'd fast nullable column creation with defa…
caioariede Oct 4, 2019
5e91adc
[2.2.x] Fixed #28790 -- Doc'd how to avoid running certain test class…
caioariede Jun 5, 2019
9763ed7
[2.2.x] Fixed #30858 -- Clarified that AdminEmailHandler processes al…
carltongibson Oct 9, 2019
8c1b492
[2.2.x] Fixed #11097 -- Added note about parent link fields in formse…
veryhappythings Oct 8, 2019
67bfedd
[2.2.x] Corrected section indentation in unit tests contributor docs.
carltongibson Sep 27, 2019
c22945f
[2.2.x] Added note to check Python version in unit tests troubleshoot…
carltongibson Oct 9, 2019
4f7ba25
[2.2.x] Fixed #27086 -- Doc'd fix for test suite hang on macOS.
khink Oct 9, 2019
323467e
[2.2.x] Fixed #30826 -- Fixed crash of many JSONField lookups when on…
louiseGrandjonc Oct 1, 2019
d4d37d0
[2.2.x] Clarified that SECURE_REDIRECT_EXEMPT patterns should not inc…
rfleschenberg Sep 10, 2019
d2f02aa
[2.2.x] Fixed #30870 -- Fixed showing that RunPython operations are i…
felixxm Oct 14, 2019
f037ae1
[2.2.x] Refs #26207 -- Removed obsolete note about slow constructing …
charettes Oct 14, 2019
4dc3192
[2.2.x] Fixed #30808 -- Added the Django Forum to contributing index.
grahamhealy20 Oct 4, 2019
5733504
[2.2.x] Fixed #30816 -- Doc'd how to create projects with a local cop…
awtimmering Oct 12, 2019
26ac7ae
[2.2.x] Moved "Sign the CLA" to the bottom of New Contributor First S…
carltongibson Oct 15, 2019
aa28213
[2.2.x] Refs #28436 -- Corrected docs regarding MySQL support of dist…
felixxm Oct 16, 2019
43bc59c
[2.2.x] Refs #13724 -- Corrected QuerySet signature in docs.
Rusox89 Oct 22, 2019
c7f4a7d
[2.2.x] Added tblib to the list of test suite dependencies in documen…
felixxm Oct 23, 2019
7fe09e6
[2.2.x] Fixed #30903 -- Fixed migrations crash on PostgreSQL when add…
hannseman Oct 23, 2019
9d627bf
[2.2.x] Fixed #30906 -- Fixed an example of using the template system…
hramezani Oct 25, 2019
fb77d53
[2.2.x] Fixed #30904 -- Doc'd caveat about using filtered queryset wi…
Oct 24, 2019
48df402
[2.2.x] Refs #30908 -- Fixed the empty value of forms.FilePathField i…
felixxm Oct 25, 2019
4c0979b
[2.2.x] Documented the order in which signal receivers are called.
adamchainz Oct 28, 2019
4d992bc
[2.2.x] Fixed typo in docs/topics/files.txt.
felixxm Oct 29, 2019
4cc1549
[2.2.x] Fixed #13750 -- Clarified need to reopen models.ImageField.im…
hramezani Oct 25, 2019
9d15f1e
[2.2.x] Fixed #30917 -- Clarified formsets topic documentation.
KenWhitesell Oct 30, 2019
972eef6
[2.2.x] Fixed #30927 -- Simplified an example of test for the depreca…
aericson Oct 29, 2019
3ca4457
[2.2.x] Corrected error message in Many-to-many relationships docs.
felixxm Oct 30, 2019
eb8a53c
[2.2.x] Fixed typo in docs/ref/signals.txt.
gforcada Oct 30, 2019
785d170
[2.2.x] Fixed #30931 -- Restored ability to override Model.get_FIELD_…
carltongibson Oct 31, 2019
6f26693
[2.2.x] Added release dates for 2.2.7, 2.1.14, and 1.11.26.
felixxm Nov 4, 2019
1cbf607
[2.2.x] Updated man page for Django 2.2.
felixxm Nov 4, 2019
27f2b44
[2.2.x] Bumped version for 2.2.7 release.
felixxm Nov 4, 2019
a43f71e
[2.2.x] Post-release version bump.
felixxm Nov 4, 2019
24a0ce1
[2.2.x] Updated list of field types conversions in ModelForm docs.
adamchainz Nov 1, 2019
a7f90d9
[2.2.x] Refs #30947 -- Changed tuples to lists in model Meta options …
felixxm Nov 4, 2019
406fb33
[2.2.x] Refs #30923 -- Fixed an example of rendering templates in con…
alasdairnicol Nov 5, 2019
22466f9
[2.2.x] Fixed #30928 -- Clarified MySQL/MariaDB support of QuerySet.s…
kola-er Nov 4, 2019
4325239
[2.2.x] Fixed #30944 -- Changed reusable apps docs to use a declarati…
jdufresne Nov 2, 2019
9f81af4
[2.2.x] Added a link to the file email backend from EMAIL_FILE_PATH s…
jdufresne Nov 6, 2019
8b14545
[2.2.x] Documented arguments for custom 500 error view.
DanielSwain Nov 5, 2019
7a13f06
[2.2.x] Fixed #15742 -- Fixed an example of collecting selected objec…
danthedeckie Nov 4, 2019
398a9f4
[2.2.x] Fixed #30865 -- Doc'd that not all DATABASES['OPTIONS'] are p…
farhaanbukhsh Oct 31, 2019
a39db53
[2.2.x] Replaced 'n_' prefix with 'number_of_' in docs/topics/db/quer…
rfleschenberg Nov 6, 2019
5ad97e5
[2.2.x] Fixed #30955 -- Doc'd that only concrete base models are stor…
fengsp Nov 8, 2019
a2305a0
[2.2.x] Doc'd archiving historical branches as git tags.
carltongibson Nov 8, 2019
3627fc5
[2.2.x] Refs #30948 -- Updated install instructions to use pip instea…
jdufresne Nov 7, 2019
f55f89f
[2.2.x] Fixed #30958 -- Used a clearer example in the Cast() docs.
farhaanbukhsh Nov 10, 2019
6429d71
[2.2.x] Fixed #30252 -- Clarified need to reopen forms.fields.ImageFi…
hramezani Oct 22, 2019
612c2d1
[2.2.x] Fixed typo in docs/topics/files.txt.
felixxm Nov 11, 2019
afde973
[2.2.x] Fixed #30828 -- Added how to remove/insert many-to-many relat…
davidfstr Oct 20, 2019
90c730d
[2.2.x] Added stub release notes for 2.2.8 release.
felixxm Nov 12, 2019
8eda248
[2.2.x] Refs #29926 -- Bumped minimum tblib version to 1.5.0 in test …
felixxm Nov 12, 2019
cc3516d
[2.2.x] Refs #29926 -- Added Python 3.8 to classifiers and tox.ini.
Djailla Oct 24, 2019
622158b
[2.2.x] Refs #29926 -- Doc'd Python 3.8 compatibility in Django 2.2.x.
felixxm Nov 12, 2019
d5e8ad0
[2.2.x] Fixed #30990 -- Fixed example output in 'z' date format docs.
bmispelon Nov 15, 2019
da18662
[2.2.x] Expanded API stability docs to include our policy of continua…
spookylukey Nov 15, 2019
c31252f
[2.2.x] Fixed #30999 -- Fixed typo in docs/howto/custom-template-tags…
hramezani Nov 19, 2019
4082f07
[2.2.x] Added stub release notes for 2.1.15.
felixxm Nov 19, 2019
11e4200
[2.2.x] Fixed #27164 -- Fixed an example of using routers in multiple…
caioariede Nov 18, 2019
9c0fed5
[2.2.x] Made versionadded/versionchanged annotations without a conten…
sir-sigurd Nov 21, 2019
8a8ea93
[2.2.x] Fixed #30625 -- Doc'd cache.get()/delete() behavior change in…
hramezani Nov 21, 2019
ad56858
[2.2.x] Fixed #28469 -- Doc'd how to create a custom HttpResponse sub…
bmispelon Nov 22, 2019
f2f8e84
[2.2.x] Doc'd SpatiaLite support of 3D geometry fields.
sir-sigurd Nov 23, 2019
28dd536
[2.2.x] Fixed #31025 -- Fixed highlightlinenothreshold deprecation wa…
bmispelon Nov 25, 2019
2af6060
[2.2.x] Updated link to IBM DB2 backend.
sir-sigurd Nov 25, 2019
7873d37
[2.2.x] Fixed #31031 -- Fixed data loss in admin changelist view when…
bmispelon Nov 24, 2019
c2a8a69
[2.2.x] Used :ticket: role in all tickets links.
sir-sigurd Nov 25, 2019
e82a1bc
[2.2.x] Improved custom MultiWidget example in docs.
adamchainz Nov 23, 2019
3cf70df
[2.2.x] Fixed #31018 -- Removed django-nonrel in NoSQL databases FAQ.
felixxm Nov 27, 2019
57f5a7e
[2.2.x] Refs #31029 -- Added note about :rfc: role in writing documen…
bmispelon Nov 26, 2019
019a1b9
[2.2.x] Fixed #31029 -- Used more specific links to RFCs.
bmispelon Nov 23, 2019
9a17ae5
[2.2.x] Fixed #31021 -- Fixed proxy model permissions data migration …
felixxm Nov 28, 2019
6cf3b6f
[2.2.x] Fixed #30953 -- Made select_for_update() lock queryset's mode…
felixxm Dec 2, 2019
70311e1
[2.2.x] Refs #30953 -- Added 2.1.15 release note for 0107e3d1058f653f…
felixxm Dec 2, 2019
36f580a
Fixed CVE-2019-19118 -- Required edit permissions on parent model for…
carltongibson Nov 25, 2019
d6fa509
[2.2.x] Added release dates for 2.1.15, 2.2.8 and 3.0.
carltongibson Dec 2, 2019
b8782c5
[2.2.x] Bumped version for 2.2.8 release.
carltongibson Dec 2, 2019
84de020
[2.2.x] Post-release version bump.
carltongibson Dec 2, 2019
887139d
[2.2.x] Removed issue reporter name from 2.1.15 and 2.2.8 release notes.
carltongibson Dec 2, 2019
c759fb6
[2.2.x] Added CVE-2019-19118 to the security archive.
carltongibson Dec 2, 2019
e8b0903
[2.2.x] Fixed #31006 -- Doc'd backslash escaping in date/time templat…
ryancheley Nov 23, 2019
f33be1e
[2.2.x] Fixed #31073 -- Prevented CheckboxInput.get_context() from mu…
PeteAndersen Dec 9, 2019
86befcc
[2.2.x] Refs #31073 -- Added release notes for 02eff7ef60466da108b1a3…
felixxm Dec 11, 2019
4d334be
[2.2.x] Fixed CVE-2019-19844 -- Used verified user email for password…
charettes Dec 17, 2019
c494d90
[2.2.x] Bumped version for 2.2.9 release.
felixxm Dec 18, 2019
e728612
[2.2.x] Post-release version bump.
felixxm Dec 18, 2019
813b33e
[2.2.x] Added CVE-2019-19844 to the security archive.
felixxm Dec 18, 2019
96d6443
[2.2.x] Fixed timezones tests for PyYAML 5.3+.
felixxm Jan 7, 2020
c67a368
[2.2.x] Fixed CVE-2020-7471 -- Properly escaped StringAgg(delimiter) …
charettes Dec 31, 2019
b2c33a5
[2.2.x] Bumped version for 2.2.10 release.
carltongibson Feb 3, 2020
2f663bf
[2.2.x] Post-release version bump.
carltongibson Feb 3, 2020
abb4829
[2.2.x] Added CVE-2020-7471 to security archive.
carltongibson Feb 3, 2020
eeed073
[2.2.x] Added stub release notes for 2.2.11.
felixxm Feb 10, 2020
32d89bf
[2.2.x] Fixed #31246 -- Fixed locking models in QuerySet.select_for_u…
abhijeetviswa Feb 8, 2020
7deb87c
[2.2.x] Fixed #31282 -- Corrected RelatedManager docs for using add/r…
carltongibson Feb 18, 2020
fe886a3
[2.2.x] Fixed CVE-2020-9402 -- Properly escaped tolerance parameter i…
felixxm Feb 24, 2020
1676992
[2.2.x] Bumped version for 2.2.11 release.
felixxm Mar 4, 2020
b92e811
[2.2.x] Post-release version bump.
felixxm Mar 4, 2020
cf5111c
[2.2.x] Added CVE-2020-9402 to security archive.
felixxm Mar 4, 2020
7088073
[2.2.x] Fixed typo in docs/releases/1.11.29.txt.
felixxm Mar 4, 2020
3acffe1
[2.2.x] Fixed GeoQuerySetTest.test_unionagg_tolerance() test on Oracl…
felixxm Mar 5, 2020
aa0948e
[2.2.x] Added stub release notes for 2.2.12.
carltongibson Mar 10, 2020
996be04
[2.2.x] Fixed #30439 -- Added support for different plural forms for …
claudep Mar 10, 2020
e277b04
[2.2.x] Added release date for 2.2.12.
carltongibson Apr 1, 2020
fb4d8bf
[2.2.x] Bumped version for 2.2.12 release.
carltongibson Apr 1, 2020
3ab5235
[2.2.x] Post-release version bump.
carltongibson Apr 1, 2020
cbccae2
[2.2.x] Added stub release notes for 2.2.13.
felixxm May 14, 2020
9d310b4
[2.2.x] Updated expected release dates for 2.2.13.
carltongibson May 27, 2020
e33220f
[2.2.x] Fixed LiveWidgetTests.test_textarea_trailing_newlines() crash…
felixxm Jun 18, 2019
027840d
[2.2.x] Fixed #31570 -- Corrected translation loading for apps provid…
carltongibson May 28, 2020
b0d810a
[2.2.x] Fixed Sphinx warnings on duplicate object descriptions.
felixxm Apr 6, 2020
151a83e
[2.2.x] Fixed CodeBlock deprecation warning on Sphinx 2.1+.
felixxm Apr 6, 2020
79baf33
[2.2.x] Fixed highlightlang deprecation warning on Sphinx 1.8+.
felixxm Apr 6, 2020
c7bab8d
[2.2.x] Fixed term warning on Sphinx 3.0.1+.
felixxm Apr 14, 2020
8301bc9
[2.2.x] Fixed E128, E741 flake8 warnings.
felixxm May 12, 2020
2b69680
[2.2.x] Refs #31485 -- Backported jQuery upgrade to 3.5.1.
carltongibson Jun 2, 2020
7e1084e
[2.2.x] Added release date for 2.2.13.
carltongibson Jun 3, 2020
6d61860
[2.0.x] Fixed CVE-2020-13596 -- Fixed potential XSS in admin ForeignK…
jdufresne May 26, 2020
07e59ca
[2.2.x] Fixed CVE-2020-13254 -- Enforced cache key validation in memc…
danpalmer May 20, 2020
8093aaa
[2.2.x] Bumped version for 2.2.13 release.
carltongibson Jun 3, 2020
2661c22
[2.2.x] Post-release version bump.
carltongibson Jun 3, 2020
ea9bc39
[2.2.x] Refs CVE-2020-13254 -- Fixed cache.tests when KEY_PREFIX is d…
felixxm Jun 3, 2020
b877190
[2.2.x] Fixed ForeignKeyRawIdWidgetTest.test_render_unsafe_limit_choi…
felixxm Jun 4, 2020
b2b2723
[2.2.x] Fixed #31654 -- Fixed cache key validation messages.
felixxm Jun 5, 2020
cdad78e
[2.2.x] Refs #30183 -- Doc'd dropping support for sqlparse < 0.2.2.
stephenrauch Nov 6, 2019
9ecce34
[2.2.x] Refs #31682 -- Doc'd minimal sqlparse version in Django 2.2.
felixxm Jun 10, 2020
fc2a368
[2.2.x] Refs #31751 -- Doc'd that cx_Oracle < 8 is required.
felixxm Jun 30, 2020
ee9bd41
[2.2.x] Added release date for 2.2.14.
felixxm Jul 1, 2020
74934f7
[2.2.x] Bumped version for 2.2.14 release.
felixxm Jul 1, 2020
202ac0b
[2.2.x] Post-release version bump.
felixxm Jul 1, 2020
5968a23
[2.2.x] Fixed ForeignKeyRawIdWidgetTest.test_render_unsafe_limit_choi…
felixxm Jul 2, 2020
6f09ee2
[2.2.x] Fixed #30945 -- Doc'd plural equations changes in 2.2. releas…
smithdc1 Jul 2, 2020
3c7e429
Apply patch for allowing MD5 usage
compman2408 May 18, 2020
590bdda
Add try/except loops to md5 patches.
Jul 8, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
5 changes: 4 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# http://editorconfig.org
# https://editorconfig.org/

root = true

Expand Down Expand Up @@ -39,3 +39,6 @@ indent_style = tab
# Batch files use tabs for indentation
[*.bat]
indent_style = tab

[docs/**.txt]
max_line_length = 79
166 changes: 133 additions & 33 deletions AUTHORS

Large diffs are not rendered by default.

13 changes: 2 additions & 11 deletions INSTALL
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
Thanks for downloading Django.

To install it, make sure you have Python 2.7 or greater installed. Then run
To install it, make sure you have Python 3.5 or greater installed. Then run
this command from the command prompt:

python setup.py install

If you're upgrading from a previous version, you need to remove it first.

AS AN ALTERNATIVE, you can just copy the entire "django" directory to Python's
site-packages directory, which is located wherever your Python installation
lives. Some places you might check are:

/usr/lib/python2.7/site-packages (Unix, Python 2.7)
C:\\PYTHON\site-packages (Windows)
python -m pip install .

For more detailed instructions, see docs/intro/install.txt.
17 changes: 14 additions & 3 deletions LICENSE.python
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
Django is licensed under the three-clause BSD license; see the file
LICENSE for details.

Django includes code from the Python standard library, which is licensed under
the Python license, a permissive open source license. The copyright and license
is included below for compliance with Python's terms.

----------------------------------------------------------------------

Copyright (c) 2001-present Python Software Foundation; All Rights Reserved

A. HISTORY OF THE SOFTWARE
==========================

Expand Down Expand Up @@ -74,9 +85,9 @@ analyze, test, perform and/or display publicly, prepare derivative works,
distribute, and otherwise use Python alone or in any derivative version,
provided, however, that PSF's License Agreement and PSF's notice of copyright,
i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
2011, 2012, 2013, 2014, 2015, 2016 Python Software Foundation; All Rights
Reserved" are retained in Python alone or in any derivative version prepared by
Licensee.
2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 Python Software Foundation; All
Rights Reserved" are retained in Python alone or in any derivative version
prepared by Licensee.

3. In the event Licensee prepares a derivative work that is based on
or incorporates Python or any part thereof, and wants to make
Expand Down
5 changes: 3 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ ticket here: https://code.djangoproject.com/newticket

To get more help:

* Join the ``#django`` channel on irc.freenode.net. Lots of helpful people hang out
there. Read the archives at http://django-irc-logs.com/.
* Join the ``#django`` channel on irc.freenode.net. Lots of helpful people hang
out there. See https://en.wikipedia.org/wiki/Wikipedia:IRC/Tutorial if you're
new to IRC.

* Join the django-users mailing list, or read the archives, at
https://groups.google.com/group/django-users.
Expand Down
7 changes: 2 additions & 5 deletions django/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
from __future__ import unicode_literals

from django.utils.version import get_version

VERSION = (1, 11, 0, 'alpha', 0)
VERSION = (2, 2, 15, 'alpha', 0)

__version__ = get_version(VERSION)

Expand All @@ -16,12 +14,11 @@ def setup(set_prefix=True):
from django.apps import apps
from django.conf import settings
from django.urls import set_script_prefix
from django.utils.encoding import force_text
from django.utils.log import configure_logging

configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
if set_prefix:
set_script_prefix(
'/' if settings.FORCE_SCRIPT_NAME is None else force_text(settings.FORCE_SCRIPT_NAME)
'/' if settings.FORCE_SCRIPT_NAME is None else settings.FORCE_SCRIPT_NAME
)
apps.populate(settings.INSTALLED_APPS)
57 changes: 33 additions & 24 deletions django/apps/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,20 @@
from importlib import import_module

from django.core.exceptions import ImproperlyConfigured
from django.utils._os import upath
from django.utils.module_loading import module_has_submodule

MODELS_MODULE_NAME = 'models'


class AppConfig(object):
"""
Class representing a Django application and its configuration.
"""
class AppConfig:
"""Class representing a Django application and its configuration."""

def __init__(self, app_name, app_module):
# Full Python path to the application eg. 'django.contrib.admin'.
# Full Python path to the application e.g. 'django.contrib.admin'.
self.name = app_name

# Root module for the application eg. <module 'django.contrib.admin'
# from 'django/contrib/admin/__init__.pyc'>.
# Root module for the application e.g. <module 'django.contrib.admin'
# from 'django/contrib/admin/__init__.py'>.
self.module = app_module

# Reference to the Apps registry that holds this AppConfig. Set by the
Expand All @@ -28,27 +25,26 @@ def __init__(self, app_name, app_module):
# The following attributes could be defined at the class level in a
# subclass, hence the test-and-set pattern.

# Last component of the Python path to the application eg. 'admin'.
# Last component of the Python path to the application e.g. 'admin'.
# This value must be unique across a Django project.
if not hasattr(self, 'label'):
self.label = app_name.rpartition(".")[2]

# Human-readable name for the application eg. "Admin".
# Human-readable name for the application e.g. "Admin".
if not hasattr(self, 'verbose_name'):
self.verbose_name = self.label.title()

# Filesystem path to the application directory eg.
# u'/usr/lib/python2.7/dist-packages/django/contrib/admin'. Unicode on
# Python 2 and a str on Python 3.
# Filesystem path to the application directory e.g.
# '/path/to/django/contrib/admin'.
if not hasattr(self, 'path'):
self.path = self._path_from_module(app_module)

# Module containing models eg. <module 'django.contrib.admin.models'
# from 'django/contrib/admin/models.pyc'>. Set by import_models().
# Module containing models e.g. <module 'django.contrib.admin.models'
# from 'django/contrib/admin/models.py'>. Set by import_models().
# None if the application doesn't have a models module.
self.models_module = None

# Mapping of lower case model names to model classes. Initially set to
# Mapping of lowercase model names to model classes. Initially set to
# None to prevent accidental access before import_models() runs.
self.models = None

Expand All @@ -59,8 +55,8 @@ def _path_from_module(self, module):
"""Attempt to determine app's filesystem path from its module."""
# See #21874 for extended discussion of the behavior of this method in
# various cases.
# Convert paths to list because Python 3's _NamespacePath does not
# support indexing.
# Convert paths to list because Python's _NamespacePath doesn't support
# indexing.
paths = list(getattr(module, '__path__', []))
if len(paths) != 1:
filename = getattr(module, '__file__', None)
Expand All @@ -80,7 +76,7 @@ def _path_from_module(self, module):
"The app module %r has no filesystem location, "
"you must configure this app with an AppConfig subclass "
"with a 'path' class attribute." % (module,))
return upath(paths[0])
return paths[0]

@classmethod
def create(cls, entry):
Expand Down Expand Up @@ -122,8 +118,21 @@ def create(cls, entry):
cls = getattr(mod, cls_name)
except AttributeError:
if module is None:
# If importing as an app module failed, that error probably
# contains the most informative traceback. Trigger it again.
# If importing as an app module failed, check if the module
# contains any valid AppConfigs and show them as choices.
# Otherwise, that error probably contains the most informative
# traceback, so trigger it again.
candidates = sorted(
repr(name) for name, candidate in mod.__dict__.items()
if isinstance(candidate, type) and
issubclass(candidate, AppConfig) and
candidate is not AppConfig
)
if candidates:
raise ImproperlyConfigured(
"'%s' does not contain a class '%s'. Choices are: %s."
% (mod_path, cls_name, ', '.join(candidates))
)
import_module(entry)
else:
raise
Expand Down Expand Up @@ -157,9 +166,9 @@ def create(cls, entry):

def get_model(self, model_name, require_ready=True):
"""
Returns the model with the given case-insensitive model_name.
Return the model with the given case-insensitive model_name.

Raises LookupError if no model exists with this name.
Raise LookupError if no model exists with this name.
"""
if require_ready:
self.apps.check_models_ready()
Expand All @@ -173,7 +182,7 @@ def get_model(self, model_name, require_ready=True):

def get_models(self, include_auto_created=False, include_swapped=False):
"""
Returns an iterable of models.
Return an iterable of models.

By default, the following models aren't included:

Expand Down
Loading