from django.contrib import admin
from .models import ContactModel, ContactLink, About, Social


@admin.register(ContactModel)
class ContactModelAdmin(admin.ModelAdmin):
    list_display = ['id', 'name', 'email', 'website', 'create_at']
    list_display_links = ('name',)
    ordering = ('id',)


@admin.register(ContactLink)
class ContactModelAdmin(admin.ModelAdmin):
    list_display = ['id', 'name']
    list_display_links = ('name',)


admin.site.register(About)
admin.site.register(Social)

from django.contrib import admin
from .models import ContactModel, ContactLink, About, Social


@admin.register(ContactModel)
class ContactModelAdmin(admin.ModelAdmin):
    list_display = ['id', 'name', 'email', 'website', 'create_at']
    list_display_links = ('name',)
    ordering = ('id',)


@admin.register(ContactLink)
class ContactModelAdmin(admin.ModelAdmin):
    list_display = ['id', 'name']
    list_display_links = ('name',)


admin.site.register(About)
admin.site.register(Social)
