From b66fee16d015b6a48203842e1353252a824b80a1 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 28 Aug 2009 11:06:31 +0200 Subject: [PATCH] blank index.html --- static/robots.txt | 3 +++ urls.py | 1 + urls.pyc | Bin 709 -> 765 bytes views.py | 11 +++++++++++ 4 files changed, 15 insertions(+) create mode 100644 static/robots.txt create mode 100644 views.py diff --git a/static/robots.txt b/static/robots.txt new file mode 100644 index 0000000..6ffbc30 --- /dev/null +++ b/static/robots.txt @@ -0,0 +1,3 @@ +User-agent: * +Disallow: / + diff --git a/urls.py b/urls.py index d3655e7..575de3e 100644 --- a/urls.py +++ b/urls.py @@ -7,6 +7,7 @@ admin.autodiscover() urlpatterns = patterns('', + (r'^$', 'views.index'), # Example: # (r'^', include('texts.foo.urls')), diff --git a/urls.pyc b/urls.pyc index b80f84c930fd80dcf7c2d1f289ed8b08f78c2872..0cb5eb217c0f0fa8d8a6ef89014e3136e6adc8e8 100644 GIT binary patch delta 235 zcmX@g`j=Ju;wN6N>vN}jB{M()50G{M;^J)+rR^m77*g07Qh|ttA(Mk4laryDks*zV zp_zGNzJw14Ln;$PCJ#d^EncNKd0St_(Kn@#23JXID8(5TwA(NLOg&m|?EQNz1gApvs$B@FwV3x+r zkix})5aox7HZwDr15M3iWME9;W(d{*IV1D`#M`Em)ftO6Z)MbCl#u`maWM)o3ovpq VvvEo@b1`x<3Ntb@3NW%U0sshJAy)tZ diff --git a/views.py b/views.py new file mode 100644 index 0000000..5c2b39b --- /dev/null +++ b/views.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +# vi:si:et:sw=4:sts=4:ts=4 +# Written 2009 by j@mailb.org + +from django.shortcuts import render_to_response, get_object_or_404, get_list_or_404 +from django.template import RequestContext +from django.http import HttpResponse, HttpResponseRedirect, HttpResponseNotFound + +def index(request): + return render_to_response("index.html") +