summaryrefslogtreecommitdiff
path: root/docs/ref
AgeCommit message (Collapse)Author
2014-12-03Removed redundant numbered parameters from str.format().Berker Peksag
Since Python 2.7 and 3.1, "{0} {1}" is equivalent to "{} {}".
2014-12-02Fixed incorrect use of rst section heirarchy in form fields docs.Elena Williams
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-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-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-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-25Fixed #23914 -- Improved {% now %} to allow storing its result in the context.Baptiste Mispelon
Thanks to Tim for the review.
2014-11-25Added warning about get_inline_instances() permission checking; refs #23754.Simon Charette
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-24Fixed spelling in docs/ref/django-admin.txt.Tim Graham
2014-11-23Deprecated dirs argument to override TEMPLATE_DIRS.Aymeric Augustin
Cancels 2f0566fa. Refs #4278.
2014-11-22Updated an old note about GEOSGeometry.transformClaude Paroz
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-21Corrected Permission.max_length in docs; refs #8162.Sergey Fedoseev
2014-11-20Added missing backticks to form validation docsAlasdair Nicol
2014-11-20Fixed #23817 -- Updated docs on QuerySet evaluationMichal Petrucha
Removed inaccurate info about partial evaluation after refs #18702. Added information on modifying sliced QuerySets; refs #22503.
2014-11-19Fixed #23410 -- Avoided unnecessary rollbacks in related apps when migrating ↵Carl Meyer
backwards.
2014-11-18Fixed #23849 -- Documented the locmem.Loader class.Preston Timmons
2014-11-18Fixed #18714 -- Added 'fuzzy' compilemessages optionAnton Baklanov
2014-11-17Fix malformed note directives.Carl Meyer
2014-11-16Moved all template loaders under django.template.loaders.Aymeric Augustin
Reformatted the code of base.Loader according to modern standards. Turned the test template loader into a regular locmem.Loader -- but didn't document it. Added a normal deprecation path for BaseLoader which is a public API. Added an accelerated deprecation path for TestTemplateLoader which is a private API.
2014-11-16Renamed qn to compilerJosh Smeaton
2014-11-16Merge pull request #3549 from psagers/masterJulien Phalip
Fixes a race condition in the documentation. The example for django.contrib.admin.ModelAdmin.get_form was modifying self.exclude. However, since ModelAdmin instances are global and have no thread- or request-locality, this is not safe for concurrent requests. This updated documentation demonstrates a safe method to override admin forms on a per-request basis.
2014-11-15Removed old version note in layermapping.txtClaude Paroz
2014-11-15Fixes a race condition in the documentation.Peter Sagerson
The example for django.contrib.admin.ModelAdmin.get_form modifies self.exclude. However, since ModelAdmin instances are global and have no thread- or request-locality, this is not safe for concurrent requests.[1] This updated documentation demonstrates a safe method to override admin forms on a per-request basis. [1] https://groups.google.com/forum/#!topic/django-users/AmoUDtEefyA
2014-11-15Fixed #23808 -- Documented that migrations table is created when using ↵Andreas Madsack
runserver without migrating first.
2014-11-15Fixed #23825 -- Added links for decorating class-based views to the CSRF docs.Fabio Natali
2014-11-15Added a new GeoJSON serialization format for GeoDjangoClaude Paroz
Thanks Reinout van Rees for the review.
2014-11-15Fixed #14030 -- Allowed annotations to accept all expressionsJosh Smeaton
2014-11-15Fixed #23827 -- TZ behavior in Storage API ref docJames Aylett
This is derived from the current behaviour of FileSystemStorage. Note that since this was not previously documented, other implementations may not currently conform.
2014-11-15Fixed #23665 -- Noted precedence of settings.USE_L10N in MONTH_DAY_FORMAT ↵Berker Peksag
and YEAR_MONTH.
2014-11-13Fixed #23765 -- Removed BooleanField default check which often yielded false ↵Tim Graham
positives.
2014-11-13Added missing docs for 1_7.W001 check.Tim Graham
2014-11-13Removed doc reference to pre-1.5 PostGISClaude Paroz
2014-11-13Updated Fink doc section to be version-agnosticClaude Paroz
2014-11-12Fixed #23774 -- Clarified QuerySet.order_by() and related models.Tim Graham
2014-11-10Fixed #23789 -- TemplateResponse handles context differently from renderLuke Plant
2014-11-05Removed confusing paragraph from the docs.Loic Bistuer
This snippet wasn't particularly helpful as `add_error()` is described in greater details in the following section. Thanks Claude Paroz for the report.
2014-11-04Fixed #23531 -- Added CommonMiddleware.response_redirect_class.Berker Peksag
2014-11-04Fix minor typo in documentation.Marc Tamlyn