Debian Codegraph @

django_comments/templates/comments/400-debug.html

raw symbols SCIP
1 <!DOCTYPE html>
2 <html 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 <
9 !
10 [CDATA[
11 html * {
12 padding: 0;
13 margin: 0;
14 }
15
16 body * {
17 padding: 10px 20px;
18 }
19
20 body * * {
21 padding: 0;
22 }
23
24 body {
25 font: small sans-serif;
26 background: #eee;
27 }
28
29 body > div {
30 border-bottom: 1px solid #ddd;
31 }
32
33 h1 {
34 font-weight: normal;
35 margin-bottom: .4em;
36 }
37
38 h1 span {
39 font-size: 60%;
40 color: #666;
41 font-weight: normal;
42 }
43
44 table {
45 border: none;
46 border-collapse: collapse;
47 width: 100%;
48 }
49
50 td, th {
51 vertical-align: top;
52 padding: 2px 3px;
53 }
54
55 th {
56 width: 12em;
57 text-align: right;
58 color: #666;
59 padding-right: .5em;
60 }
61
62 #info {
63 background: #f6f6f6;
64 }
65
66 #info ol {
67 margin: 0.5em 4em;
68 }
69
70 #info ol li {
71 font-family: monospace;
72 }
73
74 #summary {
75 background: #ffc;
76 }
77
78 #explanation {
79 background: #eee;
80 border-bottom: 0px none;
81 }
82
83 ]
84 ]
85 >
86 </style>
87 </head>
88 <body>
89 <div id="summary">
90 <h1>Comment post not allowed <span>(400)</span></h1>
91 <table class="meta">
92 <tr>
93 <th>Why:</th>
94 <td>{{ why }}</td>
95 </tr>
96 </table>
97 </div>
98 <div id="info">
99 <p>
100 The comment you tried to post to this view wasn't saved because something
101 tampered with the security information in the comment form. The message
102 above should explain the problem, or you can check the <a
103 href="http://docs.djangoproject.com/en/dev/ref/contrib/comments/">comment
104 documentation</a> for more help.
105 </p>
106 </div>
107
108 <div id="explanation">
109 <p>
110 You're seeing this error because you have <code>DEBUG = True</code> in
111 your Django settings file. Change that to <code>False</code>, and Django
112 will display a standard 400 error page.
113 </p>
114 </div>
115 </body>
116 </html>