Initial commit
[copyspeak.git] / src / words / admin.py
1 from django.contrib import admin
2 from .models import Word
3
4 class WordAdmin(admin.ModelAdmin):
5     list_display = ('word', 'alignment')
6     list_filter = ('alignment',)
7     prepopulated_fields = {"slug": ("word",)}
8
9 admin.site.register(Word, WordAdmin)