<spanid="reference-settings"></span><h1>Settings<aclass="headerlink"href="#settings"title="Permalink to this headline">¶</a></h1>
<p>The <ttclass="docutils literal"><spanclass="pre">CATEGORIES_SETTINGS</span></tt> dictionary is where you can override the default settings. You don’t have to include all the settings; only the ones which you want to override.</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 <ttclass="xref docutils literal"><spanclass="pre">True</span></tt> will allow users to change the slug of a category.</p>
</div>
<divclass="section"id="cache-view-length">
<h2>CACHE_VIEW_LENGTH<aclass="headerlink"href="#cache-view-length"title="Permalink to this headline">¶</a></h2>
<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>
</div>
<divclass="section"id="relation-models">
<h2>RELATION_MODELS<aclass="headerlink"href="#relation-models"title="Permalink to this headline">¶</a></h2>
<p><strong>Description:</strong> Relation models is a set of models that a user can associate with this category. You specify models using <ttclass="docutils literal"><spanclass="pre">'app_name.modelname'</span></tt> syntax.</p>
</div>
<divclass="section"id="m2m-registry">
<h2>M2M_REGISTRY<aclass="headerlink"href="#m2m-registry"title="Permalink to this headline">¶</a></h2>
<p><strong>Default:</strong> {}</p>
<p><strong>Description:</strong> A dictionary where the keys are in <ttclass="docutils literal"><spanclass="pre">'app_name.model_name'</span></tt> syntax, and the values are a string, dict, or tuple of dicts. See <aclass="reference internal"href="../registering_models.html#registering-models"><em>Registering Models</em></a>.</p>
</div>
<divclass="section"id="fk-registry">
<h2>FK_REGISTRY<aclass="headerlink"href="#fk-registry"title="Permalink to this headline">¶</a></h2>
<p><strong>Default:</strong> {}</p>
<p><strong>Description:</strong> A dictionary where the keys are in <ttclass="docutils literal"><spanclass="pre">'app_name.model_name'</span></tt> syntax, and the values are a string, dict, or tuple of dicts. See <aclass="reference internal"href="../registering_models.html#registering-models"><em>Registering Models</em></a>.</p>
</div>
<divclass="section"id="thumbnail-upload-path">
<h2>THUMBNAIL_UPLOAD_PATH<aclass="headerlink"href="#thumbnail-upload-path"title="Permalink to this headline">¶</a></h2>