PageRenderTime 67ms CodeModel.GetById 57ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/django/contrib/comments/templates/comments/400-debug.html

https://code.google.com/p/mango-py/
HTML | 55 lines | 54 code | 1 blank | 0 comment | 0 complexity | ee2b196bd3611ae9f33eeafafdd70ea2 MD5 | raw file
 1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 2<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
 3<head>
 4  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
 5  <title>Comment post not allowed (400)</title>
 6  <meta name="robots" content="NONE,NOARCHIVE" />
 7  <style type="text/css">
 8  <![CDATA[
 9    html * { padding:0; margin:0; }
10    body * { padding:10px 20px; }
11    body * * { padding:0; }
12    body { font:small sans-serif; background:#eee; }
13    body>div { border-bottom:1px solid #ddd; }
14    h1 { font-weight:normal; margin-bottom:.4em; }
15    h1 span { font-size:60%; color:#666; font-weight:normal; }
16    table { border:none; border-collapse: collapse; width:100%; }
17    td, th { vertical-align:top; padding:2px 3px; }
18    th { width:12em; text-align:right; color:#666; padding-right:.5em; }
19    #info { background:#f6f6f6; }
20    #info ol { margin: 0.5em 4em; }
21    #info ol li { font-family: monospace; }
22    #summary { background: #ffc; }
23    #explanation { background:#eee; border-bottom: 0px none; }
24  ]]>
25  </style>
26</head>
27<body>
28  <div id="summary">
29    <h1>Comment post not allowed <span>(400)</span></h1>
30    <table class="meta">
31      <tr>
32        <th>Why:</th>
33        <td>{{ why }}</td>
34      </tr>
35    </table>
36  </div>
37  <div id="info">
38    <p>
39    The comment you tried to post to this view wasn't saved because something
40    tampered with the security information in the comment form. The message
41    above should explain the problem, or you can check the <a
42    href="http://docs.djangoproject.com/en/dev/ref/contrib/comments/">comment
43    documentation</a> for more help.
44    </p>
45  </div>
46
47  <div id="explanation">
48    <p>
49      You're seeing this error because you have <code>DEBUG = True</code> in
50      your Django settings file. Change that to <code>False</code>, and Django
51      will display a standard 400 error page.
52    </p>
53  </div>
54</body>
55</html>