summaryrefslogtreecommitdiff
path: root/docs/ref
AgeCommit message (Collapse)Author
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
2014-11-04Fixed #13181 -- Added support for callable choices to forms.ChoiceFieldPeter Inglesby
Thanks vanschelven and expleo for the initial patch.
2014-11-04Fixed links to mysqlclient in database notes.Tim Graham
2014-11-04Added HStoreField.Marc Tamlyn
Thanks to `django-hstore` for inspiration in some areas, and many people for reviews.
2014-11-03Fixed versionchanged indentation in docs/.Berker Peksag
2014-11-03Fixed spelling mistake in docs/ref/request-response.txtTim Graham
2014-11-03Fixed #18523 -- Added stream-like API to HttpResponse.Michael Kelly
Added getvalue() to HttpResponse to return the content of the response, along with a few other methods to partially match io.IOBase. Thanks Claude Paroz for the suggestion and Nick Sanford for review.
2014-11-03Fixed #18456 -- Added path escaping to HttpRequest.get_full_path().Unai Zalakain
2014-11-03Moved CSRF docs out of contrib.Thomas Chaumeny
2014-10-31Fixed #23732 -- Corrected and enhanced select_related() docs.Tim Graham
Thanks Daniele Procida for the report and review.
2014-10-30Fixed #23656 -- Made FormMixin.get_form's form_class argument optional.Simon Charette
Thanks Tim Graham for the review.
2014-10-30Fixed #23736 -- Corrected the description of the value that ↵Tim Graham
silent_variable_failure uses. Thanks Aymeric Augustin for the report.
2014-10-30Fixed #23737 -- Recommended the render() shortcut more strongly.Tim Graham
Thanks Aymeric Augustin for the report.
2014-10-30Explained why admindocs omits model methods with arguments.Zan Anderle
2014-10-30Removed extra period.Aymeric Augustin