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

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

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
 
    def convert_bans(self):
        print "Converting bans"
        for ban in WakabaBan.objects.all():
            b = DeniedIP(ip=ban.ip, reason=ban.reason)
            b.by_id = 1

src/c/h/chieftain-HEAD/modpanel/views.py   chieftain(Download)
from django.contrib.auth.decorators import login_required
from django.shortcuts import render
from board.models import Wordfilter, DeniedIP
from board.shortcuts import add_sidebar
 

src/c/h/chieftain-HEAD/board/middleware.py   chieftain(Download)
 
from api1.views import SettingView, FeedView, HideView
from board.models import DeniedIP
 
__all__ = [