Did I find the right examples for you? yes no

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

src/d/j/djangoproject.com-HEAD/cla/admin.py   djangoproject.com(Download)
from __future__ import absolute_import
from django.contrib import admin
from .models import ICLA, CCLA, CCLADesignee
 
class ICLAAdmin(admin.ModelAdmin):
    inlines = [DesigneeInline]
 
admin.site.register(ICLA, ICLAAdmin)
admin.site.register(CCLA, CCLAAdmin)