django-hoptoad/troubleshooting/index.html @ f1d02f8944b8
red-tape: Update site.
| author | Steve Losh <steve@stevelosh.com> |
|---|---|
| date | Tue, 13 Aug 2013 10:24:27 -0400 |
| parents | 50444dfe7265 |
| children | (none) |
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:foaf="http://xmlns.com/foaf/0.1/"> <head> <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" /> <title> django-hoptoad » Troubleshooting </title> <link rel="stylesheet" type="text/css" href="../media/css/reset.css" media="screen, projection" /> <link rel="stylesheet" type="text/css" href="../media/css/layout.css" media="screen, projection" /> <link rel="stylesheet" type="text/css" href="../media/css/typography.css" media="screen, projection" /> <link rel="stylesheet" type="text/css" href="../media/css/pygments.css" media="screen, projection" /> </head> <body > <div id="content"> <div id="breadcrumbs"> <p> <a href="../">index</a> » troubleshooting </p> </div> <!-- div#breadcrumbs --> <h1 id="troubleshooting">Troubleshooting</h1> <p>If things don't go smoothly, the first thing to do is run the tests to see if they can determine what's wrong. To enable the tests you'll need to add django-hoptoad to your <code>INSTALLED_APPS</code> setting:</p> <div class="codehilite"><pre><span class="n">INSTALLED_APPS</span> <span class="o">=</span> <span class="p">(</span> <span class="c1"># ... other apps ...</span> <span class="s">'hoptoad'</span><span class="p">,</span> <span class="c1"># ... other apps ...</span> <span class="p">)</span> </pre></div> <p>Once you've done that you can run the unit tests:</p> <div class="codehilite"><pre><span class="n">python</span> <span class="n">manage</span><span class="o">.</span><span class="n">py</span> <span class="n">test</span> <span class="n">hoptoad</span> </pre></div> <p><strong>NOTE</strong>: The unit tests are very simple at the moment. I'm working on more, but please feel free to submit ideas (or better yet: patches).</p> <p id="footer"> django-hoptoad — Powered by <a href="http://bitbucket.org/zacharyvoase/markdoc">Markdoc</a>. </p> </div> <!-- div#content --> </body> </html>