Commit 9bf87cb4 authored by Jamesie Pic's avatar Jamesie Pic

Do not link to proposal

Admins don't have permission anyway.
parent 6b5d80fa
......@@ -37,7 +37,7 @@ class RecommendationsAdmin(admin.ModelAdmin):
return link_to_edit(self, 'proposal')
link_to_proposal.allow_tags = True
list_display = ('id', 'title', link_to_proposal, 'recommendation','weight')
list_display = ('id', 'title', 'proposal', 'recommendation','weight')
search_fields = ('title', 'recommendation', 'proposal')
form = ac.modelform_factory(Recommendation, exclude=[])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment