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

All Samples(7)  |  Call(2)  |  Derive(0)  |  Import(5)

src/c/h/chieftain-HEAD/api1/views.py   chieftain(Download)
    if not thread:
        section = models.Section.objects.get(slug=section)
        thread_o = models.Thread(section=section, bump=post.date)
    else:
        thread_o = models.Thread.objects.get(id=thread)

src/c/h/chieftain-HEAD/converter/models.py   chieftain(Download)
from django.db import models, connections, transaction
from django.utils.html import strip_tags as strip_html_tags
from board.models import Thread, Post, File, FileType, Section, DeniedIP
from board.tools import get_key, print_flush
 
        if first_post:
            post.is_op_post = True
            thread = Thread()
            thread.section_id = self.section_map[slug]
            for f in ("is_closed", "is_pinned"):

src/p/g/pgBoardUnchained-HEAD/board/views.py   pgBoardUnchained(Download)
 
# Local App
from board.models import Forum, Thread, Post, User, UserProfile
 
# Create your views here.

src/c/h/chieftain-HEAD/board/management/commands/truncate.py   chieftain(Download)
from django.core.management.base import BaseCommand
 
from board.models import Thread, Post, File
 
 

src/c/h/chieftain-HEAD/board/management/commands/rebuild_cache.py   chieftain(Download)
 
from board.tools import print_flush
from board.models import Thread, Post
 
 

src/c/h/chieftain-HEAD/converter/management/commands/wakaba_convert.py   chieftain(Download)
#!/usr/bin/env python
# encoding: utf-8
from django.core.management.base import BaseCommand
from board.models import Thread
from converter.models import WakabaInitializer, WakabaConverter, WakabaPost