Exemple #1
0
def about(request):
    return direct_to_template(request, "about.html", {
       'breadcrumb': [ home, { 'title': "About" } ] 
    })
Exemple #2
0
def index(request):
    return direct_to_template(request, "index.html")
Exemple #3
0
def sandbox(request):
    return direct_to_template(request, "sandbox.html", {
      'text': "**bobby**",
    })
Exemple #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
    })
Exemple #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
    })
Exemple #6
0
def index(request):
    return direct_to_template(request, "projects/index.html", {
       'breadcrumb': [ home, { 'title': "Projects" } ] 
    })