Did I find the right examples for you? yes no

All Samples(6)  |  Call(0)  |  Derive(0)  |  Import(6)

src/s/o/SoL-3.0a15/src/sol/views/tourney.py   SoL(Download)
from . import get_request_logger
from ..i18n import translatable_string as _, translator
from ..models import (
    Competitor,
    DBSession,

src/s/c/sc2tourney-HEAD/brackets/views.py   sc2tourney(Download)
from django.shortcuts import get_object_or_404, render, redirect
from .models import Player, Tournament, Bracket, Round, Match
from django.views.decorators.http import require_POST
from django.http import HttpResponse
from sc2match.forms import MatchUpload

src/s/c/sc2tourney-HEAD/brackets/admin.py   sc2tourney(Download)
from django.contrib import admin
from .models import Player, Tournament, Bracket, Round, Match
 
 
class PlayerAdmin(admin.ModelAdmin):

src/s/c/sc2tourney-HEAD/brackets/management/commands/create_tournament.py   sc2tourney(Download)
from django.core.management.base import LabelCommand
from ...models import Tournament, Bracket, Round, Match
 
 
class Command(LabelCommand):

src/c/h/churnalism_us-HEAD/apiproxy/admin.py   churnalism_us(Download)
from django import forms
from django.db.models import Count
from django.contrib import admin
from django.utils.safestring import mark_safe
from .models import SearchDocument, MatchedDocument, Match, IncorrectTextReport

src/s/c/sc2tourney-HEAD/sc2match/admin.py   sc2tourney(Download)
from django.contrib import admin
from .models import Match, PlayerResult, Map
 
class MatchAdmin(admin.ModelAdmin):
    list_display = ['id', '__unicode__']