Skip to content

Commit

Permalink
added 404, 500 templates, fixed imports for apache
Browse files Browse the repository at this point in the history
  • Loading branch information
compsoc committed May 17, 2010
1 parent 9fcdd60 commit 8bf2bd9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion techmeetup/settings.py
Expand Up @@ -67,7 +67,7 @@
'django.contrib.auth.middleware.AuthenticationMiddleware',
)

ROOT_URLCONF = 'techmeetup.urls'
ROOT_URLCONF = 'urls'

TEMPLATE_DIRS = (
os.path.join(TECHMEETUP_DIR, "templates"),
Expand Down
4 changes: 4 additions & 0 deletions techmeetup/templates/404.html
@@ -0,0 +1,4 @@
{% extends "base.html" %}
{% block content %}
<h1>Lol</h1>
{% endblock content %}
4 changes: 4 additions & 0 deletions techmeetup/templates/500.html
@@ -0,0 +1,4 @@
{% extends "base.html" %}
{% block content %}
<h1>Lol</h1>
{% endblock content %}
2 changes: 1 addition & 1 deletion techmeetup/templates/base.html
Expand Up @@ -2,7 +2,7 @@
<head>
<meta charset="utf-8" />
<link href="/static/css/desktop.css" rel="stylesheet" type="text/css" media="screen" />
<title>{% block title %}{% endblock title %}</title>
<title>{% block title %}Techmeetup{% endblock title %}</title>
{% block head %}{% endblock head %}
</head>

Expand Down

0 comments on commit 8bf2bd9

Please sign in to comment.