django-categories/reference/settings.html
2024-05-22 09:20:42 +00:00

628 lines
No EOL
28 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. 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>Settings &#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 = 'reference/settings';</script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="Template tags and filters" href="templatetags.html" />
<link rel="prev" title="Models" href="models.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 current active">
<a class="nav-link nav-internal" href="index.html">
Reference
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-internal" href="../api/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 current active">
<a class="nav-link nav-internal" href="index.html">
Reference
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-internal" href="../api/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"><a class="reference internal" href="management_commands.html">Management Commands</a></li>
<li class="toctree-l1"><a class="reference internal" href="models.html">Models</a></li>
<li class="toctree-l1 current active"><a class="current reference internal" href="#">Settings</a></li>
<li class="toctree-l1"><a class="reference internal" href="templatetags.html">Template tags and filters</a></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">Reference</a></li>
<li class="breadcrumb-item active" aria-current="page">Settings</li>
</ul>
</nav>
</div>
</div>
</div>
</div>
<div id="searchbox"></div>
<article class="bd-article">
<section id="settings">
<span id="reference-settings"></span><h1>Settings<a class="headerlink" href="#settings" title="Link to this heading">#</a></h1>
<p>The <code class="docutils literal notranslate"><span class="pre">CATEGORIES_SETTINGS</span></code> dictionary is where you can override the default settings. You dont have to include all the settings; only the ones which you want to override.</p>
<nav class="contents local" id="contents">
<ul class="simple">
<li><p><a class="reference internal" href="#allow-slug-change" id="id13">ALLOW_SLUG_CHANGE</a></p></li>
<li><p><a class="reference internal" href="#slug-transliterator" id="id14">SLUG_TRANSLITERATOR</a></p></li>
<li><p><a class="reference internal" href="#cache-view-length" id="id15">CACHE_VIEW_LENGTH</a></p></li>
<li><p><a class="reference internal" href="#relation-models" id="id16">RELATION_MODELS</a></p></li>
<li><p><a class="reference internal" href="#m2m-registry" id="id17">M2M_REGISTRY</a></p></li>
<li><p><a class="reference internal" href="#fk-registry" id="id18">FK_REGISTRY</a></p></li>
<li><p><a class="reference internal" href="#register-admin" id="id19">REGISTER_ADMIN</a></p></li>
<li><p><a class="reference internal" href="#id8" id="id20">THUMBNAIL_UPLOAD_PATH</a></p></li>
<li><p><a class="reference internal" href="#thumbnail-storage" id="id21">THUMBNAIL_STORAGE</a></p></li>
<li><p><a class="reference internal" href="#thumbnail-storage-alias" id="id22">THUMBNAIL_STORAGE_ALIAS</a></p></li>
<li><p><a class="reference internal" href="#javascript-url" id="id23">JAVASCRIPT_URL</a></p></li>
<li><p><a class="reference internal" href="#admin-fieldsets" id="id24">ADMIN_FIELDSETS</a></p></li>
</ul>
</nav>
<p>The default settings are:</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="n">CATEGORIES_SETTINGS</span> <span class="o">=</span> <span class="p">{</span>
<span class="s1">&#39;ALLOW_SLUG_CHANGE&#39;</span><span class="p">:</span> <span class="kc">False</span><span class="p">,</span>
<span class="s1">&#39;CACHE_VIEW_LENGTH&#39;</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
<span class="s1">&#39;RELATION_MODELS&#39;</span><span class="p">:</span> <span class="p">[],</span>
<span class="s1">&#39;M2M_REGISTRY&#39;</span><span class="p">:</span> <span class="p">{},</span>
<span class="s1">&#39;FK_REGISTRY&#39;</span><span class="p">:</span> <span class="p">{},</span>
<span class="s1">&#39;THUMBNAIL_UPLOAD_PATH&#39;</span><span class="p">:</span> <span class="s1">&#39;uploads/categories/thumbnails&#39;</span><span class="p">,</span>
<span class="s1">&#39;THUMBNAIL_STORAGE&#39;</span><span class="p">:</span> <span class="n">settings</span><span class="o">.</span><span class="n">DEFAULT_FILE_STORAGE</span><span class="p">,</span>
<span class="s1">&#39;THUMBNAIL_STORAGE_ALIAS&#39;</span><span class="p">:</span> <span class="s1">&#39;default&#39;</span><span class="p">,</span>
<span class="s1">&#39;SLUG_TRANSLITERATOR&#39;</span><span class="p">:</span> <span class="k">lambda</span> <span class="n">x</span><span class="p">:</span> <span class="n">x</span><span class="p">,</span>
<span class="s1">&#39;ADMIN_FIELDSETS&#39;</span><span class="p">:</span> <span class="p">{}</span>
<span class="p">}</span>
</pre></div>
</div>
<section id="allow-slug-change">
<span id="id1"></span><h2><a class="toc-backref" href="#id13" role="doc-backlink">ALLOW_SLUG_CHANGE</a><a class="headerlink" href="#allow-slug-change" title="Link to this heading">#</a></h2>
<p><strong>Default:</strong> <code class="docutils literal notranslate"><span class="pre">False</span></code></p>
<p><strong>Description:</strong> Changing the slug for a category can have serious consequences if it is used as part of a URL. Setting this to <code class="docutils literal notranslate"><span class="pre">True</span></code> will allow users to change the slug of a category.</p>
</section>
<section id="slug-transliterator">
<span id="id2"></span><h2><a class="toc-backref" href="#id14" role="doc-backlink">SLUG_TRANSLITERATOR</a><a class="headerlink" href="#slug-transliterator" title="Link to this heading">#</a></h2>
<p><strong>Default:</strong> <code class="docutils literal notranslate"><span class="pre">lambda</span> <span class="pre">x:</span> <span class="pre">x</span></code></p>
<p><strong>Description:</strong> Allows the specification of a function to convert non-ASCII characters in the potential slug to ASCII characters. Allows specifying a <code class="docutils literal notranslate"><span class="pre">callable()</span></code> or a string in the form of <code class="docutils literal notranslate"><span class="pre">'path.to.module.function'</span></code>.</p>
<p>A great tool for this is <a class="reference external" href="http://pypi.python.org/pypi/Unidecode">Unidecode</a>. Use it by setting <code class="docutils literal notranslate"><span class="pre">SLUG_TRANSLITERATOR</span></code> to <code class="docutils literal notranslate"><span class="pre">'unidecode.unidecode</span></code>.</p>
</section>
<section id="cache-view-length">
<span id="id3"></span><h2><a class="toc-backref" href="#id15" role="doc-backlink">CACHE_VIEW_LENGTH</a><a class="headerlink" href="#cache-view-length" title="Link to this heading">#</a></h2>
<p><strong>Default:</strong> <code class="docutils literal notranslate"><span class="pre">0</span></code></p>
<p><strong>Description:</strong> This setting will be deprecated soon, but in the mean time, it allows you to specify the amount of time each view result is cached.</p>
</section>
<section id="relation-models">
<span id="id4"></span><h2><a class="toc-backref" href="#id16" role="doc-backlink">RELATION_MODELS</a><a class="headerlink" href="#relation-models" title="Link to this heading">#</a></h2>
<p><strong>Default:</strong> <code class="docutils literal notranslate"><span class="pre">[]</span></code></p>
<p><strong>Description:</strong> Relation models is a set of models that a user can associate with this category. You specify models using <code class="docutils literal notranslate"><span class="pre">'app_name.modelname'</span></code> syntax.</p>
</section>
<section id="m2m-registry">
<span id="id5"></span><h2><a class="toc-backref" href="#id17" role="doc-backlink">M2M_REGISTRY</a><a class="headerlink" href="#m2m-registry" title="Link to this heading">#</a></h2>
<p><strong>Default:</strong> {}</p>
<p><strong>Description:</strong> A dictionary where the keys are in <code class="docutils literal notranslate"><span class="pre">'app_name.model_name'</span></code> syntax, and the values are a string, dict, or tuple of dicts. See <a class="reference internal" href="../user_guide/registering_models.html#registering-models"><span class="std std-ref">Registering Models</span></a>.</p>
</section>
<section id="fk-registry">
<span id="id6"></span><h2><a class="toc-backref" href="#id18" role="doc-backlink">FK_REGISTRY</a><a class="headerlink" href="#fk-registry" title="Link to this heading">#</a></h2>
<p><strong>Default:</strong> {}</p>
<p><strong>Description:</strong> A dictionary where the keys are in <code class="docutils literal notranslate"><span class="pre">'app_name.model_name'</span></code> syntax, and the values are a string, dict, or tuple of dicts. See <a class="reference internal" href="../user_guide/registering_models.html#registering-models"><span class="std std-ref">Registering Models</span></a>.</p>
</section>
<section id="register-admin">
<span id="thumbnail-upload-path"></span><span id="id7"></span><h2><a class="toc-backref" href="#id19" role="doc-backlink">REGISTER_ADMIN</a><a class="headerlink" href="#register-admin" title="Link to this heading">#</a></h2>
<p><strong>Default:</strong> <code class="docutils literal notranslate"><span class="pre">True</span></code></p>
<p><strong>Description:</strong> If you write your own category class by subclassing <code class="docutils literal notranslate"><span class="pre">CategoryBase</span></code> then you probably have no use for registering the default <code class="docutils literal notranslate"><span class="pre">Category</span></code> class in the admin.</p>
</section>
<section id="id8">
<h2><a class="toc-backref" href="#id20" role="doc-backlink">THUMBNAIL_UPLOAD_PATH</a><a class="headerlink" href="#id8" title="Link to this heading">#</a></h2>
<p><strong>Default:</strong> <code class="docutils literal notranslate"><span class="pre">'uploads/categories/thumbnails'</span></code></p>
<p><strong>Description:</strong> Where thumbnails for the categories will be saved.</p>
</section>
<section id="thumbnail-storage">
<span id="id9"></span><h2><a class="toc-backref" href="#id21" role="doc-backlink">THUMBNAIL_STORAGE</a><a class="headerlink" href="#thumbnail-storage" title="Link to this heading">#</a></h2>
<p><strong>Default:</strong> <code class="docutils literal notranslate"><span class="pre">settings.DEFAULT_FILE_STORAGE</span></code></p>
<p><strong>Description:</strong> How to store the thumbnails. Allows for external storage engines like S3.</p>
</section>
<section id="thumbnail-storage-alias">
<span id="id10"></span><h2><a class="toc-backref" href="#id22" role="doc-backlink">THUMBNAIL_STORAGE_ALIAS</a><a class="headerlink" href="#thumbnail-storage-alias" title="Link to this heading">#</a></h2>
<p><strong>Default:</strong> <code class="docutils literal notranslate"><span class="pre">default</span></code></p>
<p><strong>Description:</strong> If new STORAGES settings from Django 4.2+ is used, use storage with this alias.</p>
</section>
<section id="javascript-url">
<span id="id11"></span><h2><a class="toc-backref" href="#id23" role="doc-backlink">JAVASCRIPT_URL</a><a class="headerlink" href="#javascript-url" title="Link to this heading">#</a></h2>
<p><strong>Default:</strong> <code class="docutils literal notranslate"><span class="pre">STATIC_URL</span> <span class="pre">or</span> <span class="pre">MEDIA_URL</span> <span class="pre">+</span> <span class="pre">'js/'</span></code></p>
<p><strong>Description:</strong> Allows for customization of javascript placement.</p>
</section>
<section id="admin-fieldsets">
<span id="id12"></span><h2><a class="toc-backref" href="#id24" role="doc-backlink">ADMIN_FIELDSETS</a><a class="headerlink" href="#admin-fieldsets" title="Link to this heading">#</a></h2>
<p><strong>Default:</strong> <code class="docutils literal notranslate"><span class="pre">{}</span></code></p>
<p><strong>Description:</strong> Allows for selective customization of the default behavior of adding the fields to the admin class. See <a class="reference internal" href="../user_guide/admin_settings.html#admin-settings"><span class="std std-ref">Adding the fields to the Admin</span></a> for more information.</p>
</section>
</section>
</article>
<footer class="prev-next-footer">
<div class="prev-next-area">
<a class="left-prev"
href="models.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">Models</p>
</div>
</a>
<a class="right-next"
href="templatetags.html"
title="next page">
<div class="prev-next-info">
<p class="prev-next-subtitle">next</p>
<p class="prev-next-title">Template tags and filters</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="#allow-slug-change">ALLOW_SLUG_CHANGE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#slug-transliterator">SLUG_TRANSLITERATOR</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#cache-view-length">CACHE_VIEW_LENGTH</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#relation-models">RELATION_MODELS</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#m2m-registry">M2M_REGISTRY</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#fk-registry">FK_REGISTRY</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#register-admin">REGISTER_ADMIN</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#id8">THUMBNAIL_UPLOAD_PATH</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#thumbnail-storage">THUMBNAIL_STORAGE</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#thumbnail-storage-alias">THUMBNAIL_STORAGE_ALIAS</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#javascript-url">JAVASCRIPT_URL</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#admin-fieldsets">ADMIN_FIELDSETS</a></li>
</ul>
</nav></div>
<div class="sidebar-secondary-item">
<div class="tocsection sourcelink">
<a href="../_sources/reference/settings.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>