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

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

src/c/h/chieftain-HEAD/api1/views.py   chieftain(Download)
        post.file = handle_uploaded_file(
            models.File(
                name=files.name, type=filetype, hash=m.hexdigest(),
                file=DjangoFile(files), image_height=0, image_width=0
            )

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
 
            else:
                file = File(
                    file=f, hash=wpost.image_md5, type_id=type_id,
                    image_width=wpost.image_width,
                    image_height=wpost.image_height

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

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