Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 6924972363177ee2ba37e2f37b22c4a6 > files > 91

django-staticfiles-0.3.2-3.fc14.noarch.rpm


<!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>django-staticfiles &mdash; django-staticfiles v0.3.1 documentation</title>
    <link rel="stylesheet" href="_static/nature.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.3.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-staticfiles v0.3.1 documentation" href="#" />
    <link rel="next" title="Management Commands" href="commands.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="commands.html" title="Management Commands"
             accesskey="N">next</a> |</li>
        <li><a href="#">django-staticfiles v0.3.1 documentation</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="django-staticfiles">
<h1>django-staticfiles<a class="headerlink" href="#django-staticfiles" title="Permalink to this headline">¶</a></h1>
<div class="section" id="id1">
<h2>django-staticfiles<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
<p>This is a Django app that provides helpers for serving static files.</p>
<p>The main website for django-staticfiles is
<a class="reference external" href="http://github.com/jezdez/django-staticfiles">github.com/jezdez/django-staticfiles</a> where you can also file tickets.</p>
<p>You can also install the <a class="reference external" href="http://github.com/jezdez/django-staticfiles/tarball/develop#egg=django-staticfiles-dev">in-development version</a> of django-staticfiles with
<tt class="docutils literal"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">django-staticfiles==dev</span></tt> or <tt class="docutils literal"><span class="pre">easy_install</span> <span class="pre">django-staticfiles==dev</span></tt>.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">When using <tt class="docutils literal"><span class="pre">django-staticfiles</span></tt> with your own apps, make sure
they can be found by Django&#8217;s app loading mechanism. Simply include
a <tt class="docutils literal"><span class="pre">models</span></tt> module (an empty <tt class="docutils literal"><span class="pre">models.py</span></tt> file suffices) and add the
app to the <tt class="docutils literal"><span class="pre">INSTALLED_APPS</span></tt> setting of your site.</p>
</div>
<p>Contents:</p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="commands.html">Management Commands</a><ul>
<li class="toctree-l2"><a class="reference internal" href="commands.html#build-static">build_static</a></li>
<li class="toctree-l2"><a class="reference internal" href="commands.html#resolve-static">resolve_static</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="helpers.html">Helpers</a><ul>
<li class="toctree-l2"><a class="reference internal" href="helpers.html#static-url-context-processor"><tt class="docutils literal"><span class="pre">static_url</span></tt> context processor</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers.html#serving-static-files-during-development">Serving static files during development</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="settings.html">Settings</a><ul>
<li class="toctree-l2"><a class="reference internal" href="settings.html#static-root"><tt class="docutils literal"><span class="pre">STATIC_ROOT</span></tt></a></li>
<li class="toctree-l2"><a class="reference internal" href="settings.html#static-url"><tt class="docutils literal"><span class="pre">STATIC_URL</span></tt></a></li>
<li class="toctree-l2"><a class="reference internal" href="settings.html#staticfiles-dirs"><tt class="docutils literal"><span class="pre">STATICFILES_DIRS</span></tt></a></li>
<li class="toctree-l2"><a class="reference internal" href="settings.html#staticfiles-prepend-label-apps"><tt class="docutils literal"><span class="pre">STATICFILES_PREPEND_LABEL_APPS</span></tt></a></li>
<li class="toctree-l2"><a class="reference internal" href="settings.html#staticfiles-media-dirnames"><tt class="docutils literal"><span class="pre">STATICFILES_MEDIA_DIRNAMES</span></tt></a></li>
<li class="toctree-l2"><a class="reference internal" href="settings.html#staticfiles-excluded-apps"><tt class="docutils literal"><span class="pre">STATICFILES_EXCLUDED_APPS</span></tt></a></li>
<li class="toctree-l2"><a class="reference internal" href="settings.html#staticfiles-storage"><tt class="docutils literal"><span class="pre">STATICFILES_STORAGE</span></tt></a></li>
<li class="toctree-l2"><a class="reference internal" href="settings.html#staticfiles-resolvers"><tt class="docutils literal"><span class="pre">STATICFILES_RESOLVERS</span></tt></a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="changelog.html">Changelog</a><ul>
<li class="toctree-l2"><a class="reference internal" href="changelog.html#v0-3-1-2010-08-21">v0.3.1 (2010-08-21)</a></li>
<li class="toctree-l2"><a class="reference internal" href="changelog.html#v0-3-0-2010-08-18">v0.3.0 (2010-08-18)</a></li>
<li class="toctree-l2"><a class="reference internal" href="changelog.html#v0-2-0-2009-11-25">v0.2.0 (2009-11-25)</a></li>
<li class="toctree-l2"><a class="reference internal" href="changelog.html#v0-1-2-2009-09-02">v0.1.2 (2009-09-02)</a></li>
<li class="toctree-l2"><a class="reference internal" href="changelog.html#v0-1-1-2009-09-02">v0.1.1 (2009-09-02)</a></li>
<li class="toctree-l2"><a class="reference internal" href="changelog.html#v0-1-0-2009-09-02">v0.1.0 (2009-09-02)</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
  <h3><a href="#">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">django-staticfiles</a><ul>
<li><a class="reference internal" href="#id1">django-staticfiles</a><ul>
</ul>
</li>
</ul>
</li>
</ul>

  <h4>Next topic</h4>
  <p class="topless"><a href="commands.html"
                        title="next chapter">Management Commands</a></p>
  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="_sources/index.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="commands.html" title="Management Commands"
             >next</a> |</li>
        <li><a href="#">django-staticfiles v0.3.1 documentation</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2010, Jannis Leidel.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.2.
    </div>
  </body>
</html>