mirror of
https://github.com/nanoy42/coope
synced 2024-11-05 01:16:28 +00:00
2061 lines
No EOL
145 KiB
HTML
2061 lines
No EOL
145 KiB
HTML
|
||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
||
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr">
|
||
<head>
|
||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
<title>users package — Documentation CoopeV3 3.4.0</title>
|
||
<link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
|
||
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
||
<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/translations.js"></script>
|
||
<link rel="index" title="Index" href="genindex.html" />
|
||
<link rel="search" title="Recherche" href="search.html" />
|
||
|
||
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
|
||
|
||
|
||
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
|
||
|
||
</head><body>
|
||
|
||
|
||
<div class="document">
|
||
<div class="documentwrapper">
|
||
<div class="bodywrapper">
|
||
|
||
|
||
<div class="body" role="main">
|
||
|
||
<div class="section" id="users-package">
|
||
<h1>users package<a class="headerlink" href="#users-package" title="Lien permanent vers ce titre">¶</a></h1>
|
||
<div class="section" id="subpackages">
|
||
<h2>Subpackages<a class="headerlink" href="#subpackages" title="Lien permanent vers ce titre">¶</a></h2>
|
||
<div class="toctree-wrapper compound">
|
||
</div>
|
||
</div>
|
||
<div class="section" id="submodules">
|
||
<h2>Submodules<a class="headerlink" href="#submodules" title="Lien permanent vers ce titre">¶</a></h2>
|
||
</div>
|
||
<div class="section" id="module-users.admin">
|
||
<span id="users-admin-module"></span><h2>users.admin module<a class="headerlink" href="#module-users.admin" title="Lien permanent vers ce titre">¶</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="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.contrib.admin.filters.SimpleListFilter</span></code></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="Lien permanent vers cette définition">¶</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="Lien permanent vers cette définition">¶</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="Lien permanent vers cette définition">¶</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="Lien permanent vers cette définition">¶</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="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">simple_history.admin.SimpleHistoryAdmin</span></code></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="Lien permanent vers cette définition">¶</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="Lien permanent vers cette définition">¶</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="Lien permanent vers cette définition">¶</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="Lien permanent vers cette définition">¶</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="Lien permanent vers cette définition">¶</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="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">simple_history.admin.SimpleHistoryAdmin</span></code></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="Lien permanent vers cette définition">¶</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', <class 'users.admin.BalanceFilter'>)</em><a class="headerlink" href="#users.admin.ProfileAdmin.list_filter" title="Lien permanent vers cette définition">¶</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="Lien permanent vers cette définition">¶</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="Lien permanent vers cette définition">¶</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="Lien permanent vers cette définition">¶</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="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">simple_history.admin.SimpleHistoryAdmin</span></code></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="Lien permanent vers cette définition">¶</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="Lien permanent vers cette définition">¶</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="Lien permanent vers cette définition">¶</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="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="module-users.apps">
|
||
<span id="users-apps-module"></span><h2>users.apps module<a class="headerlink" href="#module-users.apps" title="Lien permanent vers ce titre">¶</a></h2>
|
||
<dl class="class">
|
||
<dt id="users.apps.UsersConfig">
|
||
<em class="property">class </em><code class="descclassname">users.apps.</code><code class="descname">UsersConfig</code><span class="sig-paren">(</span><em>app_name</em>, <em>app_module</em><span class="sig-paren">)</span><a class="headerlink" href="#users.apps.UsersConfig" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.apps.config.AppConfig</span></code></p>
|
||
<dl class="attribute">
|
||
<dt id="users.apps.UsersConfig.name">
|
||
<code class="descname">name</code><em class="property"> = 'users'</em><a class="headerlink" href="#users.apps.UsersConfig.name" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="module-users.forms">
|
||
<span id="users-forms-module"></span><h2>users.forms module<a class="headerlink" href="#module-users.forms" title="Lien permanent vers ce titre">¶</a></h2>
|
||
<dl class="class">
|
||
<dt id="users.forms.CreateGroupForm">
|
||
<em class="property">class </em><code class="descclassname">users.forms.</code><code class="descname">CreateGroupForm</code><span class="sig-paren">(</span><em>data=None</em>, <em>files=None</em>, <em>auto_id='id_%s'</em>, <em>prefix=None</em>, <em>initial=None</em>, <em>error_class=<class 'django.forms.utils.ErrorList'></em>, <em>label_suffix=None</em>, <em>empty_permitted=False</em>, <em>instance=None</em>, <em>use_required_attribute=None</em>, <em>renderer=None</em><span class="sig-paren">)</span><a class="headerlink" href="#users.forms.CreateGroupForm" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.forms.models.ModelForm</span></code></p>
|
||
<p>Form to create a new group</p>
|
||
<dl class="class">
|
||
<dt id="users.forms.CreateGroupForm.Meta">
|
||
<em class="property">class </em><code class="descname">Meta</code><a class="headerlink" href="#users.forms.CreateGroupForm.Meta" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
|
||
<dl class="attribute">
|
||
<dt id="users.forms.CreateGroupForm.Meta.fields">
|
||
<code class="descname">fields</code><em class="property"> = ('name',)</em><a class="headerlink" href="#users.forms.CreateGroupForm.Meta.fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.CreateGroupForm.Meta.model">
|
||
<code class="descname">model</code><a class="headerlink" href="#users.forms.CreateGroupForm.Meta.model" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>alias de <code class="xref py py-class docutils literal notranslate"><span class="pre">django.contrib.auth.models.Group</span></code></p>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.CreateGroupForm.base_fields">
|
||
<code class="descname">base_fields</code><em class="property"> = {'name': <django.forms.fields.CharField object>}</em><a class="headerlink" href="#users.forms.CreateGroupForm.base_fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.CreateGroupForm.declared_fields">
|
||
<code class="descname">declared_fields</code><em class="property"> = {}</em><a class="headerlink" href="#users.forms.CreateGroupForm.declared_fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.CreateGroupForm.media">
|
||
<code class="descname">media</code><a class="headerlink" href="#users.forms.CreateGroupForm.media" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="users.forms.CreateUserForm">
|
||
<em class="property">class </em><code class="descclassname">users.forms.</code><code class="descname">CreateUserForm</code><span class="sig-paren">(</span><em>data=None</em>, <em>files=None</em>, <em>auto_id='id_%s'</em>, <em>prefix=None</em>, <em>initial=None</em>, <em>error_class=<class 'django.forms.utils.ErrorList'></em>, <em>label_suffix=None</em>, <em>empty_permitted=False</em>, <em>instance=None</em>, <em>use_required_attribute=None</em>, <em>renderer=None</em><span class="sig-paren">)</span><a class="headerlink" href="#users.forms.CreateUserForm" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.forms.models.ModelForm</span></code></p>
|
||
<p>Form to create a new user</p>
|
||
<dl class="class">
|
||
<dt id="users.forms.CreateUserForm.Meta">
|
||
<em class="property">class </em><code class="descname">Meta</code><a class="headerlink" href="#users.forms.CreateUserForm.Meta" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
|
||
<dl class="attribute">
|
||
<dt id="users.forms.CreateUserForm.Meta.fields">
|
||
<code class="descname">fields</code><em class="property"> = ('username', 'last_name', 'first_name', 'email')</em><a class="headerlink" href="#users.forms.CreateUserForm.Meta.fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.CreateUserForm.Meta.model">
|
||
<code class="descname">model</code><a class="headerlink" href="#users.forms.CreateUserForm.Meta.model" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>alias de <code class="xref py py-class docutils literal notranslate"><span class="pre">django.contrib.auth.models.User</span></code></p>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.CreateUserForm.base_fields">
|
||
<code class="descname">base_fields</code><em class="property"> = {'email': <django.forms.fields.EmailField object>, 'first_name': <django.forms.fields.CharField object>, 'last_name': <django.forms.fields.CharField object>, 'school': <django.forms.models.ModelChoiceField object>, 'username': <django.forms.fields.CharField object>}</em><a class="headerlink" href="#users.forms.CreateUserForm.base_fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.CreateUserForm.declared_fields">
|
||
<code class="descname">declared_fields</code><em class="property"> = {'school': <django.forms.models.ModelChoiceField object>}</em><a class="headerlink" href="#users.forms.CreateUserForm.declared_fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.CreateUserForm.media">
|
||
<code class="descname">media</code><a class="headerlink" href="#users.forms.CreateUserForm.media" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="users.forms.EditGroupForm">
|
||
<em class="property">class </em><code class="descclassname">users.forms.</code><code class="descname">EditGroupForm</code><span class="sig-paren">(</span><em>data=None</em>, <em>files=None</em>, <em>auto_id='id_%s'</em>, <em>prefix=None</em>, <em>initial=None</em>, <em>error_class=<class 'django.forms.utils.ErrorList'></em>, <em>label_suffix=None</em>, <em>empty_permitted=False</em>, <em>instance=None</em>, <em>use_required_attribute=None</em>, <em>renderer=None</em><span class="sig-paren">)</span><a class="headerlink" href="#users.forms.EditGroupForm" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.forms.models.ModelForm</span></code></p>
|
||
<p>Form to edit a group</p>
|
||
<dl class="class">
|
||
<dt id="users.forms.EditGroupForm.Meta">
|
||
<em class="property">class </em><code class="descname">Meta</code><a class="headerlink" href="#users.forms.EditGroupForm.Meta" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
|
||
<dl class="attribute">
|
||
<dt id="users.forms.EditGroupForm.Meta.fields">
|
||
<code class="descname">fields</code><em class="property"> = '__all__'</em><a class="headerlink" href="#users.forms.EditGroupForm.Meta.fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.EditGroupForm.Meta.model">
|
||
<code class="descname">model</code><a class="headerlink" href="#users.forms.EditGroupForm.Meta.model" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>alias de <code class="xref py py-class docutils literal notranslate"><span class="pre">django.contrib.auth.models.Group</span></code></p>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.EditGroupForm.base_fields">
|
||
<code class="descname">base_fields</code><em class="property"> = {'name': <django.forms.fields.CharField object>, 'permissions': <django.forms.models.ModelMultipleChoiceField object>}</em><a class="headerlink" href="#users.forms.EditGroupForm.base_fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.EditGroupForm.declared_fields">
|
||
<code class="descname">declared_fields</code><em class="property"> = {}</em><a class="headerlink" href="#users.forms.EditGroupForm.declared_fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.EditGroupForm.media">
|
||
<code class="descname">media</code><a class="headerlink" href="#users.forms.EditGroupForm.media" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="users.forms.EditPasswordForm">
|
||
<em class="property">class </em><code class="descclassname">users.forms.</code><code class="descname">EditPasswordForm</code><span class="sig-paren">(</span><em>data=None</em>, <em>files=None</em>, <em>auto_id='id_%s'</em>, <em>prefix=None</em>, <em>initial=None</em>, <em>error_class=<class 'django.forms.utils.ErrorList'></em>, <em>label_suffix=None</em>, <em>empty_permitted=False</em>, <em>field_order=None</em>, <em>use_required_attribute=None</em>, <em>renderer=None</em><span class="sig-paren">)</span><a class="headerlink" href="#users.forms.EditPasswordForm" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.forms.forms.Form</span></code></p>
|
||
<p>Form to change the password of a user</p>
|
||
<dl class="attribute">
|
||
<dt id="users.forms.EditPasswordForm.base_fields">
|
||
<code class="descname">base_fields</code><em class="property"> = {'password': <django.forms.fields.CharField object>, 'password1': <django.forms.fields.CharField object>, 'password2': <django.forms.fields.CharField object>}</em><a class="headerlink" href="#users.forms.EditPasswordForm.base_fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.forms.EditPasswordForm.clean_password2">
|
||
<code class="descname">clean_password2</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#users.forms.EditPasswordForm.clean_password2" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Verify if the two new passwords are identical</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.EditPasswordForm.declared_fields">
|
||
<code class="descname">declared_fields</code><em class="property"> = {'password': <django.forms.fields.CharField object>, 'password1': <django.forms.fields.CharField object>, 'password2': <django.forms.fields.CharField object>}</em><a class="headerlink" href="#users.forms.EditPasswordForm.declared_fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.EditPasswordForm.media">
|
||
<code class="descname">media</code><a class="headerlink" href="#users.forms.EditPasswordForm.media" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="users.forms.ExportForm">
|
||
<em class="property">class </em><code class="descclassname">users.forms.</code><code class="descname">ExportForm</code><span class="sig-paren">(</span><em>data=None</em>, <em>files=None</em>, <em>auto_id='id_%s'</em>, <em>prefix=None</em>, <em>initial=None</em>, <em>error_class=<class 'django.forms.utils.ErrorList'></em>, <em>label_suffix=None</em>, <em>empty_permitted=False</em>, <em>field_order=None</em>, <em>use_required_attribute=None</em>, <em>renderer=None</em><span class="sig-paren">)</span><a class="headerlink" href="#users.forms.ExportForm" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.forms.forms.Form</span></code></p>
|
||
<dl class="attribute">
|
||
<dt id="users.forms.ExportForm.FIELDS_CHOICES">
|
||
<code class="descname">FIELDS_CHOICES</code><em class="property"> = (('username', "Nom d'utilisateur"), ('last_name', 'Nom'), ('first_name', 'Prénom'), ('email', 'Adresse mail'), ('school', 'École'), ('balance', 'Solde'), ('credit', 'Crédit'), ('debit', 'Débit'))</em><a class="headerlink" href="#users.forms.ExportForm.FIELDS_CHOICES" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.ExportForm.QUERY_TYPE_CHOICES">
|
||
<code class="descname">QUERY_TYPE_CHOICES</code><em class="property"> = (('all', 'Tous les comptes'), ('all_active', 'Tous les comptes actifs'), ('adherent', 'Tous les adhérents'), ('adherent_active', 'Tous les adhérents actifs'))</em><a class="headerlink" href="#users.forms.ExportForm.QUERY_TYPE_CHOICES" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.ExportForm.base_fields">
|
||
<code class="descname">base_fields</code><em class="property"> = {'fields': <django.forms.fields.MultipleChoiceField object>, 'group': <django.forms.models.ModelChoiceField object>, 'query_type': <django.forms.fields.ChoiceField object>}</em><a class="headerlink" href="#users.forms.ExportForm.base_fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.ExportForm.declared_fields">
|
||
<code class="descname">declared_fields</code><em class="property"> = {'fields': <django.forms.fields.MultipleChoiceField object>, 'group': <django.forms.models.ModelChoiceField object>, 'query_type': <django.forms.fields.ChoiceField object>}</em><a class="headerlink" href="#users.forms.ExportForm.declared_fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.ExportForm.media">
|
||
<code class="descname">media</code><a class="headerlink" href="#users.forms.ExportForm.media" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="users.forms.GroupsEditForm">
|
||
<em class="property">class </em><code class="descclassname">users.forms.</code><code class="descname">GroupsEditForm</code><span class="sig-paren">(</span><em>data=None</em>, <em>files=None</em>, <em>auto_id='id_%s'</em>, <em>prefix=None</em>, <em>initial=None</em>, <em>error_class=<class 'django.forms.utils.ErrorList'></em>, <em>label_suffix=None</em>, <em>empty_permitted=False</em>, <em>instance=None</em>, <em>use_required_attribute=None</em>, <em>renderer=None</em><span class="sig-paren">)</span><a class="headerlink" href="#users.forms.GroupsEditForm" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.forms.models.ModelForm</span></code></p>
|
||
<p>Form to edit a user’s list of groups</p>
|
||
<dl class="class">
|
||
<dt id="users.forms.GroupsEditForm.Meta">
|
||
<em class="property">class </em><code class="descname">Meta</code><a class="headerlink" href="#users.forms.GroupsEditForm.Meta" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
|
||
<dl class="attribute">
|
||
<dt id="users.forms.GroupsEditForm.Meta.fields">
|
||
<code class="descname">fields</code><em class="property"> = ('groups',)</em><a class="headerlink" href="#users.forms.GroupsEditForm.Meta.fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.GroupsEditForm.Meta.model">
|
||
<code class="descname">model</code><a class="headerlink" href="#users.forms.GroupsEditForm.Meta.model" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>alias de <code class="xref py py-class docutils literal notranslate"><span class="pre">django.contrib.auth.models.User</span></code></p>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.GroupsEditForm.base_fields">
|
||
<code class="descname">base_fields</code><em class="property"> = {'groups': <django.forms.models.ModelMultipleChoiceField object>}</em><a class="headerlink" href="#users.forms.GroupsEditForm.base_fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.GroupsEditForm.declared_fields">
|
||
<code class="descname">declared_fields</code><em class="property"> = {}</em><a class="headerlink" href="#users.forms.GroupsEditForm.declared_fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.GroupsEditForm.media">
|
||
<code class="descname">media</code><a class="headerlink" href="#users.forms.GroupsEditForm.media" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="users.forms.LoginForm">
|
||
<em class="property">class </em><code class="descclassname">users.forms.</code><code class="descname">LoginForm</code><span class="sig-paren">(</span><em>data=None</em>, <em>files=None</em>, <em>auto_id='id_%s'</em>, <em>prefix=None</em>, <em>initial=None</em>, <em>error_class=<class 'django.forms.utils.ErrorList'></em>, <em>label_suffix=None</em>, <em>empty_permitted=False</em>, <em>field_order=None</em>, <em>use_required_attribute=None</em>, <em>renderer=None</em><span class="sig-paren">)</span><a class="headerlink" href="#users.forms.LoginForm" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.forms.forms.Form</span></code></p>
|
||
<p>Form to log in</p>
|
||
<dl class="attribute">
|
||
<dt id="users.forms.LoginForm.base_fields">
|
||
<code class="descname">base_fields</code><em class="property"> = {'password': <django.forms.fields.CharField object>, 'username': <django.forms.fields.CharField object>}</em><a class="headerlink" href="#users.forms.LoginForm.base_fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.LoginForm.declared_fields">
|
||
<code class="descname">declared_fields</code><em class="property"> = {'password': <django.forms.fields.CharField object>, 'username': <django.forms.fields.CharField object>}</em><a class="headerlink" href="#users.forms.LoginForm.declared_fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.LoginForm.media">
|
||
<code class="descname">media</code><a class="headerlink" href="#users.forms.LoginForm.media" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="users.forms.SchoolForm">
|
||
<em class="property">class </em><code class="descclassname">users.forms.</code><code class="descname">SchoolForm</code><span class="sig-paren">(</span><em>data=None</em>, <em>files=None</em>, <em>auto_id='id_%s'</em>, <em>prefix=None</em>, <em>initial=None</em>, <em>error_class=<class 'django.forms.utils.ErrorList'></em>, <em>label_suffix=None</em>, <em>empty_permitted=False</em>, <em>instance=None</em>, <em>use_required_attribute=None</em>, <em>renderer=None</em><span class="sig-paren">)</span><a class="headerlink" href="#users.forms.SchoolForm" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.forms.models.ModelForm</span></code></p>
|
||
<p>Form to add and edit a school</p>
|
||
<dl class="class">
|
||
<dt id="users.forms.SchoolForm.Meta">
|
||
<em class="property">class </em><code class="descname">Meta</code><a class="headerlink" href="#users.forms.SchoolForm.Meta" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
|
||
<dl class="attribute">
|
||
<dt id="users.forms.SchoolForm.Meta.fields">
|
||
<code class="descname">fields</code><em class="property"> = '__all__'</em><a class="headerlink" href="#users.forms.SchoolForm.Meta.fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.SchoolForm.Meta.model">
|
||
<code class="descname">model</code><a class="headerlink" href="#users.forms.SchoolForm.Meta.model" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>alias de <a class="reference internal" href="#users.models.School" title="users.models.School"><code class="xref py py-class docutils literal notranslate"><span class="pre">users.models.School</span></code></a></p>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.SchoolForm.base_fields">
|
||
<code class="descname">base_fields</code><em class="property"> = {'name': <django.forms.fields.CharField object>}</em><a class="headerlink" href="#users.forms.SchoolForm.base_fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.SchoolForm.declared_fields">
|
||
<code class="descname">declared_fields</code><em class="property"> = {}</em><a class="headerlink" href="#users.forms.SchoolForm.declared_fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.SchoolForm.media">
|
||
<code class="descname">media</code><a class="headerlink" href="#users.forms.SchoolForm.media" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="users.forms.SelectNonAdminUserForm">
|
||
<em class="property">class </em><code class="descclassname">users.forms.</code><code class="descname">SelectNonAdminUserForm</code><span class="sig-paren">(</span><em>data=None</em>, <em>files=None</em>, <em>auto_id='id_%s'</em>, <em>prefix=None</em>, <em>initial=None</em>, <em>error_class=<class 'django.forms.utils.ErrorList'></em>, <em>label_suffix=None</em>, <em>empty_permitted=False</em>, <em>field_order=None</em>, <em>use_required_attribute=None</em>, <em>renderer=None</em><span class="sig-paren">)</span><a class="headerlink" href="#users.forms.SelectNonAdminUserForm" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.forms.forms.Form</span></code></p>
|
||
<p>Form to select a user from all non-staff users</p>
|
||
<dl class="attribute">
|
||
<dt id="users.forms.SelectNonAdminUserForm.base_fields">
|
||
<code class="descname">base_fields</code><em class="property"> = {'user': <django.forms.models.ModelChoiceField object>}</em><a class="headerlink" href="#users.forms.SelectNonAdminUserForm.base_fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.SelectNonAdminUserForm.declared_fields">
|
||
<code class="descname">declared_fields</code><em class="property"> = {'user': <django.forms.models.ModelChoiceField object>}</em><a class="headerlink" href="#users.forms.SelectNonAdminUserForm.declared_fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.SelectNonAdminUserForm.media">
|
||
<code class="descname">media</code><a class="headerlink" href="#users.forms.SelectNonAdminUserForm.media" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="users.forms.SelectNonSuperUserForm">
|
||
<em class="property">class </em><code class="descclassname">users.forms.</code><code class="descname">SelectNonSuperUserForm</code><span class="sig-paren">(</span><em>data=None</em>, <em>files=None</em>, <em>auto_id='id_%s'</em>, <em>prefix=None</em>, <em>initial=None</em>, <em>error_class=<class 'django.forms.utils.ErrorList'></em>, <em>label_suffix=None</em>, <em>empty_permitted=False</em>, <em>field_order=None</em>, <em>use_required_attribute=None</em>, <em>renderer=None</em><span class="sig-paren">)</span><a class="headerlink" href="#users.forms.SelectNonSuperUserForm" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.forms.forms.Form</span></code></p>
|
||
<p>Form to select a user from all non-superuser users</p>
|
||
<dl class="attribute">
|
||
<dt id="users.forms.SelectNonSuperUserForm.base_fields">
|
||
<code class="descname">base_fields</code><em class="property"> = {'user': <django.forms.models.ModelChoiceField object>}</em><a class="headerlink" href="#users.forms.SelectNonSuperUserForm.base_fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.SelectNonSuperUserForm.declared_fields">
|
||
<code class="descname">declared_fields</code><em class="property"> = {'user': <django.forms.models.ModelChoiceField object>}</em><a class="headerlink" href="#users.forms.SelectNonSuperUserForm.declared_fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.SelectNonSuperUserForm.media">
|
||
<code class="descname">media</code><a class="headerlink" href="#users.forms.SelectNonSuperUserForm.media" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="users.forms.SelectUserForm">
|
||
<em class="property">class </em><code class="descclassname">users.forms.</code><code class="descname">SelectUserForm</code><span class="sig-paren">(</span><em>data=None</em>, <em>files=None</em>, <em>auto_id='id_%s'</em>, <em>prefix=None</em>, <em>initial=None</em>, <em>error_class=<class 'django.forms.utils.ErrorList'></em>, <em>label_suffix=None</em>, <em>empty_permitted=False</em>, <em>field_order=None</em>, <em>use_required_attribute=None</em>, <em>renderer=None</em><span class="sig-paren">)</span><a class="headerlink" href="#users.forms.SelectUserForm" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.forms.forms.Form</span></code></p>
|
||
<p>Form to select a user from all users</p>
|
||
<dl class="attribute">
|
||
<dt id="users.forms.SelectUserForm.base_fields">
|
||
<code class="descname">base_fields</code><em class="property"> = {'user': <django.forms.models.ModelChoiceField object>}</em><a class="headerlink" href="#users.forms.SelectUserForm.base_fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.SelectUserForm.declared_fields">
|
||
<code class="descname">declared_fields</code><em class="property"> = {'user': <django.forms.models.ModelChoiceField object>}</em><a class="headerlink" href="#users.forms.SelectUserForm.declared_fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.SelectUserForm.media">
|
||
<code class="descname">media</code><a class="headerlink" href="#users.forms.SelectUserForm.media" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="users.forms.addCotisationHistoryForm">
|
||
<em class="property">class </em><code class="descclassname">users.forms.</code><code class="descname">addCotisationHistoryForm</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.forms.addCotisationHistoryForm" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.forms.models.ModelForm</span></code></p>
|
||
<p>Form to add a cotisation to user</p>
|
||
<dl class="class">
|
||
<dt id="users.forms.addCotisationHistoryForm.Meta">
|
||
<em class="property">class </em><code class="descname">Meta</code><a class="headerlink" href="#users.forms.addCotisationHistoryForm.Meta" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
|
||
<dl class="attribute">
|
||
<dt id="users.forms.addCotisationHistoryForm.Meta.fields">
|
||
<code class="descname">fields</code><em class="property"> = ('cotisation', 'paymentMethod')</em><a class="headerlink" href="#users.forms.addCotisationHistoryForm.Meta.fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.addCotisationHistoryForm.Meta.model">
|
||
<code class="descname">model</code><a class="headerlink" href="#users.forms.addCotisationHistoryForm.Meta.model" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>alias de <a class="reference internal" href="#users.models.CotisationHistory" title="users.models.CotisationHistory"><code class="xref py py-class docutils literal notranslate"><span class="pre">users.models.CotisationHistory</span></code></a></p>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.addCotisationHistoryForm.base_fields">
|
||
<code class="descname">base_fields</code><em class="property"> = {'cotisation': <django.forms.models.ModelChoiceField object>, 'paymentMethod': <django.forms.models.ModelChoiceField object>}</em><a class="headerlink" href="#users.forms.addCotisationHistoryForm.base_fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.addCotisationHistoryForm.declared_fields">
|
||
<code class="descname">declared_fields</code><em class="property"> = {}</em><a class="headerlink" href="#users.forms.addCotisationHistoryForm.declared_fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.addCotisationHistoryForm.media">
|
||
<code class="descname">media</code><a class="headerlink" href="#users.forms.addCotisationHistoryForm.media" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="users.forms.addWhiteListHistoryForm">
|
||
<em class="property">class </em><code class="descclassname">users.forms.</code><code class="descname">addWhiteListHistoryForm</code><span class="sig-paren">(</span><em>data=None</em>, <em>files=None</em>, <em>auto_id='id_%s'</em>, <em>prefix=None</em>, <em>initial=None</em>, <em>error_class=<class 'django.forms.utils.ErrorList'></em>, <em>label_suffix=None</em>, <em>empty_permitted=False</em>, <em>instance=None</em>, <em>use_required_attribute=None</em>, <em>renderer=None</em><span class="sig-paren">)</span><a class="headerlink" href="#users.forms.addWhiteListHistoryForm" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.forms.models.ModelForm</span></code></p>
|
||
<p>Form to add a whitelist to user</p>
|
||
<dl class="class">
|
||
<dt id="users.forms.addWhiteListHistoryForm.Meta">
|
||
<em class="property">class </em><code class="descname">Meta</code><a class="headerlink" href="#users.forms.addWhiteListHistoryForm.Meta" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
|
||
<dl class="attribute">
|
||
<dt id="users.forms.addWhiteListHistoryForm.Meta.fields">
|
||
<code class="descname">fields</code><em class="property"> = ('duration',)</em><a class="headerlink" href="#users.forms.addWhiteListHistoryForm.Meta.fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.addWhiteListHistoryForm.Meta.model">
|
||
<code class="descname">model</code><a class="headerlink" href="#users.forms.addWhiteListHistoryForm.Meta.model" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>alias de <a class="reference internal" href="#users.models.WhiteListHistory" title="users.models.WhiteListHistory"><code class="xref py py-class docutils literal notranslate"><span class="pre">users.models.WhiteListHistory</span></code></a></p>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.addWhiteListHistoryForm.base_fields">
|
||
<code class="descname">base_fields</code><em class="property"> = {'duration': <django.forms.fields.IntegerField object>}</em><a class="headerlink" href="#users.forms.addWhiteListHistoryForm.base_fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.addWhiteListHistoryForm.declared_fields">
|
||
<code class="descname">declared_fields</code><em class="property"> = {}</em><a class="headerlink" href="#users.forms.addWhiteListHistoryForm.declared_fields" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.forms.addWhiteListHistoryForm.media">
|
||
<code class="descname">media</code><a class="headerlink" href="#users.forms.addWhiteListHistoryForm.media" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="module-users.models">
|
||
<span id="users-models-module"></span><h2>users.models module<a class="headerlink" href="#module-users.models" title="Lien permanent vers ce titre">¶</a></h2>
|
||
<dl class="class">
|
||
<dt id="users.models.CotisationHistory">
|
||
<em class="property">class </em><code class="descclassname">users.models.</code><code class="descname">CotisationHistory</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.CotisationHistory" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.db.models.base.Model</span></code></p>
|
||
<p>Stores cotisations history, related to Cotisation</p>
|
||
<dl class="exception">
|
||
<dt id="users.models.CotisationHistory.DoesNotExist">
|
||
<em class="property">exception </em><code class="descname">DoesNotExist</code><a class="headerlink" href="#users.models.CotisationHistory.DoesNotExist" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.ObjectDoesNotExist</span></code></p>
|
||
</dd></dl>
|
||
|
||
<dl class="exception">
|
||
<dt id="users.models.CotisationHistory.MultipleObjectsReturned">
|
||
<em class="property">exception </em><code class="descname">MultipleObjectsReturned</code><a class="headerlink" href="#users.models.CotisationHistory.MultipleObjectsReturned" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.MultipleObjectsReturned</span></code></p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.CotisationHistory.amount">
|
||
<code class="descname">amount</code><a class="headerlink" href="#users.models.CotisationHistory.amount" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.CotisationHistory.coopeman">
|
||
<code class="descname">coopeman</code><a class="headerlink" href="#users.models.CotisationHistory.coopeman" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Accessor to the related object on the forward side of a many-to-one or
|
||
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
|
||
<p>In the example:</p>
|
||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
|
||
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">'children'</span><span class="p">)</span>
|
||
</pre></div>
|
||
</div>
|
||
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.CotisationHistory.coopeman_id">
|
||
<code class="descname">coopeman_id</code><a class="headerlink" href="#users.models.CotisationHistory.coopeman_id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.CotisationHistory.cotisation">
|
||
<code class="descname">cotisation</code><a class="headerlink" href="#users.models.CotisationHistory.cotisation" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Accessor to the related object on the forward side of a many-to-one or
|
||
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
|
||
<p>In the example:</p>
|
||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
|
||
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">'children'</span><span class="p">)</span>
|
||
</pre></div>
|
||
</div>
|
||
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.CotisationHistory.cotisation_id">
|
||
<code class="descname">cotisation_id</code><a class="headerlink" href="#users.models.CotisationHistory.cotisation_id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.CotisationHistory.duration">
|
||
<code class="descname">duration</code><a class="headerlink" href="#users.models.CotisationHistory.duration" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.CotisationHistory.endDate">
|
||
<code class="descname">endDate</code><a class="headerlink" href="#users.models.CotisationHistory.endDate" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.CotisationHistory.get_next_by_endDate">
|
||
<code class="descname">get_next_by_endDate</code><span class="sig-paren">(</span><em>*</em>, <em>field=<django.db.models.fields.DateTimeField: endDate></em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.CotisationHistory.get_next_by_endDate" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.CotisationHistory.get_next_by_paymentDate">
|
||
<code class="descname">get_next_by_paymentDate</code><span class="sig-paren">(</span><em>*</em>, <em>field=<django.db.models.fields.DateTimeField: paymentDate></em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.CotisationHistory.get_next_by_paymentDate" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.CotisationHistory.get_previous_by_endDate">
|
||
<code class="descname">get_previous_by_endDate</code><span class="sig-paren">(</span><em>*</em>, <em>field=<django.db.models.fields.DateTimeField: endDate></em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.CotisationHistory.get_previous_by_endDate" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.CotisationHistory.get_previous_by_paymentDate">
|
||
<code class="descname">get_previous_by_paymentDate</code><span class="sig-paren">(</span><em>*</em>, <em>field=<django.db.models.fields.DateTimeField: paymentDate></em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.CotisationHistory.get_previous_by_paymentDate" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.CotisationHistory.history">
|
||
<code class="descname">history</code><em class="property"> = <simple_history.manager.HistoryManager object></em><a class="headerlink" href="#users.models.CotisationHistory.history" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.CotisationHistory.id">
|
||
<code class="descname">id</code><a class="headerlink" href="#users.models.CotisationHistory.id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.CotisationHistory.objects">
|
||
<code class="descname">objects</code><em class="property"> = <django.db.models.manager.Manager object></em><a class="headerlink" href="#users.models.CotisationHistory.objects" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.CotisationHistory.paymentDate">
|
||
<code class="descname">paymentDate</code><a class="headerlink" href="#users.models.CotisationHistory.paymentDate" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.CotisationHistory.paymentMethod">
|
||
<code class="descname">paymentMethod</code><a class="headerlink" href="#users.models.CotisationHistory.paymentMethod" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Accessor to the related object on the forward side of a many-to-one or
|
||
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
|
||
<p>In the example:</p>
|
||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
|
||
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">'children'</span><span class="p">)</span>
|
||
</pre></div>
|
||
</div>
|
||
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.CotisationHistory.paymentMethod_id">
|
||
<code class="descname">paymentMethod_id</code><a class="headerlink" href="#users.models.CotisationHistory.paymentMethod_id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.CotisationHistory.save_without_historical_record">
|
||
<code class="descname">save_without_historical_record</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.CotisationHistory.save_without_historical_record" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Save model without saving a historical record</p>
|
||
<p>Make sure you know what you’re doing before you use this method.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.CotisationHistory.user">
|
||
<code class="descname">user</code><a class="headerlink" href="#users.models.CotisationHistory.user" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Accessor to the related object on the forward side of a many-to-one or
|
||
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
|
||
<p>In the example:</p>
|
||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
|
||
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">'children'</span><span class="p">)</span>
|
||
</pre></div>
|
||
</div>
|
||
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.CotisationHistory.user_id">
|
||
<code class="descname">user_id</code><a class="headerlink" href="#users.models.CotisationHistory.user_id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="users.models.HistoricalCotisationHistory">
|
||
<em class="property">class </em><code class="descclassname">users.models.</code><code class="descname">HistoricalCotisationHistory</code><span class="sig-paren">(</span><em>id</em>, <em>amount</em>, <em>duration</em>, <em>paymentDate</em>, <em>endDate</em>, <em>user</em>, <em>paymentMethod</em>, <em>cotisation</em>, <em>coopeman</em>, <em>history_id</em>, <em>history_change_reason</em>, <em>history_date</em>, <em>history_user</em>, <em>history_type</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.HistoricalCotisationHistory" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">simple_history.models.HistoricalChanges</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">django.db.models.base.Model</span></code></p>
|
||
<dl class="exception">
|
||
<dt id="users.models.HistoricalCotisationHistory.DoesNotExist">
|
||
<em class="property">exception </em><code class="descname">DoesNotExist</code><a class="headerlink" href="#users.models.HistoricalCotisationHistory.DoesNotExist" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.ObjectDoesNotExist</span></code></p>
|
||
</dd></dl>
|
||
|
||
<dl class="exception">
|
||
<dt id="users.models.HistoricalCotisationHistory.MultipleObjectsReturned">
|
||
<em class="property">exception </em><code class="descname">MultipleObjectsReturned</code><a class="headerlink" href="#users.models.HistoricalCotisationHistory.MultipleObjectsReturned" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.MultipleObjectsReturned</span></code></p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalCotisationHistory.amount">
|
||
<code class="descname">amount</code><a class="headerlink" href="#users.models.HistoricalCotisationHistory.amount" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalCotisationHistory.coopeman">
|
||
<code class="descname">coopeman</code><a class="headerlink" href="#users.models.HistoricalCotisationHistory.coopeman" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Accessor to the related object on the forward side of a many-to-one or
|
||
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
|
||
<p>In the example:</p>
|
||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
|
||
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">'children'</span><span class="p">)</span>
|
||
</pre></div>
|
||
</div>
|
||
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalCotisationHistory.coopeman_id">
|
||
<code class="descname">coopeman_id</code><a class="headerlink" href="#users.models.HistoricalCotisationHistory.coopeman_id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalCotisationHistory.cotisation">
|
||
<code class="descname">cotisation</code><a class="headerlink" href="#users.models.HistoricalCotisationHistory.cotisation" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Accessor to the related object on the forward side of a many-to-one or
|
||
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
|
||
<p>In the example:</p>
|
||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
|
||
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">'children'</span><span class="p">)</span>
|
||
</pre></div>
|
||
</div>
|
||
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalCotisationHistory.cotisation_id">
|
||
<code class="descname">cotisation_id</code><a class="headerlink" href="#users.models.HistoricalCotisationHistory.cotisation_id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalCotisationHistory.duration">
|
||
<code class="descname">duration</code><a class="headerlink" href="#users.models.HistoricalCotisationHistory.duration" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalCotisationHistory.endDate">
|
||
<code class="descname">endDate</code><a class="headerlink" href="#users.models.HistoricalCotisationHistory.endDate" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.HistoricalCotisationHistory.get_history_type_display">
|
||
<code class="descname">get_history_type_display</code><span class="sig-paren">(</span><em>*</em>, <em>field=<django.db.models.fields.CharField: history_type></em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.HistoricalCotisationHistory.get_history_type_display" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.HistoricalCotisationHistory.get_next_by_endDate">
|
||
<code class="descname">get_next_by_endDate</code><span class="sig-paren">(</span><em>*</em>, <em>field=<django.db.models.fields.DateTimeField: endDate></em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.HistoricalCotisationHistory.get_next_by_endDate" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.HistoricalCotisationHistory.get_next_by_history_date">
|
||
<code class="descname">get_next_by_history_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=<django.db.models.fields.DateTimeField: history_date></em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.HistoricalCotisationHistory.get_next_by_history_date" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.HistoricalCotisationHistory.get_next_by_paymentDate">
|
||
<code class="descname">get_next_by_paymentDate</code><span class="sig-paren">(</span><em>*</em>, <em>field=<django.db.models.fields.DateTimeField: paymentDate></em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.HistoricalCotisationHistory.get_next_by_paymentDate" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.HistoricalCotisationHistory.get_previous_by_endDate">
|
||
<code class="descname">get_previous_by_endDate</code><span class="sig-paren">(</span><em>*</em>, <em>field=<django.db.models.fields.DateTimeField: endDate></em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.HistoricalCotisationHistory.get_previous_by_endDate" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.HistoricalCotisationHistory.get_previous_by_history_date">
|
||
<code class="descname">get_previous_by_history_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=<django.db.models.fields.DateTimeField: history_date></em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.HistoricalCotisationHistory.get_previous_by_history_date" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.HistoricalCotisationHistory.get_previous_by_paymentDate">
|
||
<code class="descname">get_previous_by_paymentDate</code><span class="sig-paren">(</span><em>*</em>, <em>field=<django.db.models.fields.DateTimeField: paymentDate></em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.HistoricalCotisationHistory.get_previous_by_paymentDate" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalCotisationHistory.history_change_reason">
|
||
<code class="descname">history_change_reason</code><a class="headerlink" href="#users.models.HistoricalCotisationHistory.history_change_reason" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalCotisationHistory.history_date">
|
||
<code class="descname">history_date</code><a class="headerlink" href="#users.models.HistoricalCotisationHistory.history_date" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalCotisationHistory.history_id">
|
||
<code class="descname">history_id</code><a class="headerlink" href="#users.models.HistoricalCotisationHistory.history_id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalCotisationHistory.history_object">
|
||
<code class="descname">history_object</code><a class="headerlink" href="#users.models.HistoricalCotisationHistory.history_object" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalCotisationHistory.history_type">
|
||
<code class="descname">history_type</code><a class="headerlink" href="#users.models.HistoricalCotisationHistory.history_type" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalCotisationHistory.history_user">
|
||
<code class="descname">history_user</code><a class="headerlink" href="#users.models.HistoricalCotisationHistory.history_user" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Accessor to the related object on the forward side of a many-to-one or
|
||
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
|
||
<p>In the example:</p>
|
||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
|
||
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">'children'</span><span class="p">)</span>
|
||
</pre></div>
|
||
</div>
|
||
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalCotisationHistory.history_user_id">
|
||
<code class="descname">history_user_id</code><a class="headerlink" href="#users.models.HistoricalCotisationHistory.history_user_id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalCotisationHistory.id">
|
||
<code class="descname">id</code><a class="headerlink" href="#users.models.HistoricalCotisationHistory.id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalCotisationHistory.instance">
|
||
<code class="descname">instance</code><a class="headerlink" href="#users.models.HistoricalCotisationHistory.instance" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalCotisationHistory.instance_type">
|
||
<code class="descname">instance_type</code><a class="headerlink" href="#users.models.HistoricalCotisationHistory.instance_type" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>alias de <a class="reference internal" href="#users.models.CotisationHistory" title="users.models.CotisationHistory"><code class="xref py py-class docutils literal notranslate"><span class="pre">CotisationHistory</span></code></a></p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalCotisationHistory.next_record">
|
||
<code class="descname">next_record</code><a class="headerlink" href="#users.models.HistoricalCotisationHistory.next_record" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Get the next history record for the instance. <cite>None</cite> if last.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalCotisationHistory.objects">
|
||
<code class="descname">objects</code><em class="property"> = <django.db.models.manager.Manager object></em><a class="headerlink" href="#users.models.HistoricalCotisationHistory.objects" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalCotisationHistory.paymentDate">
|
||
<code class="descname">paymentDate</code><a class="headerlink" href="#users.models.HistoricalCotisationHistory.paymentDate" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalCotisationHistory.paymentMethod">
|
||
<code class="descname">paymentMethod</code><a class="headerlink" href="#users.models.HistoricalCotisationHistory.paymentMethod" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Accessor to the related object on the forward side of a many-to-one or
|
||
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
|
||
<p>In the example:</p>
|
||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
|
||
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">'children'</span><span class="p">)</span>
|
||
</pre></div>
|
||
</div>
|
||
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalCotisationHistory.paymentMethod_id">
|
||
<code class="descname">paymentMethod_id</code><a class="headerlink" href="#users.models.HistoricalCotisationHistory.paymentMethod_id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalCotisationHistory.prev_record">
|
||
<code class="descname">prev_record</code><a class="headerlink" href="#users.models.HistoricalCotisationHistory.prev_record" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Get the previous history record for the instance. <cite>None</cite> if first.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.HistoricalCotisationHistory.revert_url">
|
||
<code class="descname">revert_url</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#users.models.HistoricalCotisationHistory.revert_url" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>URL for this change in the default admin site.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalCotisationHistory.user">
|
||
<code class="descname">user</code><a class="headerlink" href="#users.models.HistoricalCotisationHistory.user" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Accessor to the related object on the forward side of a many-to-one or
|
||
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
|
||
<p>In the example:</p>
|
||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
|
||
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">'children'</span><span class="p">)</span>
|
||
</pre></div>
|
||
</div>
|
||
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalCotisationHistory.user_id">
|
||
<code class="descname">user_id</code><a class="headerlink" href="#users.models.HistoricalCotisationHistory.user_id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="users.models.HistoricalProfile">
|
||
<em class="property">class </em><code class="descclassname">users.models.</code><code class="descname">HistoricalProfile</code><span class="sig-paren">(</span><em>id</em>, <em>credit</em>, <em>debit</em>, <em>cotisationEnd</em>, <em>user</em>, <em>school</em>, <em>history_id</em>, <em>history_change_reason</em>, <em>history_date</em>, <em>history_user</em>, <em>history_type</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.HistoricalProfile" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">simple_history.models.HistoricalChanges</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">django.db.models.base.Model</span></code></p>
|
||
<dl class="exception">
|
||
<dt id="users.models.HistoricalProfile.DoesNotExist">
|
||
<em class="property">exception </em><code class="descname">DoesNotExist</code><a class="headerlink" href="#users.models.HistoricalProfile.DoesNotExist" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.ObjectDoesNotExist</span></code></p>
|
||
</dd></dl>
|
||
|
||
<dl class="exception">
|
||
<dt id="users.models.HistoricalProfile.MultipleObjectsReturned">
|
||
<em class="property">exception </em><code class="descname">MultipleObjectsReturned</code><a class="headerlink" href="#users.models.HistoricalProfile.MultipleObjectsReturned" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.MultipleObjectsReturned</span></code></p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalProfile.cotisationEnd">
|
||
<code class="descname">cotisationEnd</code><a class="headerlink" href="#users.models.HistoricalProfile.cotisationEnd" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalProfile.credit">
|
||
<code class="descname">credit</code><a class="headerlink" href="#users.models.HistoricalProfile.credit" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalProfile.debit">
|
||
<code class="descname">debit</code><a class="headerlink" href="#users.models.HistoricalProfile.debit" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.HistoricalProfile.get_history_type_display">
|
||
<code class="descname">get_history_type_display</code><span class="sig-paren">(</span><em>*</em>, <em>field=<django.db.models.fields.CharField: history_type></em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.HistoricalProfile.get_history_type_display" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.HistoricalProfile.get_next_by_history_date">
|
||
<code class="descname">get_next_by_history_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=<django.db.models.fields.DateTimeField: history_date></em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.HistoricalProfile.get_next_by_history_date" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.HistoricalProfile.get_previous_by_history_date">
|
||
<code class="descname">get_previous_by_history_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=<django.db.models.fields.DateTimeField: history_date></em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.HistoricalProfile.get_previous_by_history_date" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalProfile.history_change_reason">
|
||
<code class="descname">history_change_reason</code><a class="headerlink" href="#users.models.HistoricalProfile.history_change_reason" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalProfile.history_date">
|
||
<code class="descname">history_date</code><a class="headerlink" href="#users.models.HistoricalProfile.history_date" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalProfile.history_id">
|
||
<code class="descname">history_id</code><a class="headerlink" href="#users.models.HistoricalProfile.history_id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalProfile.history_object">
|
||
<code class="descname">history_object</code><a class="headerlink" href="#users.models.HistoricalProfile.history_object" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalProfile.history_type">
|
||
<code class="descname">history_type</code><a class="headerlink" href="#users.models.HistoricalProfile.history_type" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalProfile.history_user">
|
||
<code class="descname">history_user</code><a class="headerlink" href="#users.models.HistoricalProfile.history_user" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Accessor to the related object on the forward side of a many-to-one or
|
||
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
|
||
<p>In the example:</p>
|
||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
|
||
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">'children'</span><span class="p">)</span>
|
||
</pre></div>
|
||
</div>
|
||
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalProfile.history_user_id">
|
||
<code class="descname">history_user_id</code><a class="headerlink" href="#users.models.HistoricalProfile.history_user_id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalProfile.id">
|
||
<code class="descname">id</code><a class="headerlink" href="#users.models.HistoricalProfile.id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalProfile.instance">
|
||
<code class="descname">instance</code><a class="headerlink" href="#users.models.HistoricalProfile.instance" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalProfile.instance_type">
|
||
<code class="descname">instance_type</code><a class="headerlink" href="#users.models.HistoricalProfile.instance_type" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>alias de <a class="reference internal" href="#users.models.Profile" title="users.models.Profile"><code class="xref py py-class docutils literal notranslate"><span class="pre">Profile</span></code></a></p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalProfile.next_record">
|
||
<code class="descname">next_record</code><a class="headerlink" href="#users.models.HistoricalProfile.next_record" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Get the next history record for the instance. <cite>None</cite> if last.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalProfile.objects">
|
||
<code class="descname">objects</code><em class="property"> = <django.db.models.manager.Manager object></em><a class="headerlink" href="#users.models.HistoricalProfile.objects" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalProfile.prev_record">
|
||
<code class="descname">prev_record</code><a class="headerlink" href="#users.models.HistoricalProfile.prev_record" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Get the previous history record for the instance. <cite>None</cite> if first.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.HistoricalProfile.revert_url">
|
||
<code class="descname">revert_url</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#users.models.HistoricalProfile.revert_url" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>URL for this change in the default admin site.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalProfile.school">
|
||
<code class="descname">school</code><a class="headerlink" href="#users.models.HistoricalProfile.school" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Accessor to the related object on the forward side of a many-to-one or
|
||
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
|
||
<p>In the example:</p>
|
||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
|
||
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">'children'</span><span class="p">)</span>
|
||
</pre></div>
|
||
</div>
|
||
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalProfile.school_id">
|
||
<code class="descname">school_id</code><a class="headerlink" href="#users.models.HistoricalProfile.school_id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalProfile.user">
|
||
<code class="descname">user</code><a class="headerlink" href="#users.models.HistoricalProfile.user" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Accessor to the related object on the forward side of a many-to-one or
|
||
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
|
||
<p>In the example:</p>
|
||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
|
||
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">'children'</span><span class="p">)</span>
|
||
</pre></div>
|
||
</div>
|
||
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalProfile.user_id">
|
||
<code class="descname">user_id</code><a class="headerlink" href="#users.models.HistoricalProfile.user_id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="users.models.HistoricalSchool">
|
||
<em class="property">class </em><code class="descclassname">users.models.</code><code class="descname">HistoricalSchool</code><span class="sig-paren">(</span><em>id</em>, <em>name</em>, <em>history_id</em>, <em>history_change_reason</em>, <em>history_date</em>, <em>history_user</em>, <em>history_type</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.HistoricalSchool" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">simple_history.models.HistoricalChanges</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">django.db.models.base.Model</span></code></p>
|
||
<dl class="exception">
|
||
<dt id="users.models.HistoricalSchool.DoesNotExist">
|
||
<em class="property">exception </em><code class="descname">DoesNotExist</code><a class="headerlink" href="#users.models.HistoricalSchool.DoesNotExist" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.ObjectDoesNotExist</span></code></p>
|
||
</dd></dl>
|
||
|
||
<dl class="exception">
|
||
<dt id="users.models.HistoricalSchool.MultipleObjectsReturned">
|
||
<em class="property">exception </em><code class="descname">MultipleObjectsReturned</code><a class="headerlink" href="#users.models.HistoricalSchool.MultipleObjectsReturned" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.MultipleObjectsReturned</span></code></p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.HistoricalSchool.get_history_type_display">
|
||
<code class="descname">get_history_type_display</code><span class="sig-paren">(</span><em>*</em>, <em>field=<django.db.models.fields.CharField: history_type></em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.HistoricalSchool.get_history_type_display" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.HistoricalSchool.get_next_by_history_date">
|
||
<code class="descname">get_next_by_history_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=<django.db.models.fields.DateTimeField: history_date></em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.HistoricalSchool.get_next_by_history_date" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.HistoricalSchool.get_previous_by_history_date">
|
||
<code class="descname">get_previous_by_history_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=<django.db.models.fields.DateTimeField: history_date></em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.HistoricalSchool.get_previous_by_history_date" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalSchool.history_change_reason">
|
||
<code class="descname">history_change_reason</code><a class="headerlink" href="#users.models.HistoricalSchool.history_change_reason" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalSchool.history_date">
|
||
<code class="descname">history_date</code><a class="headerlink" href="#users.models.HistoricalSchool.history_date" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalSchool.history_id">
|
||
<code class="descname">history_id</code><a class="headerlink" href="#users.models.HistoricalSchool.history_id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalSchool.history_object">
|
||
<code class="descname">history_object</code><a class="headerlink" href="#users.models.HistoricalSchool.history_object" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalSchool.history_type">
|
||
<code class="descname">history_type</code><a class="headerlink" href="#users.models.HistoricalSchool.history_type" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalSchool.history_user">
|
||
<code class="descname">history_user</code><a class="headerlink" href="#users.models.HistoricalSchool.history_user" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Accessor to the related object on the forward side of a many-to-one or
|
||
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
|
||
<p>In the example:</p>
|
||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
|
||
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">'children'</span><span class="p">)</span>
|
||
</pre></div>
|
||
</div>
|
||
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalSchool.history_user_id">
|
||
<code class="descname">history_user_id</code><a class="headerlink" href="#users.models.HistoricalSchool.history_user_id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalSchool.id">
|
||
<code class="descname">id</code><a class="headerlink" href="#users.models.HistoricalSchool.id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalSchool.instance">
|
||
<code class="descname">instance</code><a class="headerlink" href="#users.models.HistoricalSchool.instance" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalSchool.instance_type">
|
||
<code class="descname">instance_type</code><a class="headerlink" href="#users.models.HistoricalSchool.instance_type" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>alias de <a class="reference internal" href="#users.models.School" title="users.models.School"><code class="xref py py-class docutils literal notranslate"><span class="pre">School</span></code></a></p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalSchool.name">
|
||
<code class="descname">name</code><a class="headerlink" href="#users.models.HistoricalSchool.name" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalSchool.next_record">
|
||
<code class="descname">next_record</code><a class="headerlink" href="#users.models.HistoricalSchool.next_record" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Get the next history record for the instance. <cite>None</cite> if last.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalSchool.objects">
|
||
<code class="descname">objects</code><em class="property"> = <django.db.models.manager.Manager object></em><a class="headerlink" href="#users.models.HistoricalSchool.objects" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalSchool.prev_record">
|
||
<code class="descname">prev_record</code><a class="headerlink" href="#users.models.HistoricalSchool.prev_record" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Get the previous history record for the instance. <cite>None</cite> if first.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.HistoricalSchool.revert_url">
|
||
<code class="descname">revert_url</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#users.models.HistoricalSchool.revert_url" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>URL for this change in the default admin site.</p>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="users.models.HistoricalWhiteListHistory">
|
||
<em class="property">class </em><code class="descclassname">users.models.</code><code class="descname">HistoricalWhiteListHistory</code><span class="sig-paren">(</span><em>id</em>, <em>paymentDate</em>, <em>endDate</em>, <em>duration</em>, <em>user</em>, <em>coopeman</em>, <em>history_id</em>, <em>history_change_reason</em>, <em>history_date</em>, <em>history_user</em>, <em>history_type</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.HistoricalWhiteListHistory" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">simple_history.models.HistoricalChanges</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">django.db.models.base.Model</span></code></p>
|
||
<dl class="exception">
|
||
<dt id="users.models.HistoricalWhiteListHistory.DoesNotExist">
|
||
<em class="property">exception </em><code class="descname">DoesNotExist</code><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.DoesNotExist" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.ObjectDoesNotExist</span></code></p>
|
||
</dd></dl>
|
||
|
||
<dl class="exception">
|
||
<dt id="users.models.HistoricalWhiteListHistory.MultipleObjectsReturned">
|
||
<em class="property">exception </em><code class="descname">MultipleObjectsReturned</code><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.MultipleObjectsReturned" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.MultipleObjectsReturned</span></code></p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalWhiteListHistory.coopeman">
|
||
<code class="descname">coopeman</code><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.coopeman" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Accessor to the related object on the forward side of a many-to-one or
|
||
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
|
||
<p>In the example:</p>
|
||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
|
||
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">'children'</span><span class="p">)</span>
|
||
</pre></div>
|
||
</div>
|
||
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalWhiteListHistory.coopeman_id">
|
||
<code class="descname">coopeman_id</code><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.coopeman_id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalWhiteListHistory.duration">
|
||
<code class="descname">duration</code><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.duration" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalWhiteListHistory.endDate">
|
||
<code class="descname">endDate</code><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.endDate" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.HistoricalWhiteListHistory.get_history_type_display">
|
||
<code class="descname">get_history_type_display</code><span class="sig-paren">(</span><em>*</em>, <em>field=<django.db.models.fields.CharField: history_type></em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.get_history_type_display" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.HistoricalWhiteListHistory.get_next_by_endDate">
|
||
<code class="descname">get_next_by_endDate</code><span class="sig-paren">(</span><em>*</em>, <em>field=<django.db.models.fields.DateTimeField: endDate></em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.get_next_by_endDate" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.HistoricalWhiteListHistory.get_next_by_history_date">
|
||
<code class="descname">get_next_by_history_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=<django.db.models.fields.DateTimeField: history_date></em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.get_next_by_history_date" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.HistoricalWhiteListHistory.get_next_by_paymentDate">
|
||
<code class="descname">get_next_by_paymentDate</code><span class="sig-paren">(</span><em>*</em>, <em>field=<django.db.models.fields.DateTimeField: paymentDate></em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.get_next_by_paymentDate" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.HistoricalWhiteListHistory.get_previous_by_endDate">
|
||
<code class="descname">get_previous_by_endDate</code><span class="sig-paren">(</span><em>*</em>, <em>field=<django.db.models.fields.DateTimeField: endDate></em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.get_previous_by_endDate" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.HistoricalWhiteListHistory.get_previous_by_history_date">
|
||
<code class="descname">get_previous_by_history_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=<django.db.models.fields.DateTimeField: history_date></em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.get_previous_by_history_date" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.HistoricalWhiteListHistory.get_previous_by_paymentDate">
|
||
<code class="descname">get_previous_by_paymentDate</code><span class="sig-paren">(</span><em>*</em>, <em>field=<django.db.models.fields.DateTimeField: paymentDate></em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.get_previous_by_paymentDate" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalWhiteListHistory.history_change_reason">
|
||
<code class="descname">history_change_reason</code><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.history_change_reason" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalWhiteListHistory.history_date">
|
||
<code class="descname">history_date</code><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.history_date" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalWhiteListHistory.history_id">
|
||
<code class="descname">history_id</code><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.history_id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalWhiteListHistory.history_object">
|
||
<code class="descname">history_object</code><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.history_object" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalWhiteListHistory.history_type">
|
||
<code class="descname">history_type</code><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.history_type" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalWhiteListHistory.history_user">
|
||
<code class="descname">history_user</code><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.history_user" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Accessor to the related object on the forward side of a many-to-one or
|
||
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
|
||
<p>In the example:</p>
|
||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
|
||
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">'children'</span><span class="p">)</span>
|
||
</pre></div>
|
||
</div>
|
||
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalWhiteListHistory.history_user_id">
|
||
<code class="descname">history_user_id</code><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.history_user_id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalWhiteListHistory.id">
|
||
<code class="descname">id</code><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalWhiteListHistory.instance">
|
||
<code class="descname">instance</code><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.instance" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalWhiteListHistory.instance_type">
|
||
<code class="descname">instance_type</code><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.instance_type" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>alias de <a class="reference internal" href="#users.models.WhiteListHistory" title="users.models.WhiteListHistory"><code class="xref py py-class docutils literal notranslate"><span class="pre">WhiteListHistory</span></code></a></p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalWhiteListHistory.next_record">
|
||
<code class="descname">next_record</code><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.next_record" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Get the next history record for the instance. <cite>None</cite> if last.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalWhiteListHistory.objects">
|
||
<code class="descname">objects</code><em class="property"> = <django.db.models.manager.Manager object></em><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.objects" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalWhiteListHistory.paymentDate">
|
||
<code class="descname">paymentDate</code><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.paymentDate" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalWhiteListHistory.prev_record">
|
||
<code class="descname">prev_record</code><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.prev_record" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Get the previous history record for the instance. <cite>None</cite> if first.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.HistoricalWhiteListHistory.revert_url">
|
||
<code class="descname">revert_url</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.revert_url" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>URL for this change in the default admin site.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalWhiteListHistory.user">
|
||
<code class="descname">user</code><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.user" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Accessor to the related object on the forward side of a many-to-one or
|
||
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
|
||
<p>In the example:</p>
|
||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
|
||
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">'children'</span><span class="p">)</span>
|
||
</pre></div>
|
||
</div>
|
||
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.HistoricalWhiteListHistory.user_id">
|
||
<code class="descname">user_id</code><a class="headerlink" href="#users.models.HistoricalWhiteListHistory.user_id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="users.models.Profile">
|
||
<em class="property">class </em><code class="descclassname">users.models.</code><code class="descname">Profile</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.Profile" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.db.models.base.Model</span></code></p>
|
||
<p>Stores user profile</p>
|
||
<dl class="exception">
|
||
<dt id="users.models.Profile.DoesNotExist">
|
||
<em class="property">exception </em><code class="descname">DoesNotExist</code><a class="headerlink" href="#users.models.Profile.DoesNotExist" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.ObjectDoesNotExist</span></code></p>
|
||
</dd></dl>
|
||
|
||
<dl class="exception">
|
||
<dt id="users.models.Profile.MultipleObjectsReturned">
|
||
<em class="property">exception </em><code class="descname">MultipleObjectsReturned</code><a class="headerlink" href="#users.models.Profile.MultipleObjectsReturned" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.MultipleObjectsReturned</span></code></p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.Profile.alcohol">
|
||
<code class="descname">alcohol</code><a class="headerlink" href="#users.models.Profile.alcohol" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Computes ingerated alcohol</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.Profile.balance">
|
||
<code class="descname">balance</code><a class="headerlink" href="#users.models.Profile.balance" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Computes user balance</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.Profile.cotisationEnd">
|
||
<code class="descname">cotisationEnd</code><a class="headerlink" href="#users.models.Profile.cotisationEnd" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.Profile.credit">
|
||
<code class="descname">credit</code><a class="headerlink" href="#users.models.Profile.credit" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.Profile.debit">
|
||
<code class="descname">debit</code><a class="headerlink" href="#users.models.Profile.debit" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.Profile.history">
|
||
<code class="descname">history</code><em class="property"> = <simple_history.manager.HistoryManager object></em><a class="headerlink" href="#users.models.Profile.history" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.Profile.id">
|
||
<code class="descname">id</code><a class="headerlink" href="#users.models.Profile.id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.Profile.is_adherent">
|
||
<code class="descname">is_adherent</code><a class="headerlink" href="#users.models.Profile.is_adherent" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Test if a user is adherent</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.Profile.nb_pintes">
|
||
<code class="descname">nb_pintes</code><a class="headerlink" href="#users.models.Profile.nb_pintes" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Return the number of pintes currently owned</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.Profile.objects">
|
||
<code class="descname">objects</code><em class="property"> = <django.db.models.manager.Manager object></em><a class="headerlink" href="#users.models.Profile.objects" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.Profile.positiveBalance">
|
||
<code class="descname">positiveBalance</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#users.models.Profile.positiveBalance" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Test if the user balance is positive or null</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.Profile.rank">
|
||
<code class="descname">rank</code><a class="headerlink" href="#users.models.Profile.rank" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Computes the rank (by debit) of the user</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.Profile.save_without_historical_record">
|
||
<code class="descname">save_without_historical_record</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.Profile.save_without_historical_record" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Save model without saving a historical record</p>
|
||
<p>Make sure you know what you’re doing before you use this method.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.Profile.school">
|
||
<code class="descname">school</code><a class="headerlink" href="#users.models.Profile.school" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Accessor to the related object on the forward side of a many-to-one or
|
||
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
|
||
<p>In the example:</p>
|
||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
|
||
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">'children'</span><span class="p">)</span>
|
||
</pre></div>
|
||
</div>
|
||
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.Profile.school_id">
|
||
<code class="descname">school_id</code><a class="headerlink" href="#users.models.Profile.school_id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.Profile.user">
|
||
<code class="descname">user</code><a class="headerlink" href="#users.models.Profile.user" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Accessor to the related object on the forward side of a one-to-one relation.</p>
|
||
<p>In the example:</p>
|
||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Restaurant</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
|
||
<span class="n">place</span> <span class="o">=</span> <span class="n">OneToOneField</span><span class="p">(</span><span class="n">Place</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">'restaurant'</span><span class="p">)</span>
|
||
</pre></div>
|
||
</div>
|
||
<p><code class="docutils literal notranslate"><span class="pre">Restaurant.place</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardOneToOneDescriptor</span></code> instance.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.Profile.user_id">
|
||
<code class="descname">user_id</code><a class="headerlink" href="#users.models.Profile.user_id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="users.models.School">
|
||
<em class="property">class </em><code class="descclassname">users.models.</code><code class="descname">School</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.School" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.db.models.base.Model</span></code></p>
|
||
<p>Stores school</p>
|
||
<dl class="exception">
|
||
<dt id="users.models.School.DoesNotExist">
|
||
<em class="property">exception </em><code class="descname">DoesNotExist</code><a class="headerlink" href="#users.models.School.DoesNotExist" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.ObjectDoesNotExist</span></code></p>
|
||
</dd></dl>
|
||
|
||
<dl class="exception">
|
||
<dt id="users.models.School.MultipleObjectsReturned">
|
||
<em class="property">exception </em><code class="descname">MultipleObjectsReturned</code><a class="headerlink" href="#users.models.School.MultipleObjectsReturned" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.MultipleObjectsReturned</span></code></p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.School.history">
|
||
<code class="descname">history</code><em class="property"> = <simple_history.manager.HistoryManager object></em><a class="headerlink" href="#users.models.School.history" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.School.id">
|
||
<code class="descname">id</code><a class="headerlink" href="#users.models.School.id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.School.name">
|
||
<code class="descname">name</code><a class="headerlink" href="#users.models.School.name" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.School.objects">
|
||
<code class="descname">objects</code><em class="property"> = <django.db.models.manager.Manager object></em><a class="headerlink" href="#users.models.School.objects" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.School.profile_set">
|
||
<code class="descname">profile_set</code><a class="headerlink" href="#users.models.School.profile_set" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Accessor to the related objects manager on the reverse side of a
|
||
many-to-one relation.</p>
|
||
<p>In the example:</p>
|
||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
|
||
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">'children'</span><span class="p">)</span>
|
||
</pre></div>
|
||
</div>
|
||
<p><code class="docutils literal notranslate"><span class="pre">Parent.children</span></code> is a <code class="docutils literal notranslate"><span class="pre">ReverseManyToOneDescriptor</span></code> instance.</p>
|
||
<p>Most of the implementation is delegated to a dynamically defined manager
|
||
class built by <code class="docutils literal notranslate"><span class="pre">create_forward_many_to_many_manager()</span></code> defined below.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.School.save_without_historical_record">
|
||
<code class="descname">save_without_historical_record</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.School.save_without_historical_record" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Save model without saving a historical record</p>
|
||
<p>Make sure you know what you’re doing before you use this method.</p>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="users.models.WhiteListHistory">
|
||
<em class="property">class </em><code class="descclassname">users.models.</code><code class="descname">WhiteListHistory</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.WhiteListHistory" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.db.models.base.Model</span></code></p>
|
||
<p>Stores whitelist history</p>
|
||
<dl class="exception">
|
||
<dt id="users.models.WhiteListHistory.DoesNotExist">
|
||
<em class="property">exception </em><code class="descname">DoesNotExist</code><a class="headerlink" href="#users.models.WhiteListHistory.DoesNotExist" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.ObjectDoesNotExist</span></code></p>
|
||
</dd></dl>
|
||
|
||
<dl class="exception">
|
||
<dt id="users.models.WhiteListHistory.MultipleObjectsReturned">
|
||
<em class="property">exception </em><code class="descname">MultipleObjectsReturned</code><a class="headerlink" href="#users.models.WhiteListHistory.MultipleObjectsReturned" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.MultipleObjectsReturned</span></code></p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.WhiteListHistory.coopeman">
|
||
<code class="descname">coopeman</code><a class="headerlink" href="#users.models.WhiteListHistory.coopeman" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Accessor to the related object on the forward side of a many-to-one or
|
||
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
|
||
<p>In the example:</p>
|
||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
|
||
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">'children'</span><span class="p">)</span>
|
||
</pre></div>
|
||
</div>
|
||
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.WhiteListHistory.coopeman_id">
|
||
<code class="descname">coopeman_id</code><a class="headerlink" href="#users.models.WhiteListHistory.coopeman_id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.WhiteListHistory.duration">
|
||
<code class="descname">duration</code><a class="headerlink" href="#users.models.WhiteListHistory.duration" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.WhiteListHistory.endDate">
|
||
<code class="descname">endDate</code><a class="headerlink" href="#users.models.WhiteListHistory.endDate" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.WhiteListHistory.get_next_by_endDate">
|
||
<code class="descname">get_next_by_endDate</code><span class="sig-paren">(</span><em>*</em>, <em>field=<django.db.models.fields.DateTimeField: endDate></em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.WhiteListHistory.get_next_by_endDate" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.WhiteListHistory.get_next_by_paymentDate">
|
||
<code class="descname">get_next_by_paymentDate</code><span class="sig-paren">(</span><em>*</em>, <em>field=<django.db.models.fields.DateTimeField: paymentDate></em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.WhiteListHistory.get_next_by_paymentDate" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.WhiteListHistory.get_previous_by_endDate">
|
||
<code class="descname">get_previous_by_endDate</code><span class="sig-paren">(</span><em>*</em>, <em>field=<django.db.models.fields.DateTimeField: endDate></em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.WhiteListHistory.get_previous_by_endDate" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.WhiteListHistory.get_previous_by_paymentDate">
|
||
<code class="descname">get_previous_by_paymentDate</code><span class="sig-paren">(</span><em>*</em>, <em>field=<django.db.models.fields.DateTimeField: paymentDate></em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.WhiteListHistory.get_previous_by_paymentDate" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.WhiteListHistory.history">
|
||
<code class="descname">history</code><em class="property"> = <simple_history.manager.HistoryManager object></em><a class="headerlink" href="#users.models.WhiteListHistory.history" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.WhiteListHistory.id">
|
||
<code class="descname">id</code><a class="headerlink" href="#users.models.WhiteListHistory.id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.WhiteListHistory.objects">
|
||
<code class="descname">objects</code><em class="property"> = <django.db.models.manager.Manager object></em><a class="headerlink" href="#users.models.WhiteListHistory.objects" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.WhiteListHistory.paymentDate">
|
||
<code class="descname">paymentDate</code><a class="headerlink" href="#users.models.WhiteListHistory.paymentDate" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="users.models.WhiteListHistory.save_without_historical_record">
|
||
<code class="descname">save_without_historical_record</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.WhiteListHistory.save_without_historical_record" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Save model without saving a historical record</p>
|
||
<p>Make sure you know what you’re doing before you use this method.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.WhiteListHistory.user">
|
||
<code class="descname">user</code><a class="headerlink" href="#users.models.WhiteListHistory.user" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Accessor to the related object on the forward side of a many-to-one or
|
||
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
|
||
<p>In the example:</p>
|
||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
|
||
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">'children'</span><span class="p">)</span>
|
||
</pre></div>
|
||
</div>
|
||
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="users.models.WhiteListHistory.user_id">
|
||
<code class="descname">user_id</code><a class="headerlink" href="#users.models.WhiteListHistory.user_id" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
|
||
object the first time, the query is executed.</p>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="function">
|
||
<dt id="users.models.create_user_profile">
|
||
<code class="descclassname">users.models.</code><code class="descname">create_user_profile</code><span class="sig-paren">(</span><em>sender</em>, <em>instance</em>, <em>created</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.create_user_profile" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Create profile when user is created</p>
|
||
</dd></dl>
|
||
|
||
<dl class="function">
|
||
<dt id="users.models.save_user_profile">
|
||
<code class="descclassname">users.models.</code><code class="descname">save_user_profile</code><span class="sig-paren">(</span><em>sender</em>, <em>instance</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.save_user_profile" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Save profile when user is saved</p>
|
||
</dd></dl>
|
||
|
||
<dl class="function">
|
||
<dt id="users.models.str_user">
|
||
<code class="descclassname">users.models.</code><code class="descname">str_user</code><span class="sig-paren">(</span><em>self</em><span class="sig-paren">)</span><a class="headerlink" href="#users.models.str_user" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Rewrite str method for user</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="module-users.tests">
|
||
<span id="users-tests-module"></span><h2>users.tests module<a class="headerlink" href="#module-users.tests" title="Lien permanent vers ce titre">¶</a></h2>
|
||
</div>
|
||
<div class="section" id="module-users.urls">
|
||
<span id="users-urls-module"></span><h2>users.urls module<a class="headerlink" href="#module-users.urls" title="Lien permanent vers ce titre">¶</a></h2>
|
||
<dl class="function">
|
||
<dt id="users.urls.path">
|
||
<code class="descclassname">users.urls.</code><code class="descname">path</code><span class="sig-paren">(</span><em>route</em>, <em>view</em>, <em>kwargs=None</em>, <em>name=None</em>, <em>*</em>, <em>Pattern=<class 'django.urls.resolvers.RoutePattern'></em><span class="sig-paren">)</span><a class="headerlink" href="#users.urls.path" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="module-users.views">
|
||
<span id="users-views-module"></span><h2>users.views module<a class="headerlink" href="#module-users.views" title="Lien permanent vers ce titre">¶</a></h2>
|
||
<dl class="class">
|
||
<dt id="users.views.ActiveUsersAutocomplete">
|
||
<em class="property">class </em><code class="descclassname">users.views.</code><code class="descname">ActiveUsersAutocomplete</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.views.ActiveUsersAutocomplete" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">dal_select2.views.Select2QuerySetView</span></code></p>
|
||
<p>Autocomplete for active users</p>
|
||
<dl class="method">
|
||
<dt id="users.views.ActiveUsersAutocomplete.get_queryset">
|
||
<code class="descname">get_queryset</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#users.views.ActiveUsersAutocomplete.get_queryset" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Filter the queryset with GET[“q”].</p>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="users.views.AdherentAutocomplete">
|
||
<em class="property">class </em><code class="descclassname">users.views.</code><code class="descname">AdherentAutocomplete</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.views.AdherentAutocomplete" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">dal_select2.views.Select2QuerySetView</span></code></p>
|
||
<p>Autocomplete for adherents</p>
|
||
<dl class="method">
|
||
<dt id="users.views.AdherentAutocomplete.get_queryset">
|
||
<code class="descname">get_queryset</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#users.views.AdherentAutocomplete.get_queryset" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Filter the queryset with GET[“q”].</p>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="users.views.AllUsersAutocomplete">
|
||
<em class="property">class </em><code class="descclassname">users.views.</code><code class="descname">AllUsersAutocomplete</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.views.AllUsersAutocomplete" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">dal_select2.views.Select2QuerySetView</span></code></p>
|
||
<p>Autcomplete for all users</p>
|
||
<dl class="method">
|
||
<dt id="users.views.AllUsersAutocomplete.get_queryset">
|
||
<code class="descname">get_queryset</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#users.views.AllUsersAutocomplete.get_queryset" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Filter the queryset with GET[“q”].</p>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="users.views.NonAdminUserAutocomplete">
|
||
<em class="property">class </em><code class="descclassname">users.views.</code><code class="descname">NonAdminUserAutocomplete</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.views.NonAdminUserAutocomplete" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">dal_select2.views.Select2QuerySetView</span></code></p>
|
||
<p>Autocomplete for non-admin users</p>
|
||
<dl class="method">
|
||
<dt id="users.views.NonAdminUserAutocomplete.get_queryset">
|
||
<code class="descname">get_queryset</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#users.views.NonAdminUserAutocomplete.get_queryset" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Filter the queryset with GET[“q”].</p>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="class">
|
||
<dt id="users.views.NonSuperUserAutocomplete">
|
||
<em class="property">class </em><code class="descclassname">users.views.</code><code class="descname">NonSuperUserAutocomplete</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#users.views.NonSuperUserAutocomplete" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">dal_select2.views.Select2QuerySetView</span></code></p>
|
||
<p>Autocomplete for non-superuser users</p>
|
||
<dl class="method">
|
||
<dt id="users.views.NonSuperUserAutocomplete.get_queryset">
|
||
<code class="descname">get_queryset</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#users.views.NonSuperUserAutocomplete.get_queryset" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd><p>Filter the queryset with GET[“q”].</p>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
<dl class="function">
|
||
<dt id="users.views.export_csv">
|
||
<code class="descclassname">users.views.</code><code class="descname">export_csv</code><span class="sig-paren">(</span><em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#users.views.export_csv" title="Lien permanent vers cette définition">¶</a></dt>
|
||
<dd></dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="module-users">
|
||
<span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-users" title="Lien permanent vers ce titre">¶</a></h2>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
||
<div class="sphinxsidebarwrapper">
|
||
<h1 class="logo"><a href="index.html">CoopeV3</a></h1>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<h3>Navigation</h3>
|
||
|
||
<div class="relations">
|
||
<h3>Related Topics</h3>
|
||
<ul>
|
||
<li><a href="index.html">Documentation overview</a><ul>
|
||
</ul></li>
|
||
</ul>
|
||
</div>
|
||
<div id="searchbox" style="display: none" role="search">
|
||
<h3>Recherche rapide</h3>
|
||
<div class="searchformwrapper">
|
||
<form class="search" action="search.html" method="get">
|
||
<input type="text" name="q" />
|
||
<input type="submit" value="Go" />
|
||
<input type="hidden" name="check_keywords" value="yes" />
|
||
<input type="hidden" name="area" value="default" />
|
||
</form>
|
||
</div>
|
||
</div>
|
||
<script type="text/javascript">$('#searchbox').show(0);</script>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</div>
|
||
</div>
|
||
<div class="clearer"></div>
|
||
</div>
|
||
<div class="footer">
|
||
©2019, Yoann Pietri.
|
||
|
||
|
|
||
Powered by <a href="http://sphinx-doc.org/">Sphinx 1.8.4</a>
|
||
& <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
|
||
|
||
|
|
||
<a href="_sources/users.rst.txt"
|
||
rel="nofollow">Page source</a>
|
||
</div>
|
||
|
||
|
||
|
||
|
||
</body>
|
||
</html> |