fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
be more robust
[wolnelektury.git]
/
apps
/
social
/
admin.py
diff --git
a/apps/social/admin.py
b/apps/social/admin.py
index
298638a
..
f32f426
100755
(executable)
--- a/
apps/social/admin.py
+++ b/
apps/social/admin.py
@@
-7,4
+7,8
@@
from django.contrib import admin
from social.models import Cite
-admin.site.register(Cite)
+class CiteAdmin(admin.ModelAdmin):
+ list_display = ['text', 'vip', 'small']
+
+
+admin.site.register(Cite, CiteAdmin)