django-categories/api/categories.genericcollection.GenericCollectionInlineModelAdmin.html
2024-05-22 09:20:42 +00:00

839 lines
No EOL
44 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en" data-content_root="../" >
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<title>GenericCollectionInlineModelAdmin &#8212; Django Categories 2.0.0 documentation</title>
<script data-cfasync="false">
document.documentElement.dataset.mode = localStorage.getItem("mode") || "";
document.documentElement.dataset.theme = localStorage.getItem("theme") || "light";
</script>
<!-- Loaded before other Sphinx assets -->
<link href="../_static/styles/theme.css?digest=8d27b9dea8ad943066ae" rel="stylesheet" />
<link href="../_static/styles/bootstrap.css?digest=8d27b9dea8ad943066ae" rel="stylesheet" />
<link href="../_static/styles/pydata-sphinx-theme.css?digest=8d27b9dea8ad943066ae" rel="stylesheet" />
<link href="../_static/vendor/fontawesome/6.5.1/css/all.min.css?digest=8d27b9dea8ad943066ae" rel="stylesheet" />
<link rel="preload" as="font" type="font/woff2" crossorigin href="../_static/vendor/fontawesome/6.5.1/webfonts/fa-solid-900.woff2" />
<link rel="preload" as="font" type="font/woff2" crossorigin href="../_static/vendor/fontawesome/6.5.1/webfonts/fa-brands-400.woff2" />
<link rel="preload" as="font" type="font/woff2" crossorigin href="../_static/vendor/fontawesome/6.5.1/webfonts/fa-regular-400.woff2" />
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../_static/css/custom.css?v=ea07567a" />
<!-- Pre-loaded scripts that we'll load fully later -->
<link rel="preload" as="script" href="../_static/scripts/bootstrap.js?digest=8d27b9dea8ad943066ae" />
<link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=8d27b9dea8ad943066ae" />
<script src="../_static/vendor/fontawesome/6.5.1/js/all.min.js?digest=8d27b9dea8ad943066ae"></script>
<script src="../_static/documentation_options.js?v=51b770b3"></script>
<script src="../_static/doctools.js?v=9a2dae69"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script>DOCUMENTATION_OPTIONS.pagename = 'api/categories.genericcollection.GenericCollectionInlineModelAdmin';</script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="GenericCollectionStackedInline" href="categories.genericcollection.GenericCollectionStackedInline.html" />
<link rel="prev" title="genericcollection" href="categories.genericcollection.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
</head>
<body data-bs-spy="scroll" data-bs-target=".bd-toc-nav" data-offset="180" data-bs-root-margin="0px 0px -60%" data-default-mode="">
<a id="pst-skip-link" class="skip-link" href="#main-content">Skip to main content</a>
<div id="pst-scroll-pixel-helper"></div>
<button type="button" class="btn rounded-pill" id="pst-back-to-top">
<i class="fa-solid fa-arrow-up"></i>
Back to top
</button>
<input type="checkbox"
class="sidebar-toggle"
name="__primary"
id="__primary"/>
<label class="overlay overlay-primary" for="__primary"></label>
<input type="checkbox"
class="sidebar-toggle"
name="__secondary"
id="__secondary"/>
<label class="overlay overlay-secondary" for="__secondary"></label>
<div class="search-button__wrapper">
<div class="search-button__overlay"></div>
<div class="search-button__search-container">
<form class="bd-search d-flex align-items-center"
action="../search.html"
method="get">
<i class="fa-solid fa-magnifying-glass"></i>
<input type="search"
class="form-control"
name="q"
id="search-input"
placeholder="Search the docs ..."
aria-label="Search the docs ..."
autocomplete="off"
autocorrect="off"
autocapitalize="off"
spellcheck="false"/>
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd>K</kbd></span>
</form></div>
</div>
<header class="bd-header navbar navbar-expand-lg bd-navbar">
<div class="bd-header__inner bd-page-width">
<label class="sidebar-toggle primary-toggle" for="__primary">
<span class="fa-solid fa-bars"></span>
</label>
<div class="col-lg-3 navbar-header-items__start">
<div class="navbar-item">
<a class="navbar-brand logo" href="../index.html">
<p class="title logo__title">Django Categories 2.0.0 documentation</p>
</a></div>
</div>
<div class="col-lg-9 navbar-header-items">
<div class="me-auto navbar-header-items__center">
<div class="navbar-item">
<nav class="navbar-nav">
<ul class="bd-navbar-elements navbar-nav">
<li class="nav-item">
<a class="nav-link nav-internal" href="../installation.html">
Installation
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-internal" href="../getting_started.html">
Getting Started
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-internal" href="../user_guide/index.html">
User Guide
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-internal" href="../reference/index.html">
Reference
</a>
</li>
<li class="nav-item current active">
<a class="nav-link nav-internal" href="index.html">
API
</a>
</li>
<li class="nav-item dropdown">
<button class="btn dropdown-toggle nav-item" type="button" data-bs-toggle="dropdown" aria-expanded="false" aria-controls="pst-nav-more-links">
More
</button>
<ul id="pst-nav-more-links" class="dropdown-menu">
<li class="nav-item">
<a class="nav-link dropdown-item nav-internal" href="../changelog.html">
Changelog
</a>
</li>
</ul>
</li>
</ul>
</nav></div>
</div>
<div class="navbar-header-items__end">
<div class="navbar-item navbar-persistent--container">
<script>
document.write(`
<button class="btn navbar-btn search-button-field search-button__button" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip">
<i class="fa-solid fa-magnifying-glass"></i>
<span class="search-button__default-text">Search</span>
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd class="kbd-shortcut__modifier">K</kbd></span>
</button>
`);
</script>
</div>
<div class="navbar-item">
<script>
document.write(`
<button class="btn btn-sm navbar-btn theme-switch-button" title="light/dark" aria-label="light/dark" data-bs-placement="bottom" data-bs-toggle="tooltip">
<span class="theme-switch nav-link" data-mode="light"><i class="fa-solid fa-sun fa-lg"></i></span>
<span class="theme-switch nav-link" data-mode="dark"><i class="fa-solid fa-moon fa-lg"></i></span>
<span class="theme-switch nav-link" data-mode="auto"><i class="fa-solid fa-circle-half-stroke fa-lg"></i></span>
</button>
`);
</script></div>
</div>
</div>
<div class="navbar-persistent--mobile">
<script>
document.write(`
<button class="btn navbar-btn search-button-field search-button__button" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip">
<i class="fa-solid fa-magnifying-glass"></i>
<span class="search-button__default-text">Search</span>
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd class="kbd-shortcut__modifier">K</kbd></span>
</button>
`);
</script>
</div>
<label class="sidebar-toggle secondary-toggle" for="__secondary" tabindex="0">
<span class="fa-solid fa-outdent"></span>
</label>
</div>
</header>
<div class="bd-container">
<div class="bd-container__inner bd-page-width">
<div class="bd-sidebar-primary bd-sidebar">
<div class="sidebar-header-items sidebar-primary__section">
<div class="sidebar-header-items__center">
<div class="navbar-item">
<nav class="navbar-nav">
<ul class="bd-navbar-elements navbar-nav">
<li class="nav-item">
<a class="nav-link nav-internal" href="../installation.html">
Installation
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-internal" href="../getting_started.html">
Getting Started
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-internal" href="../user_guide/index.html">
User Guide
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-internal" href="../reference/index.html">
Reference
</a>
</li>
<li class="nav-item current active">
<a class="nav-link nav-internal" href="index.html">
API
</a>
</li>
<li class="nav-item dropdown">
<button class="btn dropdown-toggle nav-item" type="button" data-bs-toggle="dropdown" aria-expanded="false" aria-controls="pst-nav-more-links-2">
More
</button>
<ul id="pst-nav-more-links-2" class="dropdown-menu">
<li class="nav-item">
<a class="nav-link dropdown-item nav-internal" href="../changelog.html">
Changelog
</a>
</li>
</ul>
</li>
</ul>
</nav></div>
</div>
<div class="sidebar-header-items__end">
<div class="navbar-item">
<script>
document.write(`
<button class="btn btn-sm navbar-btn theme-switch-button" title="light/dark" aria-label="light/dark" data-bs-placement="bottom" data-bs-toggle="tooltip">
<span class="theme-switch nav-link" data-mode="light"><i class="fa-solid fa-sun fa-lg"></i></span>
<span class="theme-switch nav-link" data-mode="dark"><i class="fa-solid fa-moon fa-lg"></i></span>
<span class="theme-switch nav-link" data-mode="auto"><i class="fa-solid fa-circle-half-stroke fa-lg"></i></span>
</button>
`);
</script></div>
</div>
</div>
<div class="sidebar-primary-items__start sidebar-primary__section">
<div class="sidebar-primary-item">
<nav class="bd-docs-nav bd-links"
aria-label="Section Navigation">
<p class="bd-links__title" role="heading" aria-level="1">Section Navigation</p>
<div class="bd-toc-item navbar-nav"><ul class="current nav bd-sidenav">
<li class="toctree-l1 current active has-children"><a class="reference internal" href="categories.html">categories</a><input checked="" class="toctree-checkbox" id="toctree-checkbox-1" name="toctree-checkbox-1" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-1"><i class="fa-solid fa-chevron-down"></i></label><ul class="current">
<li class="toctree-l2 has-children"><a class="reference internal" href="categories.admin.html">admin</a><input class="toctree-checkbox" id="toctree-checkbox-2" name="toctree-checkbox-2" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-2"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l3"><a class="reference internal" href="categories.admin.CategoryAdmin.html">CategoryAdmin</a></li>
<li class="toctree-l3"><a class="reference internal" href="categories.admin.CategoryAdminForm.html">CategoryAdminForm</a></li>
<li class="toctree-l3"><a class="reference internal" href="categories.admin.InlineCategoryRelation.html">InlineCategoryRelation</a></li>
<li class="toctree-l3"><a class="reference internal" href="categories.admin.NullTreeNodeChoiceField.html">NullTreeNodeChoiceField</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="categories.api.html">api</a></li>
<li class="toctree-l2 has-children"><a class="reference internal" href="categories.apps.html">apps</a><input class="toctree-checkbox" id="toctree-checkbox-3" name="toctree-checkbox-3" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-3"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l3"><a class="reference internal" href="categories.apps.handle_class_prepared.html">handle_class_prepared</a></li>
<li class="toctree-l3"><a class="reference internal" href="categories.apps.CategoriesConfig.html">CategoriesConfig</a></li>
</ul>
</li>
<li class="toctree-l2 has-children"><a class="reference internal" href="categories.base.html">base</a><input class="toctree-checkbox" id="toctree-checkbox-4" name="toctree-checkbox-4" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-4"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l3"><a class="reference internal" href="categories.base.CategoryBase.html">CategoryBase</a></li>
<li class="toctree-l3"><a class="reference internal" href="categories.base.CategoryBaseAdmin.html">CategoryBaseAdmin</a></li>
<li class="toctree-l3"><a class="reference internal" href="categories.base.CategoryBaseAdminForm.html">CategoryBaseAdminForm</a></li>
<li class="toctree-l3"><a class="reference internal" href="categories.base.CategoryManager.html">CategoryManager</a></li>
</ul>
</li>
<li class="toctree-l2 has-children"><a class="reference internal" href="categories.editor.html">editor</a><input class="toctree-checkbox" id="toctree-checkbox-5" name="toctree-checkbox-5" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-5"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l3"><a class="reference internal" href="categories.editor.models.html">models</a></li>
<li class="toctree-l3"><a class="reference internal" href="categories.editor.settings.html">settings</a></li>
<li class="toctree-l3 has-children"><a class="reference internal" href="categories.editor.templatetags.html">templatetags</a><input class="toctree-checkbox" id="toctree-checkbox-6" name="toctree-checkbox-6" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-6"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l4"><a class="reference internal" href="categories.editor.templatetags.admin_tree_list_tags.html">admin_tree_list_tags</a></li>
</ul>
</li>
<li class="toctree-l3 has-children"><a class="reference internal" href="categories.editor.tree_editor.html">tree_editor</a><input class="toctree-checkbox" id="toctree-checkbox-7" name="toctree-checkbox-7" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-7"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l4"><a class="reference internal" href="categories.editor.tree_editor.TreeChangeList.html">TreeChangeList</a></li>
<li class="toctree-l4"><a class="reference internal" href="categories.editor.tree_editor.TreeEditor.html">TreeEditor</a></li>
<li class="toctree-l4"><a class="reference internal" href="categories.editor.tree_editor.TreeEditorQuerySet.html">TreeEditorQuerySet</a></li>
</ul>
</li>
<li class="toctree-l3 has-children"><a class="reference internal" href="categories.editor.utils.html">utils</a><input class="toctree-checkbox" id="toctree-checkbox-8" name="toctree-checkbox-8" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-8"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l4"><a class="reference internal" href="categories.editor.utils.display_for_field.html">display_for_field</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2 has-children"><a class="reference internal" href="categories.fields.html">fields</a><input class="toctree-checkbox" id="toctree-checkbox-9" name="toctree-checkbox-9" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-9"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l3"><a class="reference internal" href="categories.fields.CategoryFKField.html">CategoryFKField</a></li>
<li class="toctree-l3"><a class="reference internal" href="categories.fields.CategoryM2MField.html">CategoryM2MField</a></li>
</ul>
</li>
<li class="toctree-l2 current active has-children"><a class="reference internal" href="categories.genericcollection.html">genericcollection</a><input checked="" class="toctree-checkbox" id="toctree-checkbox-10" name="toctree-checkbox-10" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-10"><i class="fa-solid fa-chevron-down"></i></label><ul class="current">
<li class="toctree-l3 current active"><a class="current reference internal" href="#">GenericCollectionInlineModelAdmin</a></li>
<li class="toctree-l3"><a class="reference internal" href="categories.genericcollection.GenericCollectionStackedInline.html">GenericCollectionStackedInline</a></li>
<li class="toctree-l3"><a class="reference internal" href="categories.genericcollection.GenericCollectionTabularInline.html">GenericCollectionTabularInline</a></li>
</ul>
</li>
<li class="toctree-l2 has-children"><a class="reference internal" href="categories.management.html">management</a><input class="toctree-checkbox" id="toctree-checkbox-11" name="toctree-checkbox-11" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-11"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l3 has-children"><a class="reference internal" href="categories.management.commands.html">commands</a><input class="toctree-checkbox" id="toctree-checkbox-12" name="toctree-checkbox-12" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-12"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l4"><a class="reference internal" href="categories.management.commands.add_category_fields.html">add_category_fields</a></li>
<li class="toctree-l4"><a class="reference internal" href="categories.management.commands.drop_category_field.html">drop_category_field</a></li>
<li class="toctree-l4"><a class="reference internal" href="categories.management.commands.import_categories.html">import_categories</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2 has-children"><a class="reference internal" href="categories.migration.html">migration</a><input class="toctree-checkbox" id="toctree-checkbox-13" name="toctree-checkbox-13" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-13"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l3"><a class="reference internal" href="categories.migration.drop_field.html">drop_field</a></li>
<li class="toctree-l3"><a class="reference internal" href="categories.migration.field_exists.html">field_exists</a></li>
<li class="toctree-l3"><a class="reference internal" href="categories.migration.migrate_app.html">migrate_app</a></li>
<li class="toctree-l3"><a class="reference internal" href="categories.migration.table_exists.html">table_exists</a></li>
</ul>
</li>
<li class="toctree-l2 has-children"><a class="reference internal" href="categories.models.html">models</a><input class="toctree-checkbox" id="toctree-checkbox-14" name="toctree-checkbox-14" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-14"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l3"><a class="reference internal" href="categories.models.Category.html">Category</a></li>
<li class="toctree-l3"><a class="reference internal" href="categories.models.CategoryRelation.html">CategoryRelation</a></li>
<li class="toctree-l3"><a class="reference internal" href="categories.models.CategoryRelationManager.html">CategoryRelationManager</a></li>
</ul>
</li>
<li class="toctree-l2 has-children"><a class="reference internal" href="categories.registration.html">registration</a><input class="toctree-checkbox" id="toctree-checkbox-15" name="toctree-checkbox-15" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-15"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l3"><a class="reference internal" href="categories.registration.Registry.html">Registry</a></li>
</ul>
</li>
<li class="toctree-l2 has-children"><a class="reference internal" href="categories.settings.html">settings</a><input class="toctree-checkbox" id="toctree-checkbox-16" name="toctree-checkbox-16" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-16"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l3"><a class="reference internal" href="categories.settings.SLUG_TRANSLITERATOR.html">SLUG_TRANSLITERATOR</a></li>
</ul>
</li>
<li class="toctree-l2 has-children"><a class="reference internal" href="categories.templatetags.html">templatetags</a><input class="toctree-checkbox" id="toctree-checkbox-17" name="toctree-checkbox-17" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-17"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l3 has-children"><a class="reference internal" href="categories.templatetags.category_tags.html">category_tags</a><input class="toctree-checkbox" id="toctree-checkbox-18" name="toctree-checkbox-18" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-18"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l4"><a class="reference internal" href="categories.templatetags.category_tags.breadcrumbs.html">breadcrumbs</a></li>
<li class="toctree-l4"><a class="reference internal" href="categories.templatetags.category_tags.display_drilldown_as_ul.html">display_drilldown_as_ul</a></li>
<li class="toctree-l4"><a class="reference internal" href="categories.templatetags.category_tags.display_path_as_ul.html">display_path_as_ul</a></li>
<li class="toctree-l4"><a class="reference internal" href="categories.templatetags.category_tags.do_get_latest_objects_by_category.html">do_get_latest_objects_by_category</a></li>
<li class="toctree-l4"><a class="reference internal" href="categories.templatetags.category_tags.get_cat_model.html">get_cat_model</a></li>
<li class="toctree-l4"><a class="reference internal" href="categories.templatetags.category_tags.get_category.html">get_category</a></li>
<li class="toctree-l4"><a class="reference internal" href="categories.templatetags.category_tags.get_category_drilldown.html">get_category_drilldown</a></li>
<li class="toctree-l4"><a class="reference internal" href="categories.templatetags.category_tags.get_latest_objects_by_category.html">get_latest_objects_by_category</a></li>
<li class="toctree-l4"><a class="reference internal" href="categories.templatetags.category_tags.get_top_level_categories.html">get_top_level_categories</a></li>
<li class="toctree-l4"><a class="reference internal" href="categories.templatetags.category_tags.recursetree.html">recursetree</a></li>
<li class="toctree-l4"><a class="reference internal" href="categories.templatetags.category_tags.resolve.html">resolve</a></li>
<li class="toctree-l4"><a class="reference internal" href="categories.templatetags.category_tags.tree_queryset.html">tree_queryset</a></li>
<li class="toctree-l4"><a class="reference internal" href="categories.templatetags.category_tags.CategoryDrillDownNode.html">CategoryDrillDownNode</a></li>
<li class="toctree-l4"><a class="reference internal" href="categories.templatetags.category_tags.LatestObjectsNode.html">LatestObjectsNode</a></li>
<li class="toctree-l4"><a class="reference internal" href="categories.templatetags.category_tags.TopLevelCategoriesNode.html">TopLevelCategoriesNode</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="categories.urls.html">urls</a></li>
<li class="toctree-l2 has-children"><a class="reference internal" href="categories.utils.html">utils</a><input class="toctree-checkbox" id="toctree-checkbox-19" name="toctree-checkbox-19" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-19"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l3"><a class="reference internal" href="categories.utils.slugify.html">slugify</a></li>
</ul>
</li>
<li class="toctree-l2 has-children"><a class="reference internal" href="categories.views.html">views</a><input class="toctree-checkbox" id="toctree-checkbox-20" name="toctree-checkbox-20" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-20"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l3"><a class="reference internal" href="categories.views.category_detail.html">category_detail</a></li>
<li class="toctree-l3"><a class="reference internal" href="categories.views.get_category_for_path.html">get_category_for_path</a></li>
<li class="toctree-l3"><a class="reference internal" href="categories.views.CategoryDetailView.html">CategoryDetailView</a></li>
<li class="toctree-l3"><a class="reference internal" href="categories.views.CategoryRelatedDetail.html">CategoryRelatedDetail</a></li>
<li class="toctree-l3"><a class="reference internal" href="categories.views.CategoryRelatedList.html">CategoryRelatedList</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</nav></div>
</div>
<div class="sidebar-primary-items__end sidebar-primary__section">
</div>
<div id="rtd-footer-container"></div>
</div>
<main id="main-content" class="bd-main">
<div class="bd-content">
<div class="bd-article-container">
<div class="bd-header-article">
<div class="header-article-items header-article__inner">
<div class="header-article-items__start">
<div class="header-article-item">
<nav aria-label="Breadcrumb">
<ul class="bd-breadcrumbs">
<li class="breadcrumb-item breadcrumb-home">
<a href="../index.html" class="nav-link" aria-label="Home">
<i class="fa-solid fa-home"></i>
</a>
</li>
<li class="breadcrumb-item"><a href="index.html" class="nav-link">API</a></li>
<li class="breadcrumb-item"><i class="fa-solid fa-ellipsis"></i></li>
<li class="breadcrumb-item"><a href="categories.genericcollection.html" class="nav-link">genericcollection</a></li>
<li class="breadcrumb-item active" aria-current="page">GenericColle...</li>
</ul>
</nav>
</div>
</div>
</div>
</div>
<div id="searchbox"></div>
<article class="bd-article">
<p class="h4 text-secondary">categories.genericcollection.GenericCollectionInlineModelAdmin</p>
<section id="genericcollectioninlinemodeladmin">
<h1>GenericCollectionInlineModelAdmin<a class="headerlink" href="#genericcollectioninlinemodeladmin" title="Link to this heading">#</a></h1>
<dl class="py class">
<dt class="sig sig-object py" id="categories.genericcollection.GenericCollectionInlineModelAdmin">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">categories.genericcollection.</span></span><span class="sig-name descname"><span class="pre">GenericCollectionInlineModelAdmin</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">parent_model</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">admin_site</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/categories/genericcollection.html#GenericCollectionInlineModelAdmin"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#categories.genericcollection.GenericCollectionInlineModelAdmin" title="Link to this definition">#</a></dt>
<dd><p>Inline admin for generic model collections.</p>
<p class="rubric">Methods</p>
<table class="autosummary longtable table autosummary">
<tbody>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">check</span></code>(**kwargs)</p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">formfield_for_choice_field</span></code>(db_field, ...)</p></td>
<td><p>Get a form Field for a database Field that has declared choices.</p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">formfield_for_dbfield</span></code>(db_field, request, ...)</p></td>
<td><p>Hook for specifying the form Field instance for a given database Field instance.</p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">formfield_for_foreignkey</span></code>(db_field, request, ...)</p></td>
<td><p>Get a form Field for a ForeignKey.</p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">formfield_for_manytomany</span></code>(db_field, request, ...)</p></td>
<td><p>Get a form Field for a ManyToManyField.</p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">get_autocomplete_fields</span></code>(request)</p></td>
<td><p>Return a list of ForeignKey and/or ManyToMany fields which should use an autocomplete widget.</p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">get_content_types</span></code>()</p></td>
<td><p>Get the content types supported by this collection.</p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">get_empty_value_display</span></code>()</p></td>
<td><p>Return the empty_value_display set on ModelAdmin or AdminSite.</p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">get_exclude</span></code>(request[, obj])</p></td>
<td><p>Hook for specifying exclude.</p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">get_extra</span></code>(request[, obj])</p></td>
<td><p>Hook for customizing the number of extra inline forms.</p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">get_field_queryset</span></code>(db, db_field, request)</p></td>
<td><p>If the ModelAdmin specifies ordering, the queryset should respect that ordering.</p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">get_fields</span></code>(request[, obj])</p></td>
<td><p>Hook for specifying fields.</p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">get_fieldsets</span></code>(request[, obj])</p></td>
<td><p>Hook for specifying fieldsets.</p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">get_formset</span></code>(request[, obj])</p></td>
<td><p>Get the formset for the generic collection.</p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">get_inlines</span></code>(request, obj)</p></td>
<td><p>Hook for specifying custom inlines.</p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">get_max_num</span></code>(request[, obj])</p></td>
<td><p>Hook for customizing the max number of extra inline forms.</p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">get_min_num</span></code>(request[, obj])</p></td>
<td><p>Hook for customizing the min number of inline forms.</p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">get_ordering</span></code>(request)</p></td>
<td><p>Hook for specifying field ordering.</p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">get_prepopulated_fields</span></code>(request[, obj])</p></td>
<td><p>Hook for specifying custom prepopulated fields.</p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">get_queryset</span></code>(request)</p></td>
<td><p>Return a QuerySet of all model instances that can be edited by the admin site.</p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">get_readonly_fields</span></code>(request[, obj])</p></td>
<td><p>Hook for specifying custom readonly fields.</p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">get_sortable_by</span></code>(request)</p></td>
<td><p>Hook for specifying which fields can be sorted in the changelist.</p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">get_view_on_site_url</span></code>([obj])</p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">has_add_permission</span></code>(request, obj)</p></td>
<td><p>Return True if the given request has permission to add an object.</p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">has_change_permission</span></code>(request[, obj])</p></td>
<td><p>Return True if the given request has permission to change the given Django model instance, the default implementation doesn't examine the <cite>obj</cite> parameter.</p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">has_delete_permission</span></code>(request[, obj])</p></td>
<td><p>Return True if the given request has permission to change the given Django model instance, the default implementation doesn't examine the <cite>obj</cite> parameter.</p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">has_module_permission</span></code>(request)</p></td>
<td><p>Return True if the given request has any permission in the given app label.</p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">has_view_or_change_permission</span></code>(request[, obj])</p></td>
<td><p></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">has_view_permission</span></code>(request[, obj])</p></td>
<td><p>Return True if the given request has permission to view the given Django model instance.</p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">lookup_allowed</span></code>(lookup, value)</p></td>
<td><p></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">to_field_allowed</span></code>(request, to_field)</p></td>
<td><p>Return True if the model associated with this admin should be allowed to be referenced by the specified field.</p></td>
</tr>
</tbody>
</table>
<p class="rubric">Attributes</p>
<table class="autosummary longtable table autosummary">
<tbody>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">autocomplete_fields</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">can_delete</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">classes</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">ct_field</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">ct_fk_field</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">exclude</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">extra</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">fields</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">filter_horizontal</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">filter_vertical</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">fk_name</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">formfield_overrides</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">max_num</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">media</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">min_num</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">model</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">ordering</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">prepopulated_fields</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">radio_fields</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">raw_id_fields</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">readonly_fields</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">show_change_link</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">show_full_result_count</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">sortable_by</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">template</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">verbose_name</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">verbose_name_plural</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">view_on_site</span></code></p></td>
<td><p></p></td>
</tr>
</tbody>
</table>
</dd></dl>
</section>
</article>
<footer class="prev-next-footer">
<div class="prev-next-area">
<a class="left-prev"
href="categories.genericcollection.html"
title="previous page">
<i class="fa-solid fa-angle-left"></i>
<div class="prev-next-info">
<p class="prev-next-subtitle">previous</p>
<p class="prev-next-title">genericcollection</p>
</div>
</a>
<a class="right-next"
href="categories.genericcollection.GenericCollectionStackedInline.html"
title="next page">
<div class="prev-next-info">
<p class="prev-next-subtitle">next</p>
<p class="prev-next-title">GenericCollectionStackedInline</p>
</div>
<i class="fa-solid fa-angle-right"></i>
</a>
</div>
</footer>
</div>
<div class="bd-sidebar-secondary bd-toc"><div class="sidebar-secondary-items sidebar-secondary__inner">
<div class="sidebar-secondary-item">
<div
id="pst-page-navigation-heading-2"
class="page-toc tocsection onthispage">
<i class="fa-solid fa-list"></i> On this page
</div>
<nav class="bd-toc-nav page-toc" aria-labelledby="pst-page-navigation-heading-2">
<ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#categories.genericcollection.GenericCollectionInlineModelAdmin"><code class="docutils literal notranslate"><span class="pre">GenericCollectionInlineModelAdmin</span></code></a></li>
</ul>
</nav></div>
<div class="sidebar-secondary-item">
<div class="tocsection sourcelink">
<a href="../_sources/api/categories.genericcollection.GenericCollectionInlineModelAdmin.rst.txt">
<i class="fa-solid fa-file-lines"></i> Show Source
</a>
</div>
</div>
</div></div>
</div>
<footer class="bd-footer-content">
</footer>
</main>
</div>
</div>
<!-- Scripts loaded after <body> so the DOM is not blocked -->
<script src="../_static/scripts/bootstrap.js?digest=8d27b9dea8ad943066ae"></script>
<script src="../_static/scripts/pydata-sphinx-theme.js?digest=8d27b9dea8ad943066ae"></script>
<footer class="bd-footer">
<div class="bd-footer__inner bd-page-width">
<div class="footer-items__start">
<div class="footer-item">
<p class="copyright">
© Copyright 2010-2024, Corey Oordt.
<br/>
</p>
</div>
<div class="footer-item">
<p class="sphinx-version">
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.3.7.
<br/>
</p>
</div>
</div>
<div class="footer-items__end">
<div class="footer-item">
<p class="theme-version">
Built with the <a href="https://pydata-sphinx-theme.readthedocs.io/en/stable/index.html">PyData Sphinx Theme</a> 0.15.2.
</p></div>
</div>
</div>
</footer>
</body>
</html>