summaryrefslogtreecommitdiff
path: root/docs/ref
AgeCommit message (Collapse)Author
2014-03-19Replaced reference to ModelAdmin.get_formsets() (deprecated) with ↵Daniel Hahler
get_formsets_with_inlines().
2014-03-17Fixed #21179 -- Added a StreamingHttpResponse example for CSV files.zedr
Thanks charettes for the suggestion.
2014-03-16Fixed #21860 -- Added to_field_name to ModelChoiceField docs.Anubhav Joshi
Thanks Keryn Knight for the suggestion.
2014-03-16Fixed #22242 -- Documented common cookie size limit.Daniel Pyrathon
2014-03-11Fixed #22217 - ManyToManyField.through_fields fixes.Akis Kesoglou
- Docs description of arguments mix up. - Keep it from erroneously masking E332 check. - Add checks E338 and E339, tweak message of E337.
2014-03-11Fixed typo in docs/ref/django-admin.txtTim Graham
Thanks Wes Kendall for the report.
2014-03-09Fixed an example to match the code.Aymeric Augustin
2014-03-09Reorganized the database test settingsShai Berger
Change database test settings from "TEST_"-prefixed entries in the database settings dictionary to setting in a dictionary that is itself an entry "TEST" in the database settings. Refs #21775 Thanks Josh Smeaton for review.
2014-03-08Fixed #22034 -- Added a specific set of relation checks for ↵Russell Keith-Magee
GenericInlineModelAdmin. Thanks to jwa for the report.
2014-03-07Fixed #21863 -- supplemented get_lookup() with get_transform()Anssi Kääriäinen
Also fixed #22124 -- Expanded explanation of exactly what is going on in as_sql() methods.
2014-03-07Fixed typo in docs/ref/checks.txtTim Graham
2014-03-06Fixed #22185 -- Added settings.CSRF_COOKIE_AGERoger Hu
Thanks Paul McMillan for the review.
2014-03-06Added --previous flag to msgmerge command used by makemessagesClaude Paroz
Also took the opportunity to slightly refactor gettext options so as to ease customization by subclassing the command. Thanks Michal Čihař for the report and initial patch.
2014-03-05Fixed #22207 -- Added support for GenericRelation reverse lookupsGabe Jackson
GenericRelation now supports an optional related_query_name argument. Setting related_query_name adds a relation from the related object back to the content type for filtering, ordering and other query operations. Thanks to Loic Bistuer for spotting a couple of important issues in his review.
2014-03-05Fixed #14549 - Removed restriction of single FKs on intermediary tablesAkis Kesoglou
Thanks to Loic Bistuer for review. Minor changes to error messages done by committer.
2014-03-05Fixed #22206 -- Passed models.TextField.max_length to forms.CharField.maxlengthChris Wilson
2014-03-04Fixed #22085 -- Added a feature for setting non-expiring keys as the default.zedr
This feature allows the default `TIMEOUT` Cache argument to be set to `None`, so that cache instances can set a non-expiring key as the default, instead of using the default value of 5 minutes. Previously, this was possible only by passing `None` as an argument to the set() method of objects of type `BaseCache` (and subtypes).
2014-03-03Allowed custom querysets when prefetching single valued relationsLoic Bistuer
The original patch for custom prefetches didn't allow usage of custom queryset for single valued relations (along ForeignKey or OneToOneKey). Allowing these enables calling performance oriented queryset methods like select_related or defer/only. Thanks @akaariai and @timgraham for the reviews. Refs #17001.
2014-03-03Fixed #21908 -- Added example usage for ModelAdmin.get_inline_instances().Tim Graham
Thanks matt at schinckel.net for the suggestion.
2014-03-03Removed doc newlines added in previous commit that caused build errors.Tim Graham
2014-03-03Fixed some typos and formatting issues in docs.Rodolfo Carvalho
2014-03-03Fixed #22135 -- Added ModelAdmin.get_changeform_initial_data().Greg Chapple
Allows custom behavior for setting initial form data in ModelAdmin. By default, initial data is set via GET params. The new method allows this behavior to be overridden. Thanks egasimus for the suggestion.
2014-03-03Added backwards compatibliity checks to reference documentation.Russell Keith-Magee
2014-03-03Added first cut at reference documentation for the checks framework.Russell Keith-Magee
2014-03-02Fixed some typos in the documentation.Baptiste Mispelon
Thanks to Rodolfo Carvalho and Piotr Kasprzyk for the patch.
2014-03-01Fixed #22172 -- Allowed index_together to be a single list (rather than list ↵Anubhav Joshi
of lists).. Thanks EmilStenstrom for the suggestion.
2014-03-01Fixed #22130 -- Deprecated fix_ampersands, removed utils.clean_html()Erik Romijn
2014-03-01Fixed #15318 -- Added settings for language cookie max-age, path, domainSergey Kolosov
Introduced a number of settings to configure max-age, path, and domain for the language cookie: LANGUAGE_COOKIE_AGE, LANGUAGE_COOKIE_PATH and LANGUAGE_COOKIE_DOMAIN. Thanks sahid for the suggestion.
2014-02-28Fixed spelling mistakes in docs.Tim Graham
2014-02-28Fixed #21948 -- Noted TEMPLATE_LOADERS requirement when overriding admin ↵Alex de Landgraaf
templates. Thanks django at patjack.co.uk for the suggestion.
2014-02-28Fixed doc typos.Tim Graham
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.