summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
2014-11-29Fixed #23923 -- Promoted Django's deprecation warnings to errors in runtests.pyTim Graham
2014-11-29Removed instructions to create a PostgreSQL cluster in GIS docsClaude Paroz
Creating a new cluster is neither required not recommendable for most users. The previous section explains how to create a user with sufficient permissions to automatically create a database during tests.
2014-11-28Fixed #23423 -- Added unaccent lookup in django.contrib.postgresThomas Chaumeny
2014-11-28Added 1.9/removed 1.5 on Python version support table.Tim Graham
2014-11-28Fixed #23728 -- Added the --exit option to makemigrations.Tim Heap
If no changes that need migrations are found, `makemigrations --exit` exits with error code 1.
2014-11-28Fixed #901 -- Added Model.refresh_from_db() methodAnssi Kääriäinen
Thanks to github aliases dbrgn, carljm, slurms, dfunckt, and timgraham for reviews.
2014-11-28Fixed #23910 -- Added reply_to parameter to EmailMessageMartin Blech
Thanks to Berker Peksag and Tim Graham for the review and suggestions.
2014-11-28Fixed #16731 -- Made pattern lookups work properly with F() expressionsThomas Chaumeny
2014-11-27Fixed #23338 -- Added warning when unique=True on ForeigKeyDiego Guimarães
Thanks Jonathan Lindén for the initial patch, and Tim Graham and Gabe Jackson for the suggestions.
2014-11-27Added notes on registering signals in ready() and using dispatch_uid.wrwrwr
Refs #23641.
2014-11-27Fixed typo in docs/topics/forms/modelforms.txt.wrwrwr
2014-11-27Fixed #14664 -- Logged a warning if MiddlewareNotUsed is raised in DEBUG mode.Berker Peksag
2014-11-27Fixed #23847 -- Improved the email_check example in the auth documentation.Berker Peksag
2014-11-26Fixed #23801 -- Added warning when max_length is used with IntegerFieldMattBlack85
2014-11-26Fixed #23901 -- Documented how to use SpatiaLite with Homebrew.Kenial Lee
2014-11-26Updated GIS docs to use doc links.Tim Graham
2014-11-26Updated formtools docs to point at new package outside the Django repo.Jannis Leidel
Refs #23677.
2014-11-26Release notes for ff3d746e8d8e8fbe6de287bd0f4c3a9fa23c18dcLuke Plant
2014-11-25Fixed #23914 -- Improved {% now %} to allow storing its result in the context.Baptiste Mispelon
Thanks to Tim for the review.
2014-11-25Fixed #23754 -- Always allowed reference to the primary key in the adminSimon Charette
This change allows dynamically created inlines "Add related" button to work correcly as long as their associated foreign key is pointing to the primary key of the related model. Thanks to amorce for the report, Julien Phalip for the initial patch, and Collin Anderson for the review.
2014-11-25Added warning about get_inline_instances() permission checking; refs #23754.Simon Charette
2014-11-25Fixed #23898 -- Added missing context to admin's deleted_selected view.Redouane Zait
Thanks Redouane Zait for the report.
2014-11-25Fixed #23682 -- Enhanced circular redirects detection in tests.wrwrwr
When the test client detects a redirect to a URL seen in the currently followed chain it will now raise a RedirectCycleError instead of just returning the first repeated response. It will also complain when a single chain of redirects is longer than 20, as this often means a redirect loop with varying URLs, and even if it's not actually one, such long chains are likely to be treated as loops by browsers. Thanks Preston Timmons, Berker Peksag, and Tim Graham for reviews.
2014-11-25Fixed #21587 -- Added a warning for changing default of RedirectView.permanent.Berker Peksag
2014-11-25Fixed typo in docs/ref/django-admin.txtRichard Olsson
2014-11-24Fixed #23742 -- Added an option to reverse tests order.wrwrwr
This is useful for debugging side effects affecting tests that are usually executed before a given test. Full suite and pair tests sort cases more or less deterministically, thus some test cross-dependencies are easier to reveal by reversing the order. Thanks Preston Timmons for the review.
2014-11-24Improved line breaking in runtests docs.wrwrwr
2014-11-24Fixed #23907 -- Added admin.site.register in tutorial 2 for consistency.Tim Graham
2014-11-24Fixed #23888 -- Fixed crash in File.__repr__() when name contains unicode.Sergey Fedoseev
2014-11-24Updated testing documentation following 498ae3a36069e2dThomas Chaumeny
- commit/rollback are no longer replaced by nop - the warning about not using TestCase when testing transactional behavior belongs to TestCase section, not TransactionTestCase
2014-11-24Further fixes to the migration notes for get_query_setLuke Plant
This rename is very tricky for the case of subclasses which define get_query_set and haven't been updated yet, which applies to all projects in the form of RelatedManager from Django 1.5.
2014-11-24Fixed #23543 -- Added docs on testing management command output.Danilo Bargen
2014-11-24Added deprecation of template dirs parameter to timeline.Tim Graham
2014-11-24Fixed spelling in docs/ref/django-admin.txt.Tim Graham
2014-11-24Moved release note for refs #21281 from "deprecation" to "backwards ↵Tim Graham
incompatible".
2014-11-24Better migration docs for get_query_set -> get_querysetLuke Plant
This way they won't need to fix things again when get_query_set disappears
2014-11-23Fixed #23900 -- Added missing imports in code example.Kevin Ndung'u
The Preventing header injection example included classes that are not imported. Thanks to Collin Anderson and Berker Peksağ for the reviews.
2014-11-23Move compile_string into the Engine class.Aymeric Augustin
2014-11-23Deprecated dirs argument to override TEMPLATE_DIRS.Aymeric Augustin
Cancels 2f0566fa. Refs #4278.
2014-11-22Revert "Fixed #23892 -- Made deconstructible classes forwards compatible"Carl Meyer
This reverts commit f36151ed169813f2873e13ca9de616cfa4095321. Adding kwargs to deconstructed objects does not achieve useful forward-compatibility in general, since additional arguments are silently dropped rather than having their intended effect. In fact, it can make the failure more difficult to diagnose. Thanks Shai Berger for discussion.
2014-11-22Fixed #23892 -- Made deconstructible classes forwards compatibleCarl Meyer
2014-11-22Avoided rewrapping Contexts in render_to_response.Aymeric Augustin
This change preserves backwards-compatibility for a very common misuse of render_to_response which even occurred in the official documentation. It fixes that misuse wherever it happened in the code base and docs. Context.__init__ is documented as accepting a dict and nothing else. Since Context is dict-like, Context(Context({})) could work to some extent. However, things get complicated with RequestContext and that gets in the way of refactoring the template engine. This is the real rationale for this change.
2014-11-22Updated an old note about GEOSGeometry.transformClaude Paroz
2014-11-21Fixed #23778 -- Added a doc section on using the Django runner for reusable ↵Stanislas Guerra
apps.
2014-11-21Fixed #21753 -- Raised exception when both `form_class` and `fields` are ↵Berker Peksag
specified.
2014-11-21Fixed #23865 -- documented how to assign errors to a field in Model.clean()Alasdair Nicol
Also added a unit test wit the simpler syntax which we have documented, where the dictionary values are strings.
2014-11-21Fixed typo in docs/internals/release-process.txt.Tom V
2014-11-21Fixed #23794 -- Fixed migrations crash when removing a field that's part of ↵Andrzej Pragacz
index/unique_together.
2014-11-21Corrected Permission.max_length in docs; refs #8162.Sergey Fedoseev
2014-11-20Fixed #23605 -- Fixed nested subquery regressionAnssi Kääriäinen
Added relabeled_clone() method to sql.Query to fix the problem. It manifested itself in rare cases where at least double nested subquery's filter condition might target non-existing alias. Thanks to Trac alias ris for reporting the problem.