3
0
Fork 0
mirror of https://github.com/nanoy42/coope synced 2024-11-24 12:23:11 +00:00
coope/docs/_build/html/modules/admin.html

670 lines
37 KiB
HTML
Raw Permalink Normal View History

2019-02-28 12:18:41 +00:00
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Admin documentation &mdash; CoopeV3 3.4.0 documentation</title>
<script type="text/javascript" src="../_static/js/modernizr.min.js"></script>
<script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<script type="text/javascript" src="../_static/language_data.js"></script>
<script type="text/javascript" src="../_static/js/theme.js"></script>
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="Forms documentation" href="forms.html" />
<link rel="prev" title="Models documentation" href="models.html" />
</head>
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="../index.html" class="icon icon-home"> CoopeV3
</a>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<p class="caption"><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="views.html">Views documentation</a></li>
<li class="toctree-l1"><a class="reference internal" href="models.html">Models documentation</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Admin documentation</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#module-gestion.admin">Gestion app admin</a></li>
<li class="toctree-l2"><a class="reference internal" href="#module-users.admin">Users app admin</a></li>
<li class="toctree-l2"><a class="reference internal" href="#module-preferences.admin">Preferences app admin</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="forms.html">Forms documentation</a></li>
<li class="toctree-l1"><a class="reference internal" href="utils.html">Utils documentation</a></li>
<li class="toctree-l1"><a class="reference internal" href="django_tex.html">Django_tex documentation</a></li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="../index.html">CoopeV3</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="../index.html">Docs</a> &raquo;</li>
<li>Admin documentation</li>
<li class="wy-breadcrumbs-aside">
<a href="../_sources/modules/admin.rst.txt" rel="nofollow"> View page source</a>
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<div class="section" id="admin-documentation">
<h1>Admin documentation<a class="headerlink" href="#admin-documentation" title="Permalink to this headline"></a></h1>
<div class="section" id="module-gestion.admin">
<span id="gestion-app-admin"></span><h2>Gestion app admin<a class="headerlink" href="#module-gestion.admin" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="gestion.admin.ConsumptionAdmin">
<em class="property">class </em><code class="descclassname">gestion.admin.</code><code class="descname">ConsumptionAdmin</code><span class="sig-paren">(</span><em>model</em>, <em>admin_site</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.admin.ConsumptionAdmin" title="Permalink to this definition"></a></dt>
<dd><p>The admin class for <a class="reference internal" href="models.html#gestion.models.Consumption" title="gestion.models.Consumption"><code class="xref py py-class docutils literal notranslate"><span class="pre">Consumptions</span></code></a>.</p>
<dl class="attribute">
<dt id="gestion.admin.ConsumptionAdmin.list_display">
<code class="descname">list_display</code><em class="property"> = ('customer', 'product', 'quantity')</em><a class="headerlink" href="#gestion.admin.ConsumptionAdmin.list_display" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ConsumptionAdmin.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.admin.ConsumptionAdmin.media" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ConsumptionAdmin.ordering">
<code class="descname">ordering</code><em class="property"> = ('-quantity',)</em><a class="headerlink" href="#gestion.admin.ConsumptionAdmin.ordering" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ConsumptionAdmin.search_fields">
<code class="descname">search_fields</code><em class="property"> = ('customer', 'product')</em><a class="headerlink" href="#gestion.admin.ConsumptionAdmin.search_fields" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.admin.ConsumptionHistoryAdmin">
<em class="property">class </em><code class="descclassname">gestion.admin.</code><code class="descname">ConsumptionHistoryAdmin</code><span class="sig-paren">(</span><em>model</em>, <em>admin_site</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.admin.ConsumptionHistoryAdmin" title="Permalink to this definition"></a></dt>
<dd><p>The admin class for <a class="reference internal" href="models.html#gestion.models.ConsumptionHistory" title="gestion.models.ConsumptionHistory"><code class="xref py py-class docutils literal notranslate"><span class="pre">Consumption</span> <span class="pre">Histories</span></code></a>.</p>
<dl class="attribute">
<dt id="gestion.admin.ConsumptionHistoryAdmin.list_display">
<code class="descname">list_display</code><em class="property"> = ('customer', 'product', 'quantity', 'paymentMethod', 'date', 'amount')</em><a class="headerlink" href="#gestion.admin.ConsumptionHistoryAdmin.list_display" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ConsumptionHistoryAdmin.list_filter">
<code class="descname">list_filter</code><em class="property"> = ('paymentMethod',)</em><a class="headerlink" href="#gestion.admin.ConsumptionHistoryAdmin.list_filter" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ConsumptionHistoryAdmin.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.admin.ConsumptionHistoryAdmin.media" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ConsumptionHistoryAdmin.ordering">
<code class="descname">ordering</code><em class="property"> = ('-date',)</em><a class="headerlink" href="#gestion.admin.ConsumptionHistoryAdmin.ordering" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ConsumptionHistoryAdmin.search_fields">
<code class="descname">search_fields</code><em class="property"> = ('customer', 'product')</em><a class="headerlink" href="#gestion.admin.ConsumptionHistoryAdmin.search_fields" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.admin.KegAdmin">
<em class="property">class </em><code class="descclassname">gestion.admin.</code><code class="descname">KegAdmin</code><span class="sig-paren">(</span><em>model</em>, <em>admin_site</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.admin.KegAdmin" title="Permalink to this definition"></a></dt>
<dd><p>The admin class for <a class="reference internal" href="models.html#gestion.models.Keg" title="gestion.models.Keg"><code class="xref py py-class docutils literal notranslate"><span class="pre">Kegs</span></code></a>.</p>
<dl class="attribute">
<dt id="gestion.admin.KegAdmin.list_display">
<code class="descname">list_display</code><em class="property"> = ('name', 'stockHold', 'capacity', 'is_active')</em><a class="headerlink" href="#gestion.admin.KegAdmin.list_display" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.KegAdmin.list_filter">
<code class="descname">list_filter</code><em class="property"> = ('capacity', 'is_active')</em><a class="headerlink" href="#gestion.admin.KegAdmin.list_filter" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.KegAdmin.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.admin.KegAdmin.media" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.KegAdmin.ordering">
<code class="descname">ordering</code><em class="property"> = ('name',)</em><a class="headerlink" href="#gestion.admin.KegAdmin.ordering" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.KegAdmin.search_fields">
<code class="descname">search_fields</code><em class="property"> = ('name',)</em><a class="headerlink" href="#gestion.admin.KegAdmin.search_fields" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.admin.KegHistoryAdmin">
<em class="property">class </em><code class="descclassname">gestion.admin.</code><code class="descname">KegHistoryAdmin</code><span class="sig-paren">(</span><em>model</em>, <em>admin_site</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.admin.KegHistoryAdmin" title="Permalink to this definition"></a></dt>
<dd><p>The admin class for <a class="reference internal" href="models.html#gestion.models.KegHistory" title="gestion.models.KegHistory"><code class="xref py py-class docutils literal notranslate"><span class="pre">Keg</span> <span class="pre">Histories</span></code></a>.</p>
<dl class="attribute">
<dt id="gestion.admin.KegHistoryAdmin.list_display">
<code class="descname">list_display</code><em class="property"> = ('keg', 'openingDate', 'closingDate', 'isCurrentKegHistory', 'quantitySold')</em><a class="headerlink" href="#gestion.admin.KegHistoryAdmin.list_display" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.KegHistoryAdmin.list_filter">
<code class="descname">list_filter</code><em class="property"> = ('isCurrentKegHistory', 'keg')</em><a class="headerlink" href="#gestion.admin.KegHistoryAdmin.list_filter" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.KegHistoryAdmin.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.admin.KegHistoryAdmin.media" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.KegHistoryAdmin.ordering">
<code class="descname">ordering</code><em class="property"> = ('-openingDate', 'quantitySold')</em><a class="headerlink" href="#gestion.admin.KegHistoryAdmin.ordering" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.KegHistoryAdmin.search_fields">
<code class="descname">search_fields</code><em class="property"> = ('keg',)</em><a class="headerlink" href="#gestion.admin.KegHistoryAdmin.search_fields" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.admin.MenuAdmin">
<em class="property">class </em><code class="descclassname">gestion.admin.</code><code class="descname">MenuAdmin</code><span class="sig-paren">(</span><em>model</em>, <em>admin_site</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.admin.MenuAdmin" title="Permalink to this definition"></a></dt>
<dd><p>The admin class for <a class="reference internal" href="models.html#gestion.models.Menu" title="gestion.models.Menu"><code class="xref py py-class docutils literal notranslate"><span class="pre">Menu</span></code></a>.</p>
<dl class="attribute">
<dt id="gestion.admin.MenuAdmin.list_display">
<code class="descname">list_display</code><em class="property"> = ('name', 'amount', 'is_active')</em><a class="headerlink" href="#gestion.admin.MenuAdmin.list_display" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.MenuAdmin.list_filter">
<code class="descname">list_filter</code><em class="property"> = ('is_active',)</em><a class="headerlink" href="#gestion.admin.MenuAdmin.list_filter" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.MenuAdmin.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.admin.MenuAdmin.media" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.MenuAdmin.ordering">
<code class="descname">ordering</code><em class="property"> = ('name', 'amount')</em><a class="headerlink" href="#gestion.admin.MenuAdmin.ordering" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.MenuAdmin.search_fields">
<code class="descname">search_fields</code><em class="property"> = ('name',)</em><a class="headerlink" href="#gestion.admin.MenuAdmin.search_fields" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.admin.MenuHistoryAdmin">
<em class="property">class </em><code class="descclassname">gestion.admin.</code><code class="descname">MenuHistoryAdmin</code><span class="sig-paren">(</span><em>model</em>, <em>admin_site</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.admin.MenuHistoryAdmin" title="Permalink to this definition"></a></dt>
<dd><p>The admin class for <a class="reference internal" href="models.html#gestion.models.MenuHistory" title="gestion.models.MenuHistory"><code class="xref py py-class docutils literal notranslate"><span class="pre">Menu</span> <span class="pre">Histories</span></code></a>.</p>
<dl class="attribute">
<dt id="gestion.admin.MenuHistoryAdmin.list_display">
<code class="descname">list_display</code><em class="property"> = ('customer', 'menu', 'paymentMethod', 'date', 'quantity', 'amount')</em><a class="headerlink" href="#gestion.admin.MenuHistoryAdmin.list_display" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.MenuHistoryAdmin.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.admin.MenuHistoryAdmin.media" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.MenuHistoryAdmin.ordering">
<code class="descname">ordering</code><em class="property"> = ('-date',)</em><a class="headerlink" href="#gestion.admin.MenuHistoryAdmin.ordering" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.MenuHistoryAdmin.search_fields">
<code class="descname">search_fields</code><em class="property"> = ('customer', 'menu')</em><a class="headerlink" href="#gestion.admin.MenuHistoryAdmin.search_fields" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.admin.ProductAdmin">
<em class="property">class </em><code class="descclassname">gestion.admin.</code><code class="descname">ProductAdmin</code><span class="sig-paren">(</span><em>model</em>, <em>admin_site</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.admin.ProductAdmin" title="Permalink to this definition"></a></dt>
<dd><p>The admin class for <a class="reference internal" href="models.html#gestion.models.Product" title="gestion.models.Product"><code class="xref py py-class docutils literal notranslate"><span class="pre">Products</span></code></a>.</p>
<dl class="attribute">
<dt id="gestion.admin.ProductAdmin.list_display">
<code class="descname">list_display</code><em class="property"> = ('name', 'amount', 'is_active', 'category', 'adherentRequired', 'stockHold', 'stockBar', 'volume', 'deg')</em><a class="headerlink" href="#gestion.admin.ProductAdmin.list_display" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ProductAdmin.list_filter">
<code class="descname">list_filter</code><em class="property"> = ('is_active', 'adherentRequired', 'category')</em><a class="headerlink" href="#gestion.admin.ProductAdmin.list_filter" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ProductAdmin.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.admin.ProductAdmin.media" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ProductAdmin.ordering">
<code class="descname">ordering</code><em class="property"> = ('name', 'amount', 'stockHold', 'stockBar', 'deg')</em><a class="headerlink" href="#gestion.admin.ProductAdmin.ordering" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ProductAdmin.search_fields">
<code class="descname">search_fields</code><em class="property"> = ('name',)</em><a class="headerlink" href="#gestion.admin.ProductAdmin.search_fields" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.admin.RefundAdmin">
<em class="property">class </em><code class="descclassname">gestion.admin.</code><code class="descname">RefundAdmin</code><span class="sig-paren">(</span><em>model</em>, <em>admin_site</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.admin.RefundAdmin" title="Permalink to this definition"></a></dt>
<dd><p>The admin class for <a class="reference internal" href="models.html#gestion.models.Refund" title="gestion.models.Refund"><code class="xref py py-class docutils literal notranslate"><span class="pre">Refunds</span></code></a>.</p>
<dl class="attribute">
<dt id="gestion.admin.RefundAdmin.list_display">
<code class="descname">list_display</code><em class="property"> = ('customer', 'amount', 'date')</em><a class="headerlink" href="#gestion.admin.RefundAdmin.list_display" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.RefundAdmin.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.admin.RefundAdmin.media" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.RefundAdmin.ordering">
<code class="descname">ordering</code><em class="property"> = ('-date', 'amount', 'customer')</em><a class="headerlink" href="#gestion.admin.RefundAdmin.ordering" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.RefundAdmin.search_fields">
<code class="descname">search_fields</code><em class="property"> = ('customer',)</em><a class="headerlink" href="#gestion.admin.RefundAdmin.search_fields" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.admin.ReloadAdmin">
<em class="property">class </em><code class="descclassname">gestion.admin.</code><code class="descname">ReloadAdmin</code><span class="sig-paren">(</span><em>model</em>, <em>admin_site</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.admin.ReloadAdmin" title="Permalink to this definition"></a></dt>
<dd><p>The admin class for <a class="reference internal" href="models.html#gestion.models.Reload" title="gestion.models.Reload"><code class="xref py py-class docutils literal notranslate"><span class="pre">Reloads</span></code></a>.</p>
<dl class="attribute">
<dt id="gestion.admin.ReloadAdmin.list_display">
<code class="descname">list_display</code><em class="property"> = ('customer', 'amount', 'date', 'PaymentMethod')</em><a class="headerlink" href="#gestion.admin.ReloadAdmin.list_display" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ReloadAdmin.list_filter">
<code class="descname">list_filter</code><em class="property"> = ('PaymentMethod',)</em><a class="headerlink" href="#gestion.admin.ReloadAdmin.list_filter" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ReloadAdmin.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.admin.ReloadAdmin.media" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ReloadAdmin.ordering">
<code class="descname">ordering</code><em class="property"> = ('-date', 'amount', 'customer')</em><a class="headerlink" href="#gestion.admin.ReloadAdmin.ordering" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ReloadAdmin.search_fields">
<code class="descname">search_fields</code><em class="property"> = ('customer',)</em><a class="headerlink" href="#gestion.admin.ReloadAdmin.search_fields" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
</div>
<div class="section" id="module-users.admin">
<span id="users-app-admin"></span><h2>Users app admin<a class="headerlink" href="#module-users.admin" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="users.admin.BalanceFilter">
<em class="property">class </em><code class="descclassname">users.admin.</code><code class="descname">BalanceFilter</code><span class="sig-paren">(</span><em>request</em>, <em>params</em>, <em>model</em>, <em>model_admin</em><span class="sig-paren">)</span><a class="headerlink" href="#users.admin.BalanceFilter" title="Permalink to this definition"></a></dt>
<dd><p>A filter which filters according to the sign of the balance</p>
<dl class="method">
<dt id="users.admin.BalanceFilter.lookups">
<code class="descname">lookups</code><span class="sig-paren">(</span><em>request</em>, <em>model_admin</em><span class="sig-paren">)</span><a class="headerlink" href="#users.admin.BalanceFilter.lookups" title="Permalink to this definition"></a></dt>
<dd><p>Must be overridden to return a list of tuples (value, verbose value)</p>
</dd></dl>
<dl class="attribute">
<dt id="users.admin.BalanceFilter.parameter_name">
<code class="descname">parameter_name</code><em class="property"> = 'solde'</em><a class="headerlink" href="#users.admin.BalanceFilter.parameter_name" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="users.admin.BalanceFilter.queryset">
<code class="descname">queryset</code><span class="sig-paren">(</span><em>request</em>, <em>queryset</em><span class="sig-paren">)</span><a class="headerlink" href="#users.admin.BalanceFilter.queryset" title="Permalink to this definition"></a></dt>
<dd><p>Return the filtered queryset.</p>
</dd></dl>
<dl class="attribute">
<dt id="users.admin.BalanceFilter.title">
<code class="descname">title</code><em class="property"> = 'Solde'</em><a class="headerlink" href="#users.admin.BalanceFilter.title" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="users.admin.CotisationHistoryAdmin">
<em class="property">class </em><code class="descclassname">users.admin.</code><code class="descname">CotisationHistoryAdmin</code><span class="sig-paren">(</span><em>model</em>, <em>admin_site</em><span class="sig-paren">)</span><a class="headerlink" href="#users.admin.CotisationHistoryAdmin" title="Permalink to this definition"></a></dt>
<dd><p>The admin class for <a class="reference internal" href="models.html#users.models.CotisationHistory" title="users.models.CotisationHistory"><code class="xref py py-class docutils literal notranslate"><span class="pre">Consumptions</span></code></a>.</p>
<dl class="attribute">
<dt id="users.admin.CotisationHistoryAdmin.list_display">
<code class="descname">list_display</code><em class="property"> = ('user', 'amount', 'duration', 'paymentDate', 'endDate', 'paymentMethod')</em><a class="headerlink" href="#users.admin.CotisationHistoryAdmin.list_display" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="users.admin.CotisationHistoryAdmin.list_filter">
<code class="descname">list_filter</code><em class="property"> = ('paymentMethod',)</em><a class="headerlink" href="#users.admin.CotisationHistoryAdmin.list_filter" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="users.admin.CotisationHistoryAdmin.media">
<code class="descname">media</code><a class="headerlink" href="#users.admin.CotisationHistoryAdmin.media" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="users.admin.CotisationHistoryAdmin.ordering">
<code class="descname">ordering</code><em class="property"> = ('user', 'amount', 'duration', 'paymentDate', 'endDate')</em><a class="headerlink" href="#users.admin.CotisationHistoryAdmin.ordering" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="users.admin.CotisationHistoryAdmin.search_fields">
<code class="descname">search_fields</code><em class="property"> = ('user',)</em><a class="headerlink" href="#users.admin.CotisationHistoryAdmin.search_fields" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="users.admin.ProfileAdmin">
<em class="property">class </em><code class="descclassname">users.admin.</code><code class="descname">ProfileAdmin</code><span class="sig-paren">(</span><em>model</em>, <em>admin_site</em><span class="sig-paren">)</span><a class="headerlink" href="#users.admin.ProfileAdmin" title="Permalink to this definition"></a></dt>
<dd><p>The admin class for <a class="reference internal" href="models.html#users.models.Profile" title="users.models.Profile"><code class="xref py py-class docutils literal notranslate"><span class="pre">Consumptions</span></code></a>.</p>
<dl class="attribute">
<dt id="users.admin.ProfileAdmin.list_display">
<code class="descname">list_display</code><em class="property"> = ('user', 'credit', 'debit', 'balance', 'school', 'cotisationEnd', 'is_adherent')</em><a class="headerlink" href="#users.admin.ProfileAdmin.list_display" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="users.admin.ProfileAdmin.list_filter">
<code class="descname">list_filter</code><em class="property"> = ('school', &lt;class 'users.admin.BalanceFilter'&gt;)</em><a class="headerlink" href="#users.admin.ProfileAdmin.list_filter" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="users.admin.ProfileAdmin.media">
<code class="descname">media</code><a class="headerlink" href="#users.admin.ProfileAdmin.media" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="users.admin.ProfileAdmin.ordering">
<code class="descname">ordering</code><em class="property"> = ('user', '-credit', '-debit')</em><a class="headerlink" href="#users.admin.ProfileAdmin.ordering" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="users.admin.ProfileAdmin.search_fields">
<code class="descname">search_fields</code><em class="property"> = ('user',)</em><a class="headerlink" href="#users.admin.ProfileAdmin.search_fields" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="users.admin.WhiteListHistoryAdmin">
<em class="property">class </em><code class="descclassname">users.admin.</code><code class="descname">WhiteListHistoryAdmin</code><span class="sig-paren">(</span><em>model</em>, <em>admin_site</em><span class="sig-paren">)</span><a class="headerlink" href="#users.admin.WhiteListHistoryAdmin" title="Permalink to this definition"></a></dt>
<dd><p>The admin class for <a class="reference internal" href="models.html#users.models.WhiteListHistory" title="users.models.WhiteListHistory"><code class="xref py py-class docutils literal notranslate"><span class="pre">Consumptions</span></code></a>.</p>
<dl class="attribute">
<dt id="users.admin.WhiteListHistoryAdmin.list_display">
<code class="descname">list_display</code><em class="property"> = ('user', 'paymentDate', 'endDate', 'duration')</em><a class="headerlink" href="#users.admin.WhiteListHistoryAdmin.list_display" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="users.admin.WhiteListHistoryAdmin.media">
<code class="descname">media</code><a class="headerlink" href="#users.admin.WhiteListHistoryAdmin.media" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="users.admin.WhiteListHistoryAdmin.ordering">
<code class="descname">ordering</code><em class="property"> = ('user', 'duration', 'paymentDate', 'endDate')</em><a class="headerlink" href="#users.admin.WhiteListHistoryAdmin.ordering" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="users.admin.WhiteListHistoryAdmin.search_fields">
<code class="descname">search_fields</code><em class="property"> = ('user',)</em><a class="headerlink" href="#users.admin.WhiteListHistoryAdmin.search_fields" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
</div>
<div class="section" id="module-preferences.admin">
<span id="preferences-app-admin"></span><h2>Preferences app admin<a class="headerlink" href="#module-preferences.admin" title="Permalink to this headline"></a></h2>
<dl class="class">
<dt id="preferences.admin.CotisationAdmin">
<em class="property">class </em><code class="descclassname">preferences.admin.</code><code class="descname">CotisationAdmin</code><span class="sig-paren">(</span><em>model</em>, <em>admin_site</em><span class="sig-paren">)</span><a class="headerlink" href="#preferences.admin.CotisationAdmin" title="Permalink to this definition"></a></dt>
<dd><p>The admin class for <a class="reference internal" href="models.html#preferences.models.Cotisation" title="preferences.models.Cotisation"><code class="xref py py-class docutils literal notranslate"><span class="pre">Consumptions</span></code></a>.</p>
<dl class="attribute">
<dt id="preferences.admin.CotisationAdmin.list_display">
<code class="descname">list_display</code><em class="property"> = ('__str__', 'amount', 'duration')</em><a class="headerlink" href="#preferences.admin.CotisationAdmin.list_display" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="preferences.admin.CotisationAdmin.media">
<code class="descname">media</code><a class="headerlink" href="#preferences.admin.CotisationAdmin.media" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="preferences.admin.CotisationAdmin.ordering">
<code class="descname">ordering</code><em class="property"> = ('-duration', '-amount')</em><a class="headerlink" href="#preferences.admin.CotisationAdmin.ordering" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="preferences.admin.GeneralPreferencesAdmin">
<em class="property">class </em><code class="descclassname">preferences.admin.</code><code class="descname">GeneralPreferencesAdmin</code><span class="sig-paren">(</span><em>model</em>, <em>admin_site</em><span class="sig-paren">)</span><a class="headerlink" href="#preferences.admin.GeneralPreferencesAdmin" title="Permalink to this definition"></a></dt>
<dd><p>The admin class for <a class="reference internal" href="models.html#preferences.models.GeneralPreferences" title="preferences.models.GeneralPreferences"><code class="xref py py-class docutils literal notranslate"><span class="pre">Consumptions</span></code></a>.</p>
<dl class="attribute">
<dt id="preferences.admin.GeneralPreferencesAdmin.list_display">
<code class="descname">list_display</code><em class="property"> = ('is_active', 'president', 'vice_president', 'treasurer', 'secretary', 'brewer', 'grocer', 'use_pinte_monitoring', 'lost_pintes_allowed', 'floating_buttons', 'automatic_logout_time')</em><a class="headerlink" href="#preferences.admin.GeneralPreferencesAdmin.list_display" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="preferences.admin.GeneralPreferencesAdmin.media">
<code class="descname">media</code><a class="headerlink" href="#preferences.admin.GeneralPreferencesAdmin.media" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="preferences.admin.PaymentMethodAdmin">
<em class="property">class </em><code class="descclassname">preferences.admin.</code><code class="descname">PaymentMethodAdmin</code><span class="sig-paren">(</span><em>model</em>, <em>admin_site</em><span class="sig-paren">)</span><a class="headerlink" href="#preferences.admin.PaymentMethodAdmin" title="Permalink to this definition"></a></dt>
<dd><p>The admin class for <a class="reference internal" href="models.html#preferences.models.PaymentMethod" title="preferences.models.PaymentMethod"><code class="xref py py-class docutils literal notranslate"><span class="pre">Consumptions</span></code></a>.</p>
<dl class="attribute">
<dt id="preferences.admin.PaymentMethodAdmin.list_display">
<code class="descname">list_display</code><em class="property"> = ('name', 'is_active', 'is_usable_in_cotisation', 'is_usable_in_reload', 'affect_balance')</em><a class="headerlink" href="#preferences.admin.PaymentMethodAdmin.list_display" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="preferences.admin.PaymentMethodAdmin.list_filter">
<code class="descname">list_filter</code><em class="property"> = ('is_active', 'is_usable_in_cotisation', 'is_usable_in_reload', 'affect_balance')</em><a class="headerlink" href="#preferences.admin.PaymentMethodAdmin.list_filter" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="preferences.admin.PaymentMethodAdmin.media">
<code class="descname">media</code><a class="headerlink" href="#preferences.admin.PaymentMethodAdmin.media" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="preferences.admin.PaymentMethodAdmin.ordering">
<code class="descname">ordering</code><em class="property"> = ('name',)</em><a class="headerlink" href="#preferences.admin.PaymentMethodAdmin.ordering" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="preferences.admin.PaymentMethodAdmin.search_fields">
<code class="descname">search_fields</code><em class="property"> = ('name',)</em><a class="headerlink" href="#preferences.admin.PaymentMethodAdmin.search_fields" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
</dd></dl>
</div>
</div>
</div>
</div>
<footer>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
<a href="forms.html" class="btn btn-neutral float-right" title="Forms documentation" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
<a href="models.html" class="btn btn-neutral float-left" title="Models documentation" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
</div>
<hr/>
<div role="contentinfo">
<p>
&copy; Copyright 2019, Yoann Pietri
</p>
</div>
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>
</body>
</html>