Commit a3db7415 authored by Jamesie Pic's avatar Jamesie Pic

Proposal admin usability

parent c7e57b30
......@@ -12,16 +12,10 @@ class DossierAdmin(admin.ModelAdmin):
class ProposalAdmin(admin.ModelAdmin):
list_display = (
search_fields = ('reference', 'dossier__reference', 'title', 'fingerprint')
def dossier_reference(self, obj):
import autocomplete_light.shortcuts as al
from .models import Proposal
al.register(Proposal, search_fields=['title'])
......@@ -16,7 +16,6 @@ setup(
'console_scripts': [
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