from django.contrib import admin

from .models import Lang


@admin.register(Lang)
class LangAdmin(admin.ModelAdmin):
    """Языки"""
    list_display = ("name", "slug")
    # prepopulated_fields = {"slug": ("name",)}
