fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix for when there are no students
[edumed.git]
/
chunks
/
admin.py
diff --git
a/chunks/admin.py
b/chunks/admin.py
index
614e4e8
..
5bdbddc
100644
(file)
--- a/
chunks/admin.py
+++ b/
chunks/admin.py
@@
-1,3
+1,4
@@
+# -*- coding: utf-8 -*-
from django.contrib import admin
from chunks.models import Chunk, Attachment
from django.contrib import admin
from chunks.models import Chunk, Attachment
@@
-14,4
+15,4
@@
class AttachmentAdmin(admin.ModelAdmin):
list_display = ('key',)
search_fields = ('key',)
list_display = ('key',)
search_fields = ('key',)
-admin.site.register(Attachment, AttachmentAdmin)
\ No newline at end of file
+admin.site.register(Attachment, AttachmentAdmin)