from django.contrib import admin
from daily_edition.models import Person, Alias, Site

class AliasInline(admin.TabularInline):
    model = Alias
    extra = 1

class SiteInline(admin.TabularInline):
    model = Site
    exclude = ('last_update',)
    extra = 1

class PersonAdmin(admin.ModelAdmin):
    search_fields = ['name']
    inlines = [SiteInline, AliasInline]

admin.site.register(Person, PersonAdmin)

7563e46c92a94ab3d28b09c8aef876cd149cc2e5
<mask token>


class SiteInline(admin.TabularInline):
    model = Site
    exclude = 'last_update',
    extra = 1


class PersonAdmin(admin.ModelAdmin):
    search_fields = ['name']
    inlines = [SiteInline, AliasInline]


<mask token>

<mask token>


class AliasInline(admin.TabularInline):
    model = Alias
    extra = 1


class SiteInline(admin.TabularInline):
    model = Site
    exclude = 'last_update',
    extra = 1


class PersonAdmin(admin.ModelAdmin):
    search_fields = ['name']
    inlines = [SiteInline, AliasInline]


<mask token>

<mask token>


class AliasInline(admin.TabularInline):
    model = Alias
    extra = 1


class SiteInline(admin.TabularInline):
    model = Site
    exclude = 'last_update',
    extra = 1


class PersonAdmin(admin.ModelAdmin):
    search_fields = ['name']
    inlines = [SiteInline, AliasInline]


admin.site.register(Person, PersonAdmin)

from django.contrib import admin
from daily_edition.models import Person, Alias, Site


class AliasInline(admin.TabularInline):
    model = Alias
    extra = 1


class SiteInline(admin.TabularInline):
    model = Site
    exclude = 'last_update',
    extra = 1


class PersonAdmin(admin.ModelAdmin):
    search_fields = ['name']
    inlines = [SiteInline, AliasInline]


admin.site.register(Person, PersonAdmin)

from django.contrib import admin
from daily_edition.models import Person, Alias, Site

class AliasInline(admin.TabularInline):
    model = Alias
    extra = 1

class SiteInline(admin.TabularInline):
    model = Site
    exclude = ('last_update',)
    extra = 1

class PersonAdmin(admin.ModelAdmin):
    search_fields = ['name']
    inlines = [SiteInline, AliasInline]

admin.site.register(Person, PersonAdmin)
