Advertisement
Law281

Other code

Feb 27th, 2017
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.90 KB | None | 0 0
  1.  
  2.  
  3. <!DOCTYPE html>
  4. <html lang="en">
  5. <head>
  6. <meta http-equiv="content-type" content="text/html; charset=utf-8">
  7. <title>Page not found at /blog/{% static&#39;css/bootstrap.min.css&#39;%}</title>
  8. <meta name="robots" content="NONE,NOARCHIVE">
  9. <style type="text/css">
  10. html * { padding:0; margin:0; }
  11. body * { padding:10px 20px; }
  12. body * * { padding:0; }
  13. body { font:small sans-serif; background:#eee; }
  14. body>div { border-bottom:1px solid #ddd; }
  15. h1 { font-weight:normal; margin-bottom:.4em; }
  16. h1 span { font-size:60%; color:#666; font-weight:normal; }
  17. table { border:none; border-collapse: collapse; width:100%; }
  18. td, th { vertical-align:top; padding:2px 3px; }
  19. th { width:12em; text-align:right; color:#666; padding-right:.5em; }
  20. #info { background:#f6f6f6; }
  21. #info ol { margin: 0.5em 4em; }
  22. #info ol li { font-family: monospace; }
  23. #summary { background: #ffc; }
  24. #explanation { background:#eee; border-bottom: 0px none; }
  25. </style>
  26. </head>
  27. <body>
  28. <div id="summary">
  29. <h1>Page not found <span>(404)</span></h1>
  30. <table class="meta">
  31. <tr>
  32. <th>Request Method:</th>
  33. <td>GET</td>
  34. </tr>
  35. <tr>
  36. <th>Request URL:</th>
  37. <td>http://127.0.0.1:8000/blog/%7B%25%20static&#39;css/bootstrap.min.css&#39;%25%7D</td>
  38. </tr>
  39.  
  40. </table>
  41. </div>
  42. <div id="info">
  43.  
  44. <p>
  45. Using the URLconf defined in <code>cms.urls</code>,
  46. Django tried these URL patterns, in this order:
  47. </p>
  48. <ol>
  49.  
  50. <li>
  51.  
  52. ^admin/
  53.  
  54.  
  55. </li>
  56.  
  57. <li>
  58.  
  59. ^blog/
  60.  
  61.  
  62. ^$
  63. [name='list_of_post']
  64.  
  65. </li>
  66.  
  67. <li>
  68.  
  69. ^blog/
  70.  
  71.  
  72. ^(?P&lt;slug&gt;[-\w]+)/$
  73. [name='post_detail']
  74.  
  75. </li>
  76.  
  77. <li>
  78.  
  79. ^blog/
  80.  
  81.  
  82. ^category/(?P&lt;category_slug&gt;[-\w]+)/$
  83. [name='list_of_post_by_category']
  84.  
  85. </li>
  86.  
  87. <li>
  88.  
  89. ^blog/
  90.  
  91.  
  92. ^(?P&lt;slug&gt;[-\w]+)/comment/$
  93. [name='add_comment']
  94.  
  95. </li>
  96.  
  97. </ol>
  98. <p>The current URL, <code>blog/{% static&#39;css/bootstrap.min.css&#39;%}</code>, didn't match any of these.</p>
  99.  
  100. </div>
  101.  
  102. <div id="explanation">
  103. <p>
  104. You're seeing this error because you have <code>DEBUG = True</code> in
  105. your Django settings file. Change that to <code>False</code>, and Django
  106. will display a standard 404 page.
  107. </p>
  108. </div>
  109. </body>
  110. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement