Merge branch 'admin_reviews' into 'master'
Add reviews to admin interface See merge request !21
This commit is contained in:
commit
89cafa8aa1
1 changed files with 11 additions and 1 deletions
12
vendor/symposion/reviews/admin.py
vendored
12
vendor/symposion/reviews/admin.py
vendored
|
@ -1,6 +1,6 @@
|
||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
|
|
||||||
from symposion.reviews.models import NotificationTemplate, ProposalResult, ResultNotification
|
from symposion.reviews.models import NotificationTemplate, ProposalResult, ResultNotification, Review
|
||||||
|
|
||||||
|
|
||||||
admin.site.register(
|
admin.site.register(
|
||||||
|
@ -18,3 +18,13 @@ admin.site.register(
|
||||||
)
|
)
|
||||||
|
|
||||||
admin.site.register(ResultNotification)
|
admin.site.register(ResultNotification)
|
||||||
|
|
||||||
|
admin.site.register(
|
||||||
|
Review,
|
||||||
|
list_display=[
|
||||||
|
'proposal',
|
||||||
|
'user',
|
||||||
|
'vote',
|
||||||
|
'submitted_at',
|
||||||
|
]
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in a new issue