Exemplo n.º 1
0
def about(request):
    return direct_to_template(request, "about.html", {
       'breadcrumb': [ home, { 'title': "About" } ] 
    })
Exemplo n.º 2
0
def index(request):
    return direct_to_template(request, "index.html")
Exemplo n.º 3
0
def sandbox(request):
    return direct_to_template(request, "sandbox.html", {
      'text': "**bobby**",
    })
Exemplo n.º 4
0
def project_detail_dev(request, slug):
    proj = get_object_or_404(Project,slug=slug)
    return direct_to_template(request, "projects/project_detail_dev.html", {
       'breadcrumb': proj.dev_breadcrumb(),
       'project': proj
    })
Exemplo n.º 5
0
def section_detail(request, slug):
    ps = get_object_or_404(ProjectSection,slug=slug)
    return direct_to_template(request, "projects/category_detail.html", {
       'breadcrumb': ps.breadcrumb(),
       'section': ps
    })
Exemplo n.º 6
0
def index(request):
    return direct_to_template(request, "projects/index.html", {
       'breadcrumb': [ home, { 'title': "Projects" } ] 
    })