summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
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.
2014-11-20Added missing backticks to form validation docsAlasdair Nicol
2014-11-20Added AutoField introspection for PostgreSQLClaude Paroz
Refs #23748.
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-20Fixed #12098 -- Simplified HttpRequest.__repr__().Berker Peksag
2014-11-19Fixed #23410 -- Avoided unnecessary rollbacks in related apps when migrating ↵Carl Meyer
backwards.
2014-11-19Fixed #23871 -- Removed promotion of MySQL warnings to errors in DEBUG mode.Tim Graham
2014-11-19Fixed #22248 -- Made RenameModel reversibleStratos Moros
2014-11-18Fixed #23849 -- Documented the locmem.Loader class.Preston Timmons
2014-11-18Deprecated calling a SQLCompiler instance.Carl Meyer
2014-11-18Fixed #18714 -- Added 'fuzzy' compilemessages optionAnton Baklanov
2014-11-18Fixed #23799 -- Made makemigrations respect --no-optimize.Tillmann Karras
Thanks to yamila-moreno for the idea of a skip message.
2014-11-17Fix malformed note directives.Carl Meyer
2014-11-17Fix link target markupÉric Araujo
This markup for a code block is redundant with the code-block directive below, and blocks the following line from working as link target.
2014-11-17Fixed #23859 -- Fixed a migration crash when a field is renamed that is part ↵Markus Holtermann
of an index_together
2014-11-17Fixed #23855 -- Removed unnecessary all() in tutorial 3.Tim Graham
2014-11-17Fixed #20435 -- Reordered the custom template tags docs.Daniel Roseman
Introduced the various shortcuts before explaining the more complex parser/render functionality. Also removed non-decorator syntax: it's been years since Django supported a Python version without decorators.
2014-11-16Removed support for function-based template loaders.Aymeric Augustin
They were deprecated in Django 1.2 but not all the supporting code was removed in Django 1.4. Since the remaining code was unlikely to be functional (pun intended) e.g. it would crash unless the loader function had an is_usable attribute, this commit completes the removal immediately instead of starting another deprecation path.
2014-11-16Deprecated function-based loaders.Aymeric Augustin
2014-11-16Removed override_template_loaders and override_with_test_loader.Aymeric Augustin
They can be replaced with override_settings and that makes the corresponding tests much more obvious.
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-16Added reminder to committing docs to test a PR with Jenkins first.Erik Romijn
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-16Merge pull request #3524 from nmundar/ticket_23690Marc Tamlyn
Fixed #23690 - fixed examples of manual rendering of form fields
2014-11-16Designated Django 1.8 as the next LTS.Tim Graham
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