summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
2018-11-06Fixed #25251 -- Made data migrations available in TransactionTestCase when ↵romgar
using --keepdb. Data loaded in migrations were restored at the beginning of each TransactionTestCase and all the tables are truncated at the end of these test cases. If there was a TransactionTestCase at the end of the test suite, the migrated data weren't restored in the database (especially unexpected when using --keepdb). Now data is restored at the end of each TransactionTestCase.
2018-11-03Fixed inconsistent indentation in docs/ref/contrib/auth.txt.Tobias Bengfort
2018-11-02Fixed typo in docs/internals/contributing/writing-code/coding-style.txt.Mice Pápai
2018-11-01Updated expected date for 2.1.4 release.Carlton Gibson
2018-11-01Fixed #27994 -- Documented ManifestFilesMixin.Theofanis Despoudis
2018-11-01Added stub release notes for 2.1.4 release.Carlton Gibson
2018-11-01Added release date for 2.1.2 release.Carlton Gibson
2018-10-31Fixed #22390 -- Doc'd possible server restart required in tutorial 6.Tim Graham
2018-10-31Fixed #29890 -- Fixed FileSystemStorage crash if concurrent saves try to ↵Tim Graham
create the same directory. Regression in 632c4ffd9cb1da273303bcd8005fff216506c795.
2018-10-30Capitalized SecurityMiddleware headers for consistency with other headers.Artur Juraszek
(No behavior change since HTTP headers are case insensitive.)
2018-10-29Fixed #29547 -- Added support for partial indexes.Mads Jensen
Thanks to Ian Foote, Mariusz Felisiak, Simon Charettes, and Markus Holtermann for comments and feedback.
2018-10-29Fixed code highlighting in docs/ref/contrib/staticfiles.txt.Tim Graham
2018-10-28Fixed #29896 -- Fixed incorrect Model.save() cache relation clearing for ↵Tim Graham
foreign keys that use to_field. Regression in ee49306176a2d2f1751cb890bd607d42c7c09196.
2018-10-27Fixed #28606 -- Deprecated CachedStaticFilesStorage.Tim Graham
2018-10-25Fixed #29534 -- Made dbshell use rlwrap on Oracle if available.Mariusz Felisiak
2018-10-25Fixed #29827 -- Fixed reuse of test databases with --keepdb on MySQL.Sergey Fedoseev
Regression in e1253bc26facfa1d0fca161f43925e99c2591ced.
2018-10-25Fixed #29879 -- Added CSRF_COOKIE_HTTPONLY to CSRF AJAX docs.Mayank Singhal
2018-10-25Made DatabaseFeatures.uses_savepoints default to True.Tim Graham
2018-10-24Removed a useless sentence in docs/ref/unicode.txt.Hemanth V. Alluri
2018-10-23Fixed #29831 -- Added validation for makemigrations --name.Prabakaran Kumaresshan
2018-10-23Refs #29877 -- Made diveinto.org URLs HTTPS.Jon Dufresne
2018-10-23Fixed #29877 -- Replaced diveintopython3.net with diveinto.org/python3/.za
2018-10-22Fixed #29880 -- Fixed typo in docs/topics/auth/default.txt.Tim Graham
2018-10-22Fixed #29860 -- Allowed BaseValidator to accept a callable limit_value.buzzi
2018-10-21Removed "encoding" description in GIS tutorial.Atul Varma
An omission in 388165ade4219aeefac1e231c1d44c51a7b62829.
2018-10-21Fixed #29870 -- Added DurationField introspection for Oracle and PostgreSQL.Mariusz Felisiak
Thanks Tim Graham for the review.
2018-10-19Fixed #29774 -- Fixed django-admin shell hang on startup.Adam Allred
sys.stdin.read() blocks waiting for EOF in shell.py which will likely never come if the user provides input on stdin via the keyboard before the shell starts. Added check for a tty to skip reading stdin if it's not present. This still allows piping of code into the shell (which should have no TTY and should have an EOF) but also doesn't cause it to hang if multi-line input is provided.
2018-10-18Fixed #29858 -- Clarified docs regarding CSRF token header name.Tim Graham
2018-10-18Updated Jinja2 static tag example to use django.templatetags.Andy Chosak
As of cf546e11ac76c8dec527e39ff8ce8249a195ab42, this is the canonical way to invoke the static tag.
2018-10-17Fixed #29838 -- Fixed crash when combining Q objects with __in lookups and ↵aspalding
lists. Regression in fc6528b25ab1834be1a478b405bf8f7ec5cf860c.
2018-10-17Removed obsolete "ugly URL" reference.Tom Dyson
2018-10-17Fixed #21171 -- Avoided starting a transaction when a single (or atomic ↵Florian Apolloner
queries) are executed. Checked the following locations: * Model.save(): If there are parents involved, take the safe way and use transactions since this should be an all or nothing operation. If the model has no parents: * Signals are executed before and after the previous existing transaction -- they were never been part of the transaction. * if `force_insert` is set then only one query is executed -> atomic by definition and no transaction needed. * same applies to `force_update`. * If a primary key is set and no `force_*` is set Django will try an UPDATE and if that returns zero rows it tries an INSERT. The first case is completly save (single query). In the second case a transaction should not produce different results since the update query is basically a no-op then (might miss something though). * QuerySet.update(): no signals issued, single query -> no transaction needed. * Model/Collector.delete(): This one is fun due to the fact that is does many things at once. Most importantly though: It does send signals as part of the transaction, so for maximum backwards compatibility we need to be conservative. To ensure maximum compatibility the transaction here is removed only if the following holds true: * A single instance is being deleted. * There are no signal handlers attached to that instance. * There are no deletions/updates to cascade. * There are no parents which also need deletion.
2018-10-16Added a paragraph in docs/intro/contributing.txt.Çağıl
2018-10-15Fixed #29817 -- Deprecated settings.FILE_CHARSET.Jon Dufresne
2018-10-13Removed unused fields from aggregation docs.Peter Inglesby
2018-10-11Simplified deployment checklist docs on customizing error views.Adam Johnson
2018-10-11Fixed #29814 -- Added support for NoneType serialization in migrations.Patrik Sletmo
2018-10-11Fixed #29836 -- Bumped required cx_Oracle to 6.0.Mariusz Felisiak
2018-10-10Emphasized that ForeignKey.on_delete doesn't create a SQL constraint.Andrea Rabbaglietti
2018-10-10Refs #27795 -- Removed force_bytes() usage from django/utils/http.py.Jon Dufresne
django.utils.http.urlsafe_base64_encode() now returns a string, not a bytestring. Since URLs are represented as strings, urlsafe_base64_encode() should return a string. All uses immediately decoded the bytestring to a string anyway. As the inverse operation, urlsafe_base64_decode() accepts a string.
2018-10-09Capitalized "Python" in docs and comments.Jon Dufresne
2018-10-04Improved tone in docs/ref/settings.txt.Kate Berry
2018-10-04Refs #27778 -- Removed "The database API" section from "Unicode data" docs.Jon Dufresne
Support for passing bytestrings to the database API was removed in 301de774c21d055e9e5a7073e5bffdb52bc71079.
2018-10-03Clarified when QuerySet.select_for_update() locks.ovalseven8
2018-10-03Fixed #28034 -- Updated the contributing tutorial to use an imaginary ticket.Adam Johnson
2018-10-03Corrected docs to say that all templates are text strings.Jon Dufresne
Support for bytestring templates was removed in 3a148f958dddd97c1379081118c30fbede6b6bc4.
2018-10-02Fixed #29598 -- Deprecated FloatRangeField in favor of DecimalRangeField.Stefano Chiodino
2018-10-02Refs #29722 -- Added introspection of materialized views for PostgreSQL.Nick Pope
2018-10-02Fixed #29719 -- Added introspection of foreign tables for PostgreSQL.Nick Pope
Thanks infinite-l00p for the initial patch.
2018-10-02Removed docs for obsolete limitations of inspectdb.Tim Graham