Tim Graham
e2d02c1fc9
Used a nontemporal example in QuerySet.bulk_create() in docs.
2016-12-27 09:59:07 -05:00
Adam Chainz
0a9bd266ff
Documented url()'s 'regex' parameter.
2016-12-22 19:16:26 -05:00
Tim Graham
2f44fa7f06
Documented how to copy a OneToOneField.
...
Thanks Anton Gilgur for the report and review.
2016-12-17 08:39:52 -05:00
Tim Graham
8dac9890a5
Refs #25550 -- Removed a deprecated reverse assignment example in docs.
2016-12-17 08:39:52 -05:00
Ben Wilkins
9524fd9133
Fixed #25751 -- Doc'd how to use JavaScriptCatalog with i18n_patterns().
2016-12-15 10:30:14 -05:00
Tim Graham
d7e6b8febd
Fixed typo in docs/topics/auth/customizing.txt.
2016-11-28 16:39:54 -05:00
Aymeric Augustin
cb7bbf97a7
Fixed #25966 -- Made get_user_model() work at import time.
...
This makes it equivalent to: `from django.contrib.auth.models import User`.
Thanks Aymeric Augustin for the initial patch and Tim Graham for the
review.
2016-11-25 14:15:49 +01:00
Daniel Musketa
df2a5227c9
Rephrased an ambiguous sentence in docs/topics/signals.txt.
2016-11-24 05:50:39 -05:00
Alex Scott
da4c0e8cc9
Fixed typo in docs/topics/auth/customizing.txt.
2016-11-24 05:41:21 -05:00
Tim Graham
93a081946d
Normalized casing of "custom user model".
2016-11-23 15:14:28 -05:00
Krzysztof Gogolewski
d02a03d574
Fixed #24370 -- Recommended starting with a custom user model.
2016-11-23 14:43:17 -05:00
Daniel Musketa
b5ef90192f
Fixed typo in docs/topics/signals.txt.
2016-11-23 06:54:58 -05:00
Henry Dang
b1a9041535
Fixed #27221 -- Doc'd how to escape a percent symbol in ugettext().
2016-11-22 13:49:18 -05:00
Daniel Musketa
66505b72c5
Updated doc links to virtualenv website.
2016-11-22 08:36:41 -05:00
Tim Graham
0d9ff873d9
Fixed #27467 -- Made UserAttributeSimilarityValidator max_similarity=0/1 work as documented.
...
Thanks goblinJoel for the report and feedback.
2016-11-16 17:40:37 -05:00
Tim Graham
3ce212a23c
Fixed #27494 -- Fixed typos in docs/topics/db/models.txt.
2016-11-16 07:28:20 -05:00
Mitchel Humpherys
ae660cde5a
Fixed incorrect word choice in docs/topics/migrations.txt.
2016-11-16 06:57:30 -05:00
Simon Charette
9e4fd3301d
Refs #25284 -- Corrected an obsolete implicit __in lookup example.
...
Thanks IRC alias rpkilby for the report.
2016-11-15 08:25:02 -05:00
Jezeniel Zapanta
48f45431eb
Fixed typo in docs/topics/db/multi-db.txt.
2016-11-11 12:40:06 -05:00
Maxime Lorant
cb3fb34b86
Fixed #27378 -- Added support for serialization of uuid.UUID in migrations.
...
Thanks Yuriy Korobko for the initial patch and Tobias McNulty for review.
2016-11-06 13:53:00 +01:00
Krzysztof Gogolewski
d1dbaeaadb
Adjusted documentation of migration related commands.
2016-11-05 21:56:13 +01:00
Pamela McA'Nulty
2c4d15e319
Fixed typo in docs/topics/testing/tools.txt.
2016-11-04 05:12:42 +01:00
Timothy Allen
5595db9504
Updated docs/topics/db/queries.txt examples to use print() function.
2016-10-31 15:22:32 -04:00
medmunds
d3708aeb26
Fixed #27382 -- Doc'd that ugettext_lazy() should be converted to text for non-Django code.
2016-10-29 07:23:57 -04:00
Adam Chainz
968f61b991
Documented that cache keys are strings rather than bytes.
2016-10-27 15:49:24 -04:00
Tim Graham
414ad25b09
Fixed #27327 -- Simplified time zone handling by requiring pytz.
2016-10-27 08:53:20 -04:00
Jon Dufresne
f3ea0c4bbd
Reverted "Fixed #26401 -- Added BaseAuthConfig to use auth without migrations."
...
This reverts commit 1ec1633cb2
as it
doesn't handle ContentType's auth.Permission dependency. Thus, it
doesn't allow auth without migrations.
2016-10-25 17:32:59 -07:00
Marti Raudsepp
51fbe2a60d
Updated postgresql.org links to https and made them canonical.
2016-10-25 11:43:32 -04:00
Markus Holtermann
b5fc192b99
Fixed #27352 -- Doc'd social media fingerprinting consideration with login's redirect_authenticated_user.
2016-10-18 11:37:56 -04:00
David D Lowe
424187ec4b
Fixed #27349 -- Doc'd the CSRF_FAILURE_VIEW setting in view topic guide.
2016-10-14 13:46:54 -04:00
Kevin Christopher Henry
9eb49af821
Refs #19705 -- Documented decorator ordering with @condition().
2016-10-14 07:36:01 -04:00
Tim Graham
80f5a4d87a
Doc'd the need to provide initial for formset submissions.
2016-10-10 15:36:21 -04:00
Denis Cornehl
a840710e1e
Fixed #26447 -- Deprecated settings.USE_ETAGS in favor of ConditionalGetMiddleware.
2016-10-10 14:55:59 -04:00
Tim Graham
19a140a1b3
Added template syntax highlighting in docs/topics/i18n/timezones.txt.
2016-10-08 08:07:06 -04:00
Jonatas CD
e8728f03f0
Refs #11078 -- Doc'd Meta inheritance in proxy models.
2016-10-04 19:53:24 -04:00
Corey Farwell
24da355686
Documented render_to_string()'s `using` parameter.
2016-10-04 18:58:50 -04:00
Tim Graham
e262f00231
Fixed #27292 -- Removed unnecessary password assignment in auth backend example.
2016-10-04 14:02:06 -04:00
Tim Graham
87c5e7efeb
Refs #27186 -- Fixed model form default fallback for CheckboxSelectMultiple.
2016-09-30 14:49:50 -04:00
Lewis Cowles
1d25eb9688
Fixed #27294 -- Documented UserCreationForm's fields.
2016-09-30 13:56:53 -04:00
Tim Graham
9819676676
Updated links to the current version of MySQL docs.
2016-09-30 09:14:17 -04:00
Frank Wiles
a09c058918
Fixed import typos in the docs.
2016-09-29 12:06:52 -04:00
Tim Graham
f2ff1b2fab
Fixed #27289 -- Corrected View.as_view() explanation.
...
Thanks Graham Wideman for the report.
2016-09-28 11:26:32 -04:00
Rinat Khabibiev
9e07a9b5fe
Fixed #27226 -- Removed patch_response_headers()'s setting of the Last-Modified header.
2016-09-28 09:09:09 -04:00
levental
617e36dc1e
Fixed #20705 -- Allowed using PasswordResetForm with user models with an email field not named 'email'.
2016-09-27 11:59:00 -04:00
Tim Graham
8d233a2132
Fixed #27278 -- Fixed an anchor in docs/topics/forms/formsets.txt.
2016-09-26 13:55:39 -04:00
Tim Graham
8110673aaf
Fixed #27270 -- Clarified a paragraph in docs/topics/forms/formsets.txt.
...
Thanks Kifsif for the suggestion.
2016-09-26 09:54:55 -04:00
Berker Peksag
0a6ed6b1d9
Simplified has_perm() example in topics/auth/customizing.txt.
2016-09-23 15:28:32 -04:00
Tim Graham
3507d4e773
Fixed #27186 -- Fixed model form default fallback for MultiWidget, FileInput, SplitDateTimeWidget, SelectDateWidget, and SplitArrayWidget.
...
Thanks Matt Westcott for the review.
2016-09-22 12:20:58 -04:00
Jon Dufresne
2c716c1dc7
Fixed #27256 -- Changed Select widget's selected attribute to use HTML5 boolean syntax.
2016-09-21 15:12:13 -07:00
aruseni
cdde2eac5b
Fixed a typo in docs/topics/auth/default.txt.
2016-09-17 20:09:15 -04:00
Michael Scott
3c447b108a
Fixed #15143 -- Doc'd how to set the language for the test client.
2016-09-14 20:08:06 -04:00
Aleksej Manaev
4b9330ccc0
Fixed #25187 -- Made request available in authentication backends.
2016-09-12 20:11:53 -04:00
Jon Dufresne
1ec1633cb2
Fixed #26401 -- Added BaseAuthConfig to use auth without migrations.
2016-09-10 16:38:05 -07:00
Kevin Christopher Henry
4ef0e019b7
Fixed #27083 -- Added support for weak ETags.
2016-09-10 08:14:52 -04:00
Tim Graham
ef021412d5
Normalized spelling of ETag.
2016-09-09 11:00:21 -04:00
Jon Dufresne
66e1ebbffc
Fixed #26956 -- Added success_url_allowed_hosts to LoginView and LogoutView.
...
Allows specifying additional hosts to redirect after login and log out.
2016-09-07 19:56:25 -07:00
Chris Jerdonek
ccf7adb064
Fixed #27172 -- Closed database cursor explicitly in two doc examples
2016-09-07 12:14:29 +02:00
Tim Graham
5bd967e1c5
Doc'd how to remove old references in migration files.
2016-09-02 09:59:40 -04:00
Shai Berger
c93ac9cf42
Refs #25850 , #27142 , #27110 -- Documented migration history consistency checks.
2016-09-01 18:49:10 -04:00
Tim Graham
789f9c9b29
Refs #27164 -- Fixed typo in docs/topics/db/multi-db.txt
2016-09-01 09:53:24 -04:00
Ed Morley
d8ef5b0e65
Fixed #27152 -- Supported comma delimiter in memcached LOCATION string.
2016-08-31 17:23:41 -04:00
Ed Morley
65ec8fa8ca
Fixed #20892 -- Allowed configuring memcached client using OPTIONS.
...
Previously, the MemcachedCache backend ignored `OPTIONS` and
PyLibMCCache used them to set pylibmc behaviors. Both backends now
pass `OPTIONS` as keyword arguments to the client constructors.
2016-08-31 12:50:14 -04:00
Ed Morley
1d54fb4483
Made settings docs link to cache parameters more specific.
2016-08-31 12:31:30 -04:00
Mike Fiedler
b961b51eaf
Fixed typo in docs/topics/testing/overview.txt
2016-08-31 07:34:52 -04:00
Berker Peksag
a02b5848ae
Replaced property() usage with decorator in several places.
2016-08-25 20:06:22 -04:00
Mattias Loverot
2315114090
Fixed #27067 -- Deprecated string_concat() in favor of format_lazy().
2016-08-25 16:12:40 -04:00
Tim Graham
4bc6b93994
Fixed #27039 -- Fixed empty data fallback to model field default in model forms.
2016-08-24 17:50:10 -04:00
Tim Graham
9f27735612
Fixed #27013 -- Clarified commands to install argon2/bcrypt packages.
2016-08-19 19:23:12 -04:00
Tim Graham
d60386d0f5
Fixed #26571 -- Corrected recommendation for converting timestamps to tz-aware datetimes.
2016-08-19 14:47:06 -04:00
Brightcells
d301c61bcb
Replaced old DateTimeAwareJSONEncoder with DjangoJSONEncoder in docs.
2016-08-19 09:13:53 -04:00
Mattias Loverot
35ea6d83c8
Fixed #27069 -- Doc'd which gettext functions may be aliased as _.
2016-08-17 16:34:54 -04:00
Andreas Pelme
e76981b433
Fixed #26840 -- Added test.utils.setup/teardown_databases().
2016-08-17 13:55:04 -04:00
Tim Graham
8fb53c50ce
Fixed #19222 -- Documented that default managers aren't used for related queries.
2016-08-16 13:12:55 -04:00
Tim Graham
7549eb0004
Fixed #27009 -- Made update_session_auth_hash() rotate the session key.
2016-08-15 19:29:12 -04:00
Timothy Allen
df92f6f2e3
Documented how allow_migrate() interacts with makemigrations.
2016-08-15 13:34:54 -04:00
Michael Schwarz
72d541b61c
Fixed #27007 -- Handled non-UTF-8 bytes objects for text/* attachments.
...
The fallback logic which allows non-UTF-8 encoded files to be passed to
attach_file() even when a `text/*` mime type has been specified is
moved to attach(). Both functions now fall back to a content type of
`application/octet-stream`.
A side effect is that a file's content is decoded in memory instead of
opening it in text mode and reading it into a string.
Some mimetype-related logic in _create_attachment() has become
obsolete as the code moved from attach_file() to attach() already
handles this.
2016-08-12 16:35:09 -04:00
Kevin Christopher Henry
b785927b44
Documented the cache_control() decorator.
2016-08-11 16:46:58 -04:00
Tim Graham
4c2a6fe75b
Clarified session verification with respect to the current session.
2016-08-11 12:08:50 -04:00
Ed Morley
3c2447dd13
Fixed #26947 -- Added an option to enable the HSTS header preload directive.
2016-08-10 20:23:54 -04:00
an0o0nym
c412aaca73
Fixed #26957 -- Corrected authenticate() docs regarding User.is_active.
2016-08-10 19:52:01 -04:00
Chris Jerdonek
7f9fd42b93
Fixed #27019 -- Made teardown_test_environment() restore the old DEBUG.
2016-08-10 16:24:41 -04:00
Tim Graham
796cc62026
Fixed #27045 -- Documented that AUTH_PASSWORD_VALIDATORS aren't applied at the model level.
2016-08-10 15:52:16 -04:00
jordij
0814566bf1
Fixed #26960 -- Added PasswordResetConfirmView option to automatically log in after a reset.
2016-08-10 10:23:16 -04:00
Chris Jerdonek
a3a5ef4d0e
Fixed #27035 -- Eased changing settings.DEBUG for DiscoverRunner.
2016-08-09 13:40:29 -04:00
Ville Skyttä
f95bd89e82
Fixed #27041 -- Documented that built-in middleware are compatible with MIDDLEWARE and MIDDLEWARE_CLASSES.
2016-08-09 08:06:47 -04:00
Chris Jerdonek
42f9d65107
Edited docs of test.utils.setup/teardown_test_environment().
2016-08-05 17:38:49 -04:00
Liz Lemon
ea65c7cb48
Edited multi-db topic guide for grammar and clarity.
2016-08-05 12:55:32 -04:00
Chris Jerdonek
ebed9ee8d5
Fixed #26981 -- Added DiscoverRunner.get_test_runner_kwargs().
2016-08-04 14:45:44 -04:00
Andrew Nester
0ba179194b
Fixed #26929 -- Deprecated extra_context parameter of contrib.auth.views.logout_then_login().
2016-07-28 11:57:02 -04:00
Tim Graham
412b4126d7
Removed a blank line per isort and a trailing whitespace.
2016-07-28 11:56:25 -04:00
Tim Graham
3aaf6cf0f3
Fixed #26925 -- Linked aggregation ordering topic from Meta.ordering docs.
2016-07-25 06:21:39 -04:00
Preetham Nosum
32cf01c1c1
Fixed #18348 -- Documented SesssionStore.create()
2016-07-22 17:16:19 -04:00
Claude Paroz
255fb99284
Fixed #17209 -- Added password reset/change class-based views
...
Thanks Tim Graham for the review.
2016-07-16 10:36:12 +02:00
Will Hardy
8ef78b8165
Fixed #26656 -- Added duration (timedelta) support to DjangoJSONEncoder.
2016-07-14 13:34:15 -04:00
Md. Sadaf Noor
1f82b857ce
Fixed #26831 -- Documented session data must be JSON encodable for JSONSerializer.
2016-07-12 13:45:01 -04:00
Tim Graham
415ae960bb
Fixed capitalization of "URL pattern".
2016-07-06 15:31:12 -04:00
Taylor Edmiston
43d0345fe1
Fixed typo in docs/topics/class-based-views/generic-display.txt
2016-07-06 08:48:43 -04:00
Jiang Haiyun
6d61ec0e1a
Fixed a typo in auth docs.
2016-07-04 11:02:11 -04:00
Leila20
de4265e082
Fixed #26832 -- Added translated language name on the get_language_info documentation
2016-07-02 18:10:09 +02:00
Harry Moreno
30c65ee818
Added parallel test running to "Speeding up the tests" docs.
2016-07-01 09:05:40 -04:00