blank index.html
This commit is contained in:
parent
e55e78ba2d
commit
b66fee16d0
4 changed files with 15 additions and 0 deletions
3
static/robots.txt
Normal file
3
static/robots.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
User-agent: *
|
||||
Disallow: /
|
||||
|
1
urls.py
1
urls.py
|
@ -7,6 +7,7 @@ admin.autodiscover()
|
|||
|
||||
|
||||
urlpatterns = patterns('',
|
||||
(r'^$', 'views.index'),
|
||||
# Example:
|
||||
# (r'^', include('texts.foo.urls')),
|
||||
|
||||
|
|
BIN
urls.pyc
BIN
urls.pyc
Binary file not shown.
11
views.py
Normal file
11
views.py
Normal file
|
@ -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")
|
||||
|
Loading…
Reference in a new issue