Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (14 sloc) 649 Bytes
# Create your views here.
from django.core.context_processors import csrf
from django.shortcuts import render_to_response
from django.template import RequestContext
from django.http import HttpResponse, HttpResponseRedirect
from presentations.slideshare.models import Slideshare
def demo(request):
"""docstring for about"""
return render_to_response('slideshare/demo.html')
def show(request, object_id):
"""Show a presentation"""
#return HttpResponse("Show a presentation: " + object_id)
pres = Slideshare.objects.get(id=int(object_id))
return render_to_response('slideshare/presentation.html', {'pres':pres})
Jump to Line
Something went wrong with that request. Please try again.