| Age | Commit message (Collapse) | Author |
|
Backport of c7fa27d702 from master
|
|
Backport of fb4f3e04b1 from master
|
|
Backport of e1c85167a3 from master.
|
|
Backport of 2c1384fbac from master
|
|
Thanks raphael.herouart at gmail.com
Backport of 814bcc3395 from master
|
|
|
|
|
|
defaults.
Also added a compatibility check for changed middleware defaults.
|
|
settings.
An ImproperlyConfigured exception will be raised they mismatch.
Backport of 1c58cabad7 and a2cd0e12c9 from master
|
|
Backport of c17cd151d8 from master
|
|
Conflicts:
django/db/backends/creation.py
django/test/runner.py
docs/ref/settings.txt
docs/topics/testing/advanced.txt
|
|
`makemigrations` will automatically create the package specified
in `MIGRATION_MODULES` if it doesn't already exist.
Thanks ovidiuc4 for the report.
|
|
Backport of 8eb51a8cf6 from master
|
|
Backport of fb7c347f7b from master
|
|
default value.
|
|
Backport of 8da86fd19b from master
|
|
Partial backport of 253e8ac2 from master.
|
|
Change database test settings from "TEST_"-prefixed entries in the
database settings dictionary to setting in a dictionary that is itself
an entry "TEST" in the database settings.
Refs #21775
Thanks Josh Smeaton for review.
|
|
Thanks Paul McMillan for the review.
|
|
This feature allows the default `TIMEOUT` Cache argument to be set to `None`,
so that cache instances can set a non-expiring key as the default,
instead of using the default value of 5 minutes.
Previously, this was possible only by passing `None` as an argument to
the set() method of objects of type `BaseCache` (and subtypes).
|
|
Introduced a number of settings to configure max-age, path, and domain
for the language cookie: LANGUAGE_COOKIE_AGE, LANGUAGE_COOKIE_PATH and
LANGUAGE_COOKIE_DOMAIN.
Thanks sahid for the suggestion.
|
|
|
|
|
|
|
|
DEFAULT_FROM_EMAIL.
|
|
This is the result of Christopher Medrela's 2013 Summer of Code project.
Thanks also to Preston Holmes, Tim Graham, Anssi Kääriäinen, Florian
Apolloner, and Alex Gaynor for review notes along the way.
Also: Fixes #8579, fixes #3055, fixes #19844.
|
|
Thanks Aymeric for the suggestion.
|
|
|
|
Refs #12288, #21679.
|
|
When STATIC_ROOT wasn't set, collectstatic --clear would delete
every files within the current directory and its descendants.
This patch makes the following changes:
Prevent collectstatic from running if STATIC_ROOT isn't set.
Fixed an issue that prevented collectstatic from displaying the
destination directory.
Changed the warning header to notify when the command is run
in dry-run mode.
|
|
Thanks David Larlet for the suggestion.
Also fixed some Sphinx warnings and improved ReST markup.
|
|
Thanks Tim for the review.
|
|
|
|
|
|
* Removed ADMIN_FOR setting and warn warning
* Group view functions by namespace instead of site
* Added a test verifying namespaces are listed
Thanks to Claude Paroz for reviewing and ideas for improvement.
|
|
|
|
Previously when collecting static files, the directories would receive permissions
from the global umask. Now the default permission comes from FILE_UPLOAD_DIRECTORY_PERMISSIONS
and there's an option to specify the permissions by subclassing any of the
static files storage classes and setting the directory_permissions_mode parameter.
|
|
Thanks Preston Holmes for the draft text.
|
|
The settings reference documentation doesn't seem the right place to
invite users to write their own db and cache backends.
Also the actual wording makes the task sound trivial, which is hardly
the case; writing a custom db backend is a very difficult task, and
writing a custom cache backend is full of gotcha.
|
|
Corrected LANGUAGES documentation on how to translate language
names. Now using django.utils.translation.ugettext_lazy instead
of a dummy gettext() function.
Thanks to Salvatore for the report.
|
|
Previously, when collecting static files, the files would receive permission
from FILE_UPLOAD_PERMISSIONS. Now, there's an option to give different
permission from uploaded files permission by subclassing any of the static
files storage classes and setting the file_permissions_mode parameter.
Thanks dblack at atlassian.com for the suggestion.
|
|
Thanks manfre for the report and Timo Graham for the review.
|
|
|
|
Added it to the settings reference. We used to have it in comment form
in our old, bigger default project template settings.py file.
|
|
Thanks joejasinski for the suggestion.
|
|
|
|
|
|
|
|
Added settings.SESSION_SERIALIZER which is the import path of a serializer
to use for sessions.
Thanks apollo13, carljm, shaib, akaariai, charettes, and dstufft for reviews.
|
|
|