Did I find the right examples for you? yes no

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

src/p/g/pgweb-HEAD/pgweb/downloads/admin.py   pgweb(Download)
 
from util.admin import PgwebAdmin
from models import StackBuilderApp, Mirror, Category, Product, LicenceType
 
class MirrorAdmin(admin.ModelAdmin):

src/a/r/archweb-HEAD/mirrors/views.py   archweb(Download)
from django_countries.data import COUNTRIES
 
from .models import (Mirror, MirrorUrl, MirrorProtocol, MirrorLog,
        CheckLocation)
from .utils import get_mirror_statuses, get_mirror_errors, DEFAULT_CUTOFF

src/a/r/archweb-HEAD/mirrors/admin.py   archweb(Download)
from django.contrib import admin
 
from .models import (Mirror, MirrorProtocol, MirrorUrl, MirrorRsync,
        CheckLocation)
 

src/o/p/opps-HEAD/opps/containers/admin.py   opps(Download)
from django.conf import settings
 
from .models import Container, ContainerImage, Mirror
from .models import ContainerBox, ContainerBoxContainers
from .forms import ContainerBoxContainersInlineForm

src/o/p/opps-0.2.4/opps/containers/admin.py   opps(Download)
from django.conf import settings
 
from .models import Container, ContainerImage, Mirror
from .models import ContainerBox, ContainerBoxContainers
from .forms import ContainerBoxContainersInlineForm

src/p/g/pgweb-HEAD/pgweb/downloads/views.py   pgweb(Download)
from pgweb.util.misc import get_client_ip, varnish_purge, version_sort
 
from models import Mirror, Category, Product, StackBuilderApp
from forms import ProductForm
 

src/o/p/opps-HEAD/opps/containers/tasks.py   opps(Download)
def check_all_mirror_channel():
    from .models import Container, Mirror
 
    mirror = Container.objects.all().exclude(mirror_channel=None)
    for obj in mirror: