django-helpdesk/docs/html/settings.html
2011-02-05 05:11:34 +00:00

133 lines
6.0 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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Settings &mdash; django-helpdesk v0.1 documentation</title>
<link rel="stylesheet" href="_static/default.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '',
VERSION: '0.1',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</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>
<link rel="top" title="django-helpdesk v0.1 documentation" href="index.html" />
<link rel="next" title="Spam Filtering" href="spam.html" />
<link rel="prev" title="Configuration" href="configuration.html" />
</head>
<body>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="spam.html" title="Spam Filtering"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="configuration.html" title="Configuration"
accesskey="P">previous</a> |</li>
<li><a href="index.html">django-helpdesk v0.1 documentation</a> &raquo;</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body">
<div class="section" id="settings">
<h1>Settings<a class="headerlink" href="#settings" title="Permalink to this headline"></a></h1>
<p>The following settings can be changed in your <tt class="docutils literal"><span class="pre">settings.py</span></tt> file to help change the way django-helpdesk operates.</p>
<div class="section" id="helpdesk-default-settings">
<h2>HELPDESK_DEFAULT_SETTINGS<a class="headerlink" href="#helpdesk-default-settings" title="Permalink to this headline"></a></h2>
<p>django-helpdesk has a built in <tt class="docutils literal"><span class="pre">UserSettings</span></tt> entity with per-use options that they will want to configure themselves. When you create a new user, a set of options is automatically created for them which they can then change themselves.</p>
<p>If you want to override the default settings for your users, create <tt class="docutils literal"><span class="pre">HELPDESK_DEFAULT_SETTINGS</span></tt> as a dictionary in <tt class="docutils literal"><span class="pre">settings.py</span></tt>. The default is below:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="n">HELPDESK_DEFAULT_SETTINGS</span> <span class="o">=</span> <span class="p">{</span>
<span class="s">&#39;use_email_as_submitter&#39;</span><span class="p">:</span> <span class="bp">True</span><span class="p">,</span>
<span class="s">&#39;email_on_ticket_assign&#39;</span><span class="p">:</span> <span class="bp">True</span><span class="p">,</span>
<span class="s">&#39;email_on_ticket_change&#39;</span><span class="p">:</span> <span class="bp">True</span><span class="p">,</span>
<span class="s">&#39;login_view_ticketlist&#39;</span><span class="p">:</span> <span class="bp">True</span><span class="p">,</span>
<span class="s">&#39;email_on_ticket_apichange&#39;</span><span class="p">:</span> <span class="bp">True</span><span class="p">,</span>
<span class="s">&#39;tickets_per_page&#39;</span><span class="p">:</span> <span class="mi">25</span>
<span class="p">}</span>
</pre></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar">
<div class="sphinxsidebarwrapper">
<h3><a href="index.html">Table Of Contents</a></h3>
<ul>
<li><a class="reference internal" href="#">Settings</a><ul>
<li><a class="reference internal" href="#helpdesk-default-settings">HELPDESK_DEFAULT_SETTINGS</a></li>
</ul>
</li>
</ul>
<h4>Previous topic</h4>
<p class="topless"><a href="configuration.html"
title="previous chapter">Configuration</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="spam.html"
title="next chapter">Spam Filtering</a></p>
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/settings.txt"
rel="nofollow">Show Source</a></li>
</ul>
<div id="searchbox" style="display: none">
<h3>Quick search</h3>
<form class="search" action="search.html" method="get">
<input type="text" name="q" size="18" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
<p class="searchtip" style="font-size: 90%">
Enter search terms or a module, class or function name.
</p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="spam.html" title="Spam Filtering"
>next</a> |</li>
<li class="right" >
<a href="configuration.html" title="Configuration"
>previous</a> |</li>
<li><a href="index.html">django-helpdesk v0.1 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
&copy; Copyright 2011, Ross Poulton + Contributors.
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
</div>
</body>
</html>