Did I find the right examples for you? yes no

All Samples(54)  |  Call(1)  |  Derive(0)  |  Import(53)

src/n/s/nsupdate-0.6.0/nsupdate/main/views.py   nsupdate(Download)
from .forms import (CreateHostForm, EditHostForm, CreateDomainForm, EditDomainForm,
                    CreateUpdaterHostConfigForm, EditUpdaterHostConfigForm)
from .models import Host, Domain, ServiceUpdaterHostConfig
 
 
    def form_valid(self, form):
        self.object = form.save(commit=False)
        self.object.host = Host(pk=self.__host_pk)
        self.object.created_by = self.request.user
        self.object.save()

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)

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)

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)

src/c/o/confine-controller-0.10.5/controller/apps/mgmtnetworks/tinc/serializers.py   confine-controller(Download)
from nodes.models import Server, Node
 
from .models import (TincAddress, TincHost, TincClient, TincServer,
    Gateway, Host)
 

src/c/o/confine-controller-0.10.5/controller/apps/mgmtnetworks/tinc/permissions.py   confine-controller(Download)
from __future__ import absolute_import
 
from permissions import Permission, ReadOnlyPermission, AllowAllPermission
 
from .models import TincClient, TincServer, Host, Gateway, TincAddress

src/c/o/confine-controller-0.10.5/controller/apps/mgmtnetworks/tinc/admin.py   confine-controller(Download)
from .filters import MyHostsListFilter
from .forms import TincClientInlineForm, TincServerInlineForm
from .models import Host, TincClient, TincAddress, TincServer, Gateway
from . import settings
 

src/d/j/django-xadmin-HEAD/demo_app/app/adminx.py   django-xadmin(Download)
import xadmin
from xadmin import views
from models import IDC, Host, MaintainLog, HostGroup, AccessRecord
from xadmin.layout import Main, TabHolder, Tab, Fieldset, Row, Col, AppendedText, Side
from xadmin.plugins.inline import Inline

src/n/s/nsupdate-0.6.0/nsupdate/main/admin.py   nsupdate(Download)
from django.contrib import admin
 
from .models import Host, Domain, BlacklistedDomain, ServiceUpdater, ServiceUpdaterHostConfig
 
admin.site.register(BlacklistedDomain)

src/b/c/Bcfg2-1.3.4/src/lib/Bcfg2/Server/Hostbase/hostbase/urls.py   Bcfg2(Download)
from django.views.generic.list_detail import object_detail, object_list
 
from models import Host, Zone, Log
 
host_detail_dict = {

  1 | 2 | 3 | 4 | 5 | 6  Next