Commit 5a6384c3 authored by Michal Čihař's avatar Michal Čihař

Show plural form in admin interface

parent a789aa14
......@@ -2,7 +2,7 @@ from django.contrib import admin
from lang.models import Language
class LanguageAdmin(admin.ModelAdmin):
list_display = ['name', 'code']
list_display = ['name', 'code', 'get_plural_form']
search_fields = ['name', 'code']
admin.site.register(Language, LanguageAdmin)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment