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 b80f84c..0cb5eb2 100644 Binary files a/urls.pyc and b/urls.pyc differ 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") +