Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/docs/ref/contrib/contenttypes.txt
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #24019 -- Fixed inaccurate docs about ↵Tim Graham2015-10-301-10/+4
| | | | | | | GenericRelation not supporting aggregation. This works at least as far back as Django 1.6 according to the test added in refs #10870.
* Fixed #25508 -- Modified QuerySet.__repr__() to ↵Tim Graham2015-10-061-3/+3
| | | | disambiguate it from a list.
* Made cosmetic cleanups to docs/ref/contrib/contenttypes.txtTim Graham2015-09-301-7/+5
|
* Refs #24099 -- Removed compatibility shim for ↵Tim Graham2015-09-241-5/+0
| | | | ContentType.name field.
* Fixed #25160 -- Moved unsaved model instance data loss ↵Tim Graham2015-08-101-7/+0
| | | | | | | | | check to Model.save() This mostly reverts 5643a3b51be338196d0b292d5626ad43648448d3 and 81e1a35c364e5353d2bf99368ad30a4184fbb653. Thanks Carl Meyer for review.
* Fixed #21127 -- Started deprecation toward requiring ↵Flavio Curella2015-07-281-1/+1
| | | | on_delete for ForeignKey/OneToOneField
* Fixed #25159 -- Removed brackets from ↵Tim Graham2015-07-271-2/+2
| | | | | | class/function/method signatures in docs. Thanks hellbeast for the initial patch.
* Fixed #24495 -- Allowed unsaved model instance ↵Karl Hobley2015-03-191-0/+7
| | | | assignment check to be bypassed.
* Removed versionadded/changed notes for 1.7.Tim Graham2015-02-021-10/+1
|
* Removed contrib.contenttypes.generic per deprecation ↵Tim Graham2015-01-181-25/+0
| | | | timeline; refs #19774.
* Removed usage of deprecated dumpdata options in docs.Tim Graham2015-01-181-1/+2
|
* Fixed #24099 -- Removed contenttype.name deprecated fieldClaude Paroz2015-01-161-5/+9
| | | | | | This finsishes the work started on #16803. Thanks Simon Charette, Tim Graham and Collin Anderson for the reviews.
* Fixed #23067 -- Updated docs to use django-adminChristoph Heer2014-07-301-1/+1
|
* Fixed #17642 -- Added min_num support to modelformsets, ↵Anders Steinlein2014-05-151-1/+5
| | | | | | | | inlines, and the admin. Thanks Stephen Burrows for work on the patch as well. Forwardport of 2914f66983a92fcae55673c517dd8d01e8c238c4 from stable/1.7.x
* Removed versionadded/changed annotations for 1.6.Tim Graham2014-03-241-7/+3
|
* Removed contrib.comments per deprecation timeline.Tim Graham2014-03-211-5/+2
|
* Fixed #22207 -- Added support for GenericRelation ↵Gabe Jackson2014-03-051-0/+23
| | | | | | | | | | | reverse lookups 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.
* Fixed #21951 -- Updated docs to use __str__ for Python 3Alasdair Nicol2014-02-131-2/+1
| | | | Thanks Tim Graham for the report and recommendations
* Fixed #19774 -- Deprecated the contenttypes.generic module.Simon Charette2014-01-261-50/+86
| | | | | | | It contained models, forms and admin objects causing undesirable import side effects. Refs #16368. Thanks to Ramiro, Carl and Loïc for the review.
* Fixed #20958 -- Documented that GenericForeignKey fields ↵Tim Graham2013-09-041-0/+3
| | | | | | can't be accessed in forms. Thanks marky1991.
* Merge remote-tracking branch 'core/master' into ↵Andrew Godwin2013-08-191-17/+6
|\ | | | | | | | | | | | | schema-alteration Conflicts: docs/ref/django-admin.txt
| * Removed versionadded/changed annotations for 1.5Tim Graham2013-08-191-17/+6
| |
* | More migration docs, and conversion of all easy syncdb ↵Andrew Godwin2013-07-251-1/+1
|/ | | | references
* Fixed #20224 -- Update docs examples which mention ↵Claude Paroz2013-07-051-0/+1
| | | | | | __unicode__ Thanks Marc Tamlyn and Tim Graham for the review.
* Fixed #20677 - Typos in generic_inlineformset_factory docs.Tim Graham2013-06-291-3/+3
| | | | Thanks Riley Strong for the report.
* Fixed #17648 -- Add `for_concrete_model` to ↵Gavin Wahl2013-05-241-1/+16
| | | | | | | | | | | `GenericForeignKey`. Allows a `GenericForeignKey` to reference proxy models. The default for `for_concrete_model` is `True` to keep backwards compatibility. Also added the analog `for_concrete_model` kwarg to `generic_inlineformset_factory` to provide an API at the form level.
* Fixed #20004 -- Moved non DB-related assertions to ↵Ramiro Morales2013-05-191-1/+1
| | | | | | | | SimpleTestCase. Thanks zalew for the suggestion and work on a patch. Also updated, tweaked and fixed testing documentation.
* Adapted uses of versionchanged/versionadded to the new form.Juan Catalano2013-04-201-12/+12
| | | | Refs #20104.
* Fixed #20084 -- Provided option to validate formset ↵Andrew Gorcester2013-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | max_num on server. This is provided as a new "validate_max" formset_factory option defaulting to False, since the non-validating behavior of max_num is longstanding, and there is certainly code relying on it. (In fact, even the Django admin relies on it for the case where there are more existing inlines than the given max_num). It may be that at some point we want to deprecate validate_max=False and eventually remove the option, but this commit takes no steps in that direction. This also fixes the DoS-prevention absolute_max enforcement so that it causes a form validation error rather than an IndexError, and ensures that absolute_max is always 1000 more than max_num, to prevent surprising changes in behavior with max_num close to absolute_max. Lastly, this commit fixes the previous inconsistency between a regular formset and a model formset in the precedence of max_num and initial data. Previously in a regular formset, if the provided initial data was longer than max_num, it was truncated; in a model formset, all initial forms would be displayed regardless of max_num. Now regular formsets are the same as model formsets; all initial forms are displayed, even if more than max_num. (But if validate_max is True, submitting these forms will result in a "too many forms" validation error!) This combination of behaviors was chosen to keep the max_num validation simple and consistent, and avoid silent data loss due to truncation of initial data. Thanks to Preston for discussion of the design choices.
* Small generic FK docs tweaks.Ramiro Morales2013-02-021-2/+3
|
* Fixed content types contrib app doc typos.Ramiro Morales2013-02-021-3/+3
|
* Fixed #19477 - Documented generic_inlineformset_factoryTim Graham2013-01-231-8/+23
| | | | Thanks epicserve for the suggestion.
* Fixed #19516 - Fixed remaining broken links.Tim Graham2013-01-031-1/+7
| | | | Added -n to sphinx builds to catch issues going forward.
* Fixed broken links, round 3. refs #19516Tim Graham2012-12-271-6/+8
|
* Fixed #18934 - Removed versionadded/changed annotations ↵Tim Graham2012-09-211-2/+0
| | | | for Django 1.3
* Fixed #18131 - Documented ContentTypeManager.get_for_id; ↵Tim Graham2012-09-151-0/+8
| | | | thanks sir_sigurd for the report.
* Cleaned whitespace errors introduced in previous commitAnssi Kääriäinen2012-06-081-8/+8
|
* Fixed #18399 – Added a way to get ContentTypes for ↵Simon Charette2012-06-081-2/+15
| | | | | | | | proxy models Added kwargs for_concrete_model and for_concrete_models to ContentType methods get_for_model() and get_for_models(). By setting the flag to False, it is possible to get the contenttype for proxy models.
* Fixed #18257 -- Typo in contenttypes docs.Aymeric Augustin2012-05-101-1/+1
|
* Replaced http by https in djangoproject.com linksClaude Paroz2012-03-131-2/+2
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@17703 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed many more ReST indentation errors, somehow ↵Luke Plant2011-10-141-38/+38
| | | | | | accidentally missed from [16955] git-svn-id: http://code.djangoproject.com/svn/django/trunk@16983 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Introduce `ContentType.objects.get_for_models(*models)` ↵Alex Gaynor2011-10-121-2/+9
| | | | | | and use it in the the auth permissions code. This is a solid performance gain on the test suite. Thanks to ptone for the profiling to find this hotspot, and carl for the review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16963 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed doc references to ↵Jannis Leidel2011-09-301-4/+5
| | | | | | `django.db.models.query.QuerySet` and converted some tabs that were introduced in r16699 to spaces. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16915 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #16000 -- reference natural keys in contenttypes ↵Simon Meers2011-07-101-0/+18
| | | | | | documentation. Thanks jsdalton. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16536 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #15865 -- correct class name for ↵Simon Meers2011-04-281-1/+1
| | | | | | BaseGenericInlineFormset. Thanks leonelfreire for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #14820 -- Added more information to the generic ↵Gabriel Hurley2011-02-161-7/+25
| | | | | | relation docs regarding different choices for storing PK references for a GenericForeignKey. Thanks to mrmachine for the all the work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #15309 -- reST/Sphinx cleanup on the ContentTypes ↵Gabriel Hurley2011-02-161-89/+108
| | | | | | Framework docs. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15544 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #13307 -- Enhanced the generic inlines ↵Ramiro Morales2011-01-011-4/+7
| | | | | | documentation by mentioning the concrete Generic{Tabular,Stacked}Inline classes that should be used. Thanks loki77 for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15124 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #7539, #13067 -- Added on_delete argument to ↵Carl Meyer2010-11-091-0/+10
| | | | | | ForeignKey to control cascade behavior. Also refactored deletion for efficiency and code clarity. Many thanks to Johannes Dollinger and Michael Glassford for extensive work on the patch, and to Alex Gaynor, Russell Keith-Magee, and Jacob Kaplan-Moss for review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14507 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #14112 -- Various Markup fixes for the docs. ↵Russell Keith-Magee2010-08-231-2/+2
| | | | | | Thanks to ramiro for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13628 bcc190cf-cafb-0310-a4f2-bffc1f526a37