Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(3)  |  Derive(0)  |  Import(1)

src/c/h/chieftain-HEAD/board/views.py   chieftain(Download)
from django.core.paginator import Paginator
from django.shortcuts import render, get_object_or_404, redirect
from django.utils.translation import ugettext_lazy as _
from board.models import Post, File, Section, PostForm
from board.shortcuts import get_page_or_404, add_sidebar
        "threads": t,
        "section": s,
        "form": PostForm()
    }))
 
        "threads": section.op_posts(),
        "section": section,
        "form": PostForm(),
    }))
 
    return render(request, "section_thread.html", add_sidebar({
        "thread": thread,
        "form": PostForm(),
    }))