summaryrefslogtreecommitdiff
path: root/docs/ref
AgeCommit message (Collapse)Author
2014-02-28Fixed #22028 -- Documented that database signals aren't emitted for apps ↵Tim Graham
that laack a models module. Thanks un33k for the suggestion and donjpacheco for the draft patch.
2014-02-28Fixed #21962 -- Added escape_html flag to ErrorDict.as_json()vvojvoda
2014-02-25Fixed #22145 -- Clarified docs on Field.blank and Field.null options.navneet suman
Thanks skipjack at peru.com for the suggestion.
2014-02-25Fixed docs typos.Szczepan Cieślik
2014-02-25Fixed #22142 -- Documented PostGIS 2 database creation during testsIacopo Spalletti
2014-02-23Fixed #22063 -- Added reference to NoReverseMatch from the reverse() ↵Alex de Landgraaf
documentation
2014-02-23Fixed #21881 -- Clarify behavior of {% ssi %} template tag.Baptiste Mispelon
When using the `parsed` option, {% ssi %} has the same limitation as {% include %}, namely that the rendering of the included template is done separately. Thanks to trac user nagyv for the report and to alextreme for the patch.
2014-02-22Fixed #22113 -- changed object_name to model_name in CBV docs.Marcin Sokół
Thanks to trac user nikunj.sg for the report.
2014-02-22Fixed warnings when building the documentation.Baptiste Mispelon
2014-02-22Fixed #22032 -- added documentation for settings.MIGRATION_MODULESGreg Chapple
2014-02-22Fixed #22092 -- Documented ResolverMatch.view_nameJochem Oosterveen
2014-02-22Fixed #22120 -- Documented persistent activation of languages and cleaned up ↵Erik Romijn
language session key use
2014-02-22Fixed #21902 -- Documented search order for list_display.Marcin Sokół
2014-02-21Fixed #22112 -- Added RedirectView.pattern_name to CBV flattened indexAlasdair Nicol
Also moved accessor method get_redirect_url next to its attribute url for consistency with the other views. Thanks nikunj.sg for the report
2014-02-17Fixed #22023 -- Raised an error for values() followed by defer() or only().Artur Frysiak
Previously, doing so resulted in invalid data or crash. Thanks jtiai for the report and Karol Jochelson, Jakub Nowak, Loic Bistuer, and Baptiste Mispelon for reviews.
2014-02-16Made the new template.Context.flatten() method a public API.Marek Wywiał
That method was introduced in 9db4271bd11ac23a5a5652bbcdf8fb6d4b997651. Refs #21765.
2014-02-15Fixed #22002 -- Documented avoiding database interaction in AppConfig.ready().Zbigniew Siciarz
Thanks Marc Tamlyn for the suggestion.
2014-02-15Fixed #22013 -- Documented difference between SERVER_EMAIL and ↵Zbigniew Siciarz
DEFAULT_FROM_EMAIL.
2014-02-15Fixed #21884 -- Mentioned that exact is the defaut QuerySet lookup typechomik
Thanks to cjerdonek for the suggestion.
2014-02-15Fixed #22052 -- Corrected a misspelling of ellipsoidMichal Prusek
2014-02-15Fixed #22049 -- Corrected a misspelling of dimensionaldjendrju
2014-02-14Fixed #21924 -- Added the ability to specify a reverse order for ↵Klemens Mantzos
admin_order_field. Thanks Klemens Mantzos for the report and initial patch.
2014-02-14Fixed #17942 -- Added a JsonResponse class to more easily create JSON ↵Lukasz Balcerzak
encoded responses. Thanks leahculver for the suggestion and Erik Romijn, Simon Charette, and Marc Tamlyn for the reviews.
2014-02-14Fixed #21654 -- Documented a use-case for Form.errors.as_data().Loic Bistuer
Thanks selwin for the suggestion.
2014-02-14Updated docs that misreported django.apps.apps.ready as being a method.Simon Meers
2014-02-13Fixed #19496 -- Added truncatechars_html filter.Jeremy
Thanks esevece for the suggestion and Nick Sandford and Martin Warne for the inital work on the patch.
2014-02-13Fixed #21951 -- Updated docs to use __str__ for Python 3Alasdair Nicol
Thanks Tim Graham for the report and recommendations
2014-02-12Add reference documentation for operations and stubs for schemaeditor.Andrew Godwin
2014-02-11Fixed #2445 -- Allowed limit_choices_to attribute to be a callable.Christopher Adams
ForeignKey or ManyToManyField attribute ``limit_choices_to`` can now be a callable that returns either a ``Q`` object or a dict. Thanks michael at actrix.gen.nz for the original suggestion.
2014-02-10Fixed #21994 -- Added form_dict argument to calls of WizardView.done()Julian Wachholz
Added an additional keyword argument ``form_dict`` to calls of WizardView.done() implementations which allows easier access to validated forms by their step name.
2014-02-10Fixed #20784 -- Added inverse_match parameter to RegexValidator.Si Feng
2014-02-09Minor edits to new findstatic functionality; refs #19879.Tim Graham
Hopefully fixes a test failure on Jenkins.
2014-02-09Removed double word in model docsClaude Paroz
2014-02-09Fixed #19879 -- Have 'findstatic' says on which directories it searched the ↵Vajrasky Kok
relative paths. Added searched_locations in finders module. Added verbosity flag level 2 on 'findstatic' command that will output the directories on which it searched the relative paths. Reported by ccurvey. Initial patch by Jonas Svensson and Vajrasky Kok.
2014-02-09Fixed #21969: Fix behaviour of initial_data with migrated appsAndrew Godwin
2014-02-09Fixed inaccuracies in generic mixins documentation.Baptiste Mispelon
2014-02-08Fixed #21674 -- Deprecated the import_by_path() function in favor of ↵Berker Peksag
import_string(). Thanks Aymeric Augustin for the suggestion and review.
2014-02-08Removed extra backquote in field docsClaude Paroz
2014-02-08Fixed #16192 -- Made unique error messages in ModelForm customizable.Loic Bistuer
Overriding the error messages now works for both unique fields, unique_together and unique_for_date. This patch changed the overriding logic to allow customizing NON_FIELD_ERRORS since previously only fields' errors were customizable. Refs #20199. Thanks leahculver for the suggestion.
2014-02-06Fixed #17005 -- Added CurrentSiteMiddleware to set the current site on each ↵Christopher Medrela
request. Thanks jordan at aace.org for the suggestion.
2014-02-04Made some PEP8 fixes in docs/ref/forms/widgets.txtTim Graham
Thanks Siecje.
2014-02-02Added a note about a possible name clash.Aymeric Augustin
Thanks Russell for the advice.
2014-02-02Fixed typo.Aymeric Augustin
2014-01-29Fix typo CRSF -> CSRFIan Foote
2014-01-27Fixed #21874 -- Require Django applications to have a filesystem path.Carl Meyer
Wherever possible this filesystem path is derived automatically from the app module's ``__path__`` and ``__file__`` attributes (this avoids any backwards-compatibility problems). AppConfig allows specifying an app's filesystem location explicitly, which overrides all autodetection based on ``__path__`` and ``__file__``. This permits Django to support any type of module as an app (namespace packages, fake modules, modules loaded by other hypothetical non-filesystem module loaders), as long as the app is configured with an explicit filesystem path. Thanks Aymeric for review and discussion.
2014-01-26Fixed #19774 -- Deprecated the contenttypes.generic module.Simon Charette
It contained models, forms and admin objects causing undesirable import side effects. Refs #16368. Thanks to Ramiro, Carl and Loïc for the review.
2014-01-26Fixed #21702 -- get_model('app_label.ModelName').Aymeric Augustin
Also added tests for get_model.
2014-01-26Moved RequestSite and get_current_site.Aymeric Augustin
Following the app-loading refactor, these objects must live outside of django.contrib.sites.models because they must be available without importing the django.contrib.sites.models module when django.contrib.sites isn't installed. Refs #21680. Thanks Carl and Loic for reporting this issue.
2014-01-25Docs correction: apps loaded from eggs do not have appconfig.path None.Carl Meyer
2014-01-25Fixed #17304 -- Allow single-path and configured-path namespace packages as ↵Carl Meyer
apps. Also document the conditions under which a namespace package may or may not be a Django app, and raise a clearer error message in those cases where it may not be. Thanks Aymeric for review and consultation.