diff options
author | hardythe1 | 2013-11-27 16:08:58 +0530 |
---|---|---|
committer | hardythe1 | 2013-11-27 16:08:58 +0530 |
commit | fffd83ebcdef2853006af6aaf29771dea58b44b0 (patch) | |
tree | 6bcaf3782bd406ea7c22d6ebd7d59719f41e56a2 /website/admin.py | |
parent | 903fe1d0e56b8fa76f1790d08ecfe8fe180c596b (diff) | |
download | SciPy2013-fffd83ebcdef2853006af6aaf29771dea58b44b0.tar.gz SciPy2013-fffd83ebcdef2853006af6aaf29771dea58b44b0.tar.bz2 SciPy2013-fffd83ebcdef2853006af6aaf29771dea58b44b0.zip |
changes for reviewers to comment on abstracts
Diffstat (limited to 'website/admin.py')
-rw-r--r-- | website/admin.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/website/admin.py b/website/admin.py index 8f02a21..1f2fa58 100644 --- a/website/admin.py +++ b/website/admin.py @@ -1,9 +1,13 @@ from django.contrib import admin -from website.models import Paper +from website.models import Paper, Comment class PaperAdmin(admin.ModelAdmin): list_display = ('user', 'verified') +class CommentAdmin(admin.ModelAdmin): + list_display = ('comment', 'comment_by') + admin.site.register(Paper, PaperAdmin) +admin.site.register(Comment, CommentAdmin) |