Did I find the right examples for you? yes no

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

src/b/c/Bcfg2-1.3.4/src/lib/Bcfg2/Server/Hostbase/hostbase/admin.py   Bcfg2(Download)
from django.contrib import admin
 
from models import Host, Interface, IP, MX, Name, CName, Nameserver, ZoneAddress, Zone, Log, ZoneLog
 
admin.site.register(Host)
admin.site.register(Interface)
admin.site.register(IP)

src/b/c/bcfg2-HEAD/src/lib/Bcfg2/Server/Hostbase/hostbase/admin.py   bcfg2(Download)
from django.contrib import admin
 
from models import Host, Interface, IP, MX, Name, CName, Nameserver, ZoneAddress, Zone, Log, ZoneLog
 
admin.site.register(Host)
admin.site.register(Interface)
admin.site.register(IP)

src/t/r/triaquae-HEAD/TriAquae/hosts/views.py   triaquae(Download)
from django.core.exceptions import ObjectDoesNotExist
from models import Devinfo, Check_Devinfo, ServerStatus, DevForm
from models import Group,IP,RemoteUser,OpsLog,OpsLogTemp,TriaquaeUser,AuthByIpAndRemoteUser,QuickLink
#from models import *
 

src/b/c/bcfg2-old-HEAD/src/lib/Server/Hostbase/hostbase/admin.py   bcfg2-old(Download)
from django.contrib import admin
 
from models import Host, Interface, IP, MX, Name, CName, Nameserver, ZoneAddress, Zone, Log, ZoneLog
 
admin.site.register(Host)
admin.site.register(Interface)
admin.site.register(IP)

src/t/r/triaquae-HEAD/TriAquae/hosts/admin.py   triaquae(Download)
	list_display = ('link_name','url','color')
admin.site.register(models.Idc)
admin.site.register(models.IP, admin_ip.IpAdmin)
admin.site.register(models.Group, admin_ip.GroupAdmin)
admin.site.register(models.RemoteUser, admin_user.RemoteUserAdmin)

src/d/j/django-webbugger-0.11-distutils/webbugger/admin.py   django-webbugger(Download)
from django.contrib import admin
from models import Beacon, IPEntity, IP
 
class BeaconAdmin(admin.ModelAdmin):
    list_display = ('id', 'source', 'target', 'entity')
 
admin.site.register(Beacon, BeaconAdmin)
admin.site.register(IPEntity)
admin.site.register(IP)

src/d/j/django-webbugger-HEAD/webbugger/admin.py   django-webbugger(Download)
from django.contrib import admin
from models import Beacon, IPEntity, IP
 
class BeaconAdmin(admin.ModelAdmin):
    list_display = ('id', 'source', 'target', 'entity')
 
admin.site.register(Beacon, BeaconAdmin)
admin.site.register(IPEntity)
admin.site.register(IP)