Commit 4657b5ff24cdd3d353ba00a7f37bbec7d4cd00ff
1 parent
ba16db47
Exists in
master
and in
5 other branches
Change mimetype models name #132
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
core/admin.py
1 | 1 | from django.contrib import admin |
2 | 2 | |
3 | -from .models import Action, Resource, Action_Resource, Log | |
3 | +from .models import Action, Resource, Action_Resource, Log, MimeType | |
4 | 4 | |
5 | 5 | class ActionAdmin(admin.ModelAdmin): |
6 | 6 | list_display = ['name', 'created_date'] |
... | ... | @@ -21,4 +21,5 @@ class LogAdmin(admin.ModelAdmin): |
21 | 21 | admin.site.register(Action, ActionAdmin) |
22 | 22 | admin.site.register(Resource, ResourceAdmin) |
23 | 23 | admin.site.register(Action_Resource, ActionResourceAdmin) |
24 | -admin.site.register(Log, LogAdmin) | |
25 | 24 | \ No newline at end of file |
25 | +admin.site.register(Log, LogAdmin) | |
26 | +admin.site.register(MimeType) | |
26 | 27 | \ No newline at end of file | ... | ... |