Skip to content

Instantly share code, notes, and snippets.

@wwj718 wwj718/django_404.html Secret
Created Oct 26, 2013

What would you like to do?
django 404错误,不要继承base.html,不然无法渲染
<!DOCTYPE html>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" >
<link rel="stylesheet" href="/static/css/bootstrap2.3.1.min.css">
<link rel="stylesheet" href="/static/css/bootstrap-responsive.min.css">
<script src="/static/js/jquery-1.8.2.min.js"></script>
<script src="/static/js/bootstrap.min.js"></script>
<style type="text/css" media="screen">
#main #header h1 {
color: #0061A5;
display: block;
font: 72px 'TeXGyreScholaBold',Arial,sans-serif;
position: relative;
text-align: center;
text-shadow: 2px 2px #F7F7F7;
<div id="main">
<header id="header">
<h1><span class="icon">!</span>404</h1>
<h1><span class="sub">page not found :-(</span></h1>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.