0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00
Commit Graph

2323 Commits

Author SHA1 Message Date
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
Berker Peksag
52a991d976 Fixed #24694 -- Added support for context_processors to Jinja2 backend. 2016-06-28 14:30:54 -04:00
Berker Peksag
c1b6f554e4 Fixed #15091 -- Allowed passing custom encoder to JSON serializer. 2016-06-28 11:10:07 -04:00
Ramiro Morales
c962b9104a Added missing trailing '$' to url() patterns in docs. 2016-06-27 09:18:44 -04:00
Bang Dao + Tam Huynh
09119dff14 Fixed #26719 -- Normalized email in AbstractUser.clean(). 2016-06-24 10:37:38 -04:00
Claude Paroz
78963495d0 Refs #17209 -- Added LoginView and LogoutView class-based views
Thanks Tim Graham for the review.
2016-06-24 10:45:13 +02:00
Tim Graham
81cdcb66bc Fixed #26791 -- Replaced LiveServerTestCase port ranges with binding to port 0. 2016-06-23 12:04:05 -04:00
John-Scott Atlakson
9a54face25 Fixed typo in docs/topics/logging.txt 2016-06-22 06:38:34 -04:00
Tim Graham
39805686b3 Refs #21379, #26719 -- Moved username normalization to AbstractBaseUser.
Thanks Huynh Thanh Tam for the initial patch and Claude Paroz for review.
2016-06-21 16:19:37 -04:00
Tobias McNulty
17e661641d Refs #26666 -- Added ALLOWED_HOSTS validation when running tests.
Also used ALLOWED_HOSTS to check for external hosts in assertRedirects().
2016-06-20 11:07:46 -04:00
Tim Graham
00551c3eff Fixed typo in docs/topics/db/managers.txt 2016-06-20 09:07:20 -04:00
Trey Hunner
91e9be45ed Added urlpatterns variable in docs/topics/http/urls.txt. 2016-06-17 21:01:43 -04:00