handle _escaped_fragment_ requests, not returning anything usefull for now

This commit is contained in:
j 2010-09-19 21:21:12 +02:00
commit 2293928ac9
2 changed files with 15 additions and 0 deletions

View file

@ -8,12 +8,16 @@ from oxdjango.shortcuts import json_response, render_to_json_response, get_objec
import models
from backend.views import html_snapshot
def intro(request):
context = RequestContext(request, {'settings':settings})
return render_to_response('intro.html', context)
def index(request):
context = RequestContext(request, {'settings':settings})
if request.GET.get('_escaped_fragment_', None):
return html_snapshot(request)
return render_to_response('index.html', context)
def timeline(request):