blob: 9d12aaa6beeb6b5a376b5de81dc52b45b995077f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
from django.shortcuts import render_to_response
from django.template import RequestContext
#from src.build import builder as src_builder
from pages.build import builder as page_builder
def do_build(request):
section = request.GET.get('id', '')
context = {}
if section == 'pages':
context = {'message': 'Writing Pages to Disk'}
page_builder()
return render_to_response('admin/message.html', context)
|