diff --git a/lang/admin.py b/lang/admin.py new file mode 100644 index 000000000..34c377310 --- /dev/null +++ b/lang/admin.py @@ -0,0 +1,10 @@ +from django.contrib import admin +from lang.models import Language + +class LanguageAdmin(admin.ModelAdmin): + list_display = ['name', 'code'] + search_fields = ['name', 'code'] + +admin.site.register(Language, LanguageAdmin) + +