summaryrefslogtreecommitdiff
path: root/app/blog/views.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2012-10-14 22:26:39 -0400
committerluxagraf <sng@luxagraf.net>2012-10-14 22:26:39 -0400
commitfa869d1a60ff6f8c41cd7f2bf0e0964bff9ba9f1 (patch)
treef60ab325dbaf6a4dab443daa3f8fea84edba4a1d /app/blog/views.py
parent27e05eaae0dd829090749facc5e10ca0a7b9a5dc (diff)
converted publishing system to have buttons int the admin and reworked the config system
Diffstat (limited to 'app/blog/views.py')
-rw-r--r--app/blog/views.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/blog/views.py b/app/blog/views.py
index 72c769e..8d14fe3 100644
--- a/app/blog/views.py
+++ b/app/blog/views.py
@@ -9,7 +9,7 @@ from django.conf import settings
from blog.models import Entry, Topic
from locations.models import Region, Country
from photos.models import Photo, PhotoGallery
-from chunks.models import Chunk
+#from chunks.models import Chunk
def home(request):
featured = Entry.objects.filter(status__exact=1).select_related().latest()
@@ -71,10 +71,12 @@ def entry_list_by_area(request,slug,page):
return object_list(request, queryset=qs, template_name='archives/writing.html',
extra_context=context)
+"""
def about(request):
qs = Chunk.objects.filter(key__in=['about_top','about_middle','about_bottom'])
context = {
'object_list':qs,
'IMAGES_URL' : settings.IMAGES_URL
}
- return render_to_response('details/about.html', context, context_instance=RequestContext(request)) \ No newline at end of file
+ return render_to_response('details/about.html', context, context_instance=RequestContext(request))
+"""