summaryrefslogtreecommitdiffstats
path: root/sites/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'sites/views.py')
-rwxr-xr-xsites/views.py33
1 files changed, 0 insertions, 33 deletions
diff --git a/sites/views.py b/sites/views.py
deleted file mode 100755
index afb8548..0000000
--- a/sites/views.py
+++ /dev/null
@@ -1,33 +0,0 @@
-# Create your views here.
-from django.shortcuts import render_to_response, get_object_or_404
-from django.http import HttpResponse
-from django.contrib.sites.models import *
-from django.contrib.sites.models import *
-from django.conf import settings
-from django.contrib.flatpages.models import FlatPage
-from django.contrib.auth.models import User
-
-
-def all_activity(request):
- post_list= Flatpage.objects.all()
-
- return render_to_response('sites/directory.html', {'post_list': posts_list, 'a.site': blog})
-
-def index(request):
- return HttpResponse("Hello, world. You're at the sites index.")
-
-
-def one_flatpage(request, object_id):
- a = get_object_or_404(FlatPage,pk=object_id)
- return render_to_response('flatpages/default.html', {'a': flatpages, })
-
-def flatpages(request, object_id):
- a = get_object_or_404(Flatpage,pk=object_id)
- return render_to_response('flatpages/default.html', {'a': flatpages})
-
-def article_detail(request, object_id):
- a = get_object_or_404(Article,pk=object_id)
- return render_to_response('blog/one_blog.html', {'a': flatpages})
-
-
-