view apps/bundle/views.py @ 4:069cabdaf8b2

Define stub template and admin site
author Jordi Gutiérrez Hermoso <jordigh@gmail.com>
date Fri, 25 Jun 2010 14:04:30 -0500
parents 3cef0d445036
children c83460992637
line wrap: on
line source

from django.template import Context, loader
from django.http import HttpResponse
from agora.apps.bundle.models import *

def detail(request, user, bundle):
    t = loader.get_template('bundle/index.djhtml')
    c = Context({
        'user': user,
        'bundle' : bundle,
    })
    return HttpResponse(t.render(c))