Tim Graham
99157064a0
Fixed location of a few doc labels.
2018-06-28 08:58:16 -04:00
Adam Johnson
ae38777698
Updated a test example to use snake case.
2018-06-21 17:36:48 -04:00
Jan Pieter Waagmeester
24959e48d9
Fixed #27398 -- Added an assertion to compare URLs, ignoring the order of their query strings.
2018-06-20 13:26:12 -04:00
Michael Kiros
b37bac39b3
Fixed typo in docs/topics/auth/customizing.txt.
2018-06-05 21:28:26 -04:00
Subhav Gautam
085ebc5f1a
Fixed #29430 -- Clarified send_mail()'s fail_silently docs.
2018-06-02 10:50:15 -04:00
Tim Graham
7543ab1f8d
Removed versionadded/changed annotations for 2.0.
2018-05-17 11:00:10 -04:00
olivierdalang
825f0beda8
Fixed #8936 -- Added a view permission and a read-only admin.
...
Co-authored-by: Petr Dlouhy <petr.dlouhy@email.cz>
Co-authored-by: Olivier Dalang <olivier.dalang@gmail.com>
2018-05-16 06:44:55 -04:00
Andrew Godwin
0a8a6b4683
Add clarifying section about historical migration models
2018-05-15 12:20:25 -04:00
Mariusz Felisiak
35319bf12c
Alphabetized imports in various docs.
...
Follow-up of d97cce3409
and 7d3fe36c62
.
2018-05-12 19:37:42 +02:00
Morgan Aubert
704443acac
Fixed #29363 -- Added SimpleTestCase.assertWarnsMessage().
2018-05-09 11:40:28 -04:00
Samir Shah
10b44e4525
Fixed #26688 -- Fixed HTTP request logging inconsistencies.
...
* Added logging of 500 responses for instantiated responses.
* Added logging of all 4xx and 5xx responses.
2018-05-04 20:55:03 -04:00
CHI Cheng
4660ce5a69
Fixed #29375 -- Removed empty action attribute on HTML forms.
2018-05-02 09:20:04 -04:00
Nicolas Noé
3246ad1065
Fixed #27480 -- Added cache.touch().
2018-04-27 17:48:35 -04:00
Stefan R. Filipek
9ec77f3d66
Fixed #29349 -- Doc'd the default behavior of router.allow_relation().
2018-04-23 10:21:22 -04:00
adamth
acf9d64045
Fixed typos in docs/topics/auth/passwords.txt.
2018-04-23 07:37:26 -04:00
Adnan Umer
f2026ca5e2
Fixed #29337 -- Added __len__() & __bool__() to RawQuerySet.
2018-04-19 12:46:31 -04:00
Adnan Umer
ec0319ff82
Fixed #29339 -- Added result caching to RawQuerySet.
2018-04-19 11:35:49 -04:00
Nick Pope
df90e462d9
Fixed #29212 -- Doc'd redirect loop if @permission_required used with redirect_authenticated_user.
2018-04-19 10:21:24 -04:00
Tim Graham
c3437f734d
Fixed #29174 , #29175 -- Doc'd that f-strings and JavaScript template strings can't be translated.
2018-04-18 14:29:21 +02:00
Brett Cannon
64b74804c5
Fixed #29334 -- Updated pypi.python.org URLs to pypi.org.
2018-04-17 20:24:27 -04:00
GS-14
93331877c8
Fixed #29274 -- Increased the number of common passwords from 1k to 20k.
2018-04-16 11:01:47 -04:00
Ben Menesini
1d5d4867f4
Fixed typo in docs/topics/i18n/translation.txt.
2018-04-15 17:07:00 -04:00
Alex Gaynor
9a56b4b13e
Fixed #27863 -- Added support for the SameSite cookie flag.
...
Thanks Alex Gaynor for contributing to the patch.
2018-04-13 20:58:31 -04:00
Luoxzhg
99539ca319
Fixed typo in docs/topics/db/managers.txt.
2018-04-11 22:24:29 -04:00
Luoxzhg
9d7e2c7b44
Fixed mistakes in docs/topics/db/examples/many_to_one.txt.
2018-04-10 11:16:42 -04:00
Wim Feijen
058f607518
Clarified a sentence in docs/topics/i18n/translation.txt.
2018-03-31 19:33:48 -04:00
Daniel Chimeno
fbb9358149
Replaced 'python -Wall' with 'python -Wa'.
2018-03-28 13:25:03 -04:00
AK
3990d74018
Added a pagination example to ListView docs.
2018-03-26 11:40:54 -04:00
Tim Graham
a4f0e9aec7
Fixed #28718 -- Allowed user to request a password reset if their password doesn't use an enabled hasher.
...
Regression in aeb1389442
.
Reverted changes to is_password_usable() from
703c266682
and documentation changes from
92f48680db
.
2018-03-22 10:03:43 -04:00
Jezeniel Zapanta
abe6c5defe
Fixed #28514 -- Clarifed docs about idempotence of RelatedManager.add().
2018-03-20 21:09:08 -04:00
Denis
1834490a0c
Refs #11278 -- Clarified RelatedManager differences between reverse one-to-many and many-to-many relations.
2018-03-20 20:43:33 -04:00
Tim Graham
5fa4f40f45
Fixed #29227 -- Allowed BooleanField to be null=True.
...
Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review.
2018-03-20 12:10:10 -04:00
ovalseven8
22bcd3a1d8
Fixed #29192 -- Corrected docs regarding overriding fields from abstract base classes.
2018-03-13 12:45:01 -04:00
jblang94
84398897a7
Improved clarity of docs/topics/install.txt.
2018-03-05 10:17:23 -05:00
Patryk Zawadzki
a20aae414e
Fixed #29144 -- Made untranslated strings for territorial language variants use translations from the generic language variant.
2018-03-03 12:08:24 -05:00
Daniel Hahler
939e0a5995
Fixed typo in docs/topics/forms/media.txt.
2018-03-02 14:47:47 -05:00
René Fleschenberg
6e52e2554d
Fixed incorrect regex in re_path() example.
2018-02-26 19:57:52 -05:00
Tim Graham
5b589a47b9
Fixed #29161 -- Removed BCryptPasswordHasher from PASSWORD_HASHERS.
2018-02-26 09:05:18 -05:00
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)
c4fa0143f7
Removed "Remove any old versions of Django" install instructions.
...
They are obsolete given the prevalence of pip.
2018-02-26 08:58:56 -05:00
Sebastian Sangervasi
5c4c87e55c
Changed "language-code" to the more commonly used "language code".
2018-02-21 09:31:05 -05:00
Seohong Park
9716860596
Fixed #29146 -- Readded ^ and $ inadvertently removed from re_path() examples.
2018-02-20 21:31:30 -05:00
Dylan Verheul
9b1125bfc7
Fixed #28379 -- Made AccessMixin raise Permissiondenied for authenticated users.
2018-02-16 13:58:55 -05:00
Tim Graham
ff61a25081
Fixed #29107 -- Doc'd that ModelForm doesn't actually inherit from Form.
2018-02-08 10:10:28 -05:00
Nick Sarbicki
47268242b0
Fixed #29082 -- Allowed the test client to encode JSON request data.
2018-02-06 18:29:04 -05:00
Ashaba
95fd5cf459
Fixed #28403 -- Added missing formats in FORMAT_MODULE_PATH docs.
2018-01-24 13:38:15 -05:00
Grant Jenks
d38a3169a4
Fixed #28977 -- Changed local-memory cache to use LRU culling.
...
LRU culling turns every read into a kind of write to the cache: cache keys
are moved to the first position in the OrderedDict when they are retrieved.
The RWLock which permitted multiple readers while prioritizing a single
writer is obsolete since all accesses are now writes.
2018-01-24 12:26:19 -05:00
Jon Dufresne
ff05de760c
Fixed #29038 -- Removed closing slash from HTML void tags.
2018-01-21 02:09:10 -05:00
Ramiro Morales
37c17846ad
Fixed #28343 -- Add an OS chooser for docs command line examples.
2018-01-20 12:38:48 -05:00
Peter Wischer
196c257a23
Fixed typo in docs/topics/i18n/translation.txt.
2018-01-17 08:47:37 +01:00
Karmen
4fcd28d442
Fixed #28881 -- Doc'd that CommonPasswordValidator's password list must be lowercase.
2018-01-15 10:16:27 -05:00
jaywelborn
56e590cc0b
Fixed #28761 -- Documented how an inline formset's prefix works.
2018-01-13 16:20:34 -05:00
Will Ayd
09530e61a0
Fixed #28869 -- Made tagged test classes and methods inherit tags from parents.
2018-01-08 20:57:33 -05:00
Mariusz Felisiak
7c81b28ebc
Updated various links in docs to use HTTPS.
2018-01-07 14:28:41 +01:00
shanghui
3333d935d2
Fixed #28757 -- Allowed using contrib.auth forms without installing contrib.auth.
...
Also fixed #28608 -- Allowed UserCreationForm and UserChangeForm to
work with custom user models.
Thanks Sagar Chalise and Rômulo Collopy for reports, and Tim Graham
and Tim Martin for reviews.
2018-01-05 14:47:37 -05:00
Claude Paroz
b3cd9fb18b
Refs #15902 -- Made set_language() view always set the current language in a cookie.
...
The plan is to later deprecate/remove storing the language in the session.
2018-01-03 11:25:40 -05:00
Mariusz Felisiak
83a36ac49a
Removed unnecessary trailing commas and spaces in various code.
2017-12-28 21:07:29 +01:00
Tim Graham
038ea4f859
Fixed #28966 -- Doc'd that the uuid URL path converter requires dashes
2017-12-27 12:23:44 -05:00
Claude Paroz
23b21db31b
Fixed #28594 -- Removed Jython docs and specific code
...
Thanks Andrey Martyanov for the reporti, and Tim Graham for the review.
2017-12-23 10:26:32 +01:00
Cameron Curry
622ead6aaf
Fixed #28937 -- Allowed BinaryField to be editable=True.
2017-12-22 16:31:46 -05:00
Sergey Fedoseev
183fb7b2b9
Fixed #28870 -- Added support for functools.partialmethod serialization in migrations.
2017-12-06 14:49:37 -05:00
Tim Graham
4114b441ee
Fixed #28886 -- Updated prefix for example django.contrib.auth.urls URLs.
2017-12-06 09:23:42 -05:00
Tim Graham
bae365e13c
Fixed #28883 -- Doc'd that the uuid URL path converter matches lowercase only letters.
2017-12-06 09:16:32 -05:00
Sergey Fedoseev
3922f02dc6
Fixed typo in docs/topics/testing/advanced.txt. ( #9416 )
2017-12-04 14:23:16 +05:00
Jon Dufresne
7a6fbf36b1
Fixed #28853 -- Updated connection.cursor() uses to use a context manager.
2017-11-28 11:28:09 -05:00
Luke Plant
e283c1a267
Linked to prefetch_related_objects func in DB optimization docs.
2017-11-23 21:26:39 +03:00
Hyunwoo Park
3f237c1a5b
Fixed typo in docs/topics/forms/media.txt.
2017-11-22 07:26:18 -05:00
Frédéric Massart
a5f1e5809f
Clarified who the AdminEmailHandler emails.
2017-11-21 11:49:15 -05:00
Chris Lamb
3af305e8b8
Fixed #28810 -- Replaced '%' style logging formatting with str.format() style.
2017-11-18 19:15:08 -05:00
Tim Graham
d392fc293c
Fixed #28802 -- Fixed typo in docs/topics/auth/default.txt.
2017-11-16 10:37:50 -05:00
Tim Graham
327f0f37ce
Fixed #28770 -- Warned that quoting a placeholder in a raw SQL string is unsafe.
...
Thanks Hynek Cernoch for the report and review.
2017-11-07 13:07:12 -05:00
Tim Graham
00b93c2b1e
Fixed typo in docs/topics/db/aggregation.txt.
2017-11-07 09:03:01 -05:00
Sam Morrow
dcc0427c58
Fixed #28745 -- Added first and last page links to paginator docs example.
2017-11-01 20:10:54 -04:00
Tim Graham
6e8508734b
Described how querysets are protected from SQL injection in more detail.
2017-11-01 11:34:17 -04:00
Tim Graham
afd375fc34
Fixed #28741 -- Removed unnecessary leading dot from cross-domain cookie examples.
2017-11-01 10:57:59 -04:00
Ville Skyttä
617686e226
Fixed 'a'/'an' mix-ups in docs.
2017-10-30 21:47:09 -04:00
Botond Beres
51d7feff87
Fixed #28131 -- Corrected examples of using attribute lookups on the "perms" template variable.
2017-10-28 12:15:07 -04:00
Tim Graham
171c7cc863
Fixed #28737 -- Clarified {% cache %} tag's handling of arguments.
...
Thanks Tom Aratyn for the report.
2017-10-25 12:46:12 -04:00
Tim Graham
3642c3758b
Suggested LoginView rather than @login_required as an alternative to authenticate().
2017-10-25 11:17:17 -04:00
LeeHanYeong
3ffbd54566
Removed incorrect reference to ModelChoiceField in Field.choices docs.
2017-10-13 10:37:04 -04:00
Tim Graham
27193aea00
Fixed #28584 -- Dropped support for SQLite < 3.7.15.
2017-10-03 10:42:18 -04:00
Stefan Schneider
08c8c3ead9
Fixed #28653 -- Added missing ForeignKey.on_delete argument in docs.
2017-09-29 11:38:28 -04:00
Stefan Schneider
293df73fb6
Fixed #28648 -- Corrected typo in docs/topics/db/queries.txt.
2017-09-29 10:31:49 -04:00
Christopher Schäpers
6da140724d
Fixed #28627 -- Added slug converter to some path() examples in docs.
2017-09-25 13:06:11 -04:00
Tim Graham
5446b72003
Removed versionadded/changed annotations for 1.11.
2017-09-22 12:51:18 -04:00
Tim Graham
5e31be1b96
Refs #25187 -- Required the authenticate() method of authentication backends to have request as the first positional argument.
...
Per deprecation timeline.
2017-09-22 12:51:18 -04:00
Tim Graham
e62165b898
Refs #27175 -- Removed exception silencing from the {% include %} template tag.
...
Per deprecation timeline.
2017-09-22 12:51:18 -04:00
Tim Graham
e47b56d791
Refs #20892 -- Removed support for passing pylibmc behavior settings as top-level attributes of CACHES['OPTIONS'].
...
Per deprecation timeline.
2017-09-22 12:51:17 -04:00
Tim Graham
6e40b70bf4
Refs #26929 -- Removed extra_context parameter of contrib.auth.views.logout_then_login().
...
Per deprecation timeline.
2017-09-22 12:51:17 -04:00
Tim Graham
4f313e284e
Refs #17209 -- Removed login/logout and password reset/change function-based views.
...
Per deprecation timeline.
2017-09-22 12:51:17 -04:00
Shai Berger
d612026c37
Refs #28595 -- Added a hook to add execute wrappers for database queries.
...
Thanks Adam Johnson, Carl Meyer, Anssi Kääriäinen, Mariusz Felisiak,
Michael Manfre, and Tim Graham for discussion and review.
2017-09-21 12:13:09 -04:00
Sjoerd Job Postmus
df41b5a05d
Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201.
...
Thanks Aymeric Augustin for shepherding the DEP and patch review.
Thanks Marten Kenbeek and Tim Graham for contributing to the code.
Thanks Tom Christie, Shai Berger, and Tim Graham for the docs.
2017-09-20 18:04:42 -04:00
tk
e7adad27f3
Fixed typo in docs/topics/cache.txt.
2017-09-19 06:52:01 -04:00
Samir Shah
4ac2ab30f5
Removed obsolete doc references to javascript_catalog.
2017-09-08 07:53:56 -04:00
Olivier Tabone
a027447f56
Fixed #27318 -- Made cache.set_many() return the list of failed keys.
2017-09-06 14:38:44 -04:00
Sami J. Lehtinen
407c1249c9
Fixed #28032 -- Added Paginator.get_page().
...
Moved boilerplate from docs to a method.
2017-09-06 14:17:19 -04:00
Jonatas CD
c9b22707b0
Fixed #28479 -- Doc'd that transaction rollback doesn't revert model state.
2017-09-04 15:43:29 -04:00
Jeremy Satterfield
473ab4610e
Fixed #28332 -- Fixed diamond inheritence example in docs.
2017-09-02 14:10:41 -04:00
Jkrzy
da3a5cee4f
Fixed #28548 -- Replaced 'middlewares' with 'middleware' in docs.
2017-08-30 06:25:51 -04:00
Kim DoHyeon
f21915bb3a
Fixed #27931 -- Clarified the meaning of "django catch-all logger."
2017-08-22 16:24:18 -04:00
Harry Moreno
254fb8d1a4
Added "test --keepdb" to testing speedup docs.
2017-08-22 10:26:00 -04:00