Commit 4235c2c721bfe21dabbf6a5fd279f30d9587bf1f
1 parent
ee80e328
Added LexicalUnitExamples to the admin page.
Showing
1 changed file
with
5 additions
and
3 deletions
semantics/admin.py
1 | 1 | from django.contrib import admin |
2 | 2 | |
3 | -from models import FramePosition, SemanticRole, SelectivePreferenceRelations, \ | |
4 | - SemanticRolesDisplay, GeneralSelectivePreference | |
3 | +from models import FramePosition, GeneralSelectivePreference, LexicalUnitExamples, \ | |
4 | + SelectivePreferenceRelations, SemanticRole, SemanticRolesDisplay | |
5 | + | |
5 | 6 | |
6 | 7 | |
7 | 8 | class SemanticRoleAdmin(admin.ModelAdmin): |
8 | 9 | search_fields = ('role',) |
9 | 10 | |
10 | -admin.site.register(GeneralSelectivePreference) | |
11 | 11 | admin.site.register(FramePosition) |
12 | +admin.site.register(GeneralSelectivePreference) | |
13 | +admin.site.register(LexicalUnitExamples) | |
12 | 14 | admin.site.register(SelectivePreferenceRelations) |
13 | 15 | admin.site.register(SemanticRolesDisplay) |
14 | 16 | admin.site.register(SemanticRole, SemanticRoleAdmin) |
... | ... |