Skip to content

Commit

Permalink
autocomplete in foreignkey and m2m
Browse files Browse the repository at this point in the history
  • Loading branch information
sudan45 committed Dec 21, 2023
1 parent f543f81 commit d531f35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/assisted_tagging/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@

@admin.register(DraftEntry)
class DraftEntryAdmin(VersionAdmin):
search_fields = ['lead']
list_display = [
'lead',
'prediction_status',
'excerpt',
]
autocomplete_fields = ('project', 'lead', 'related_geoareas',)


@admin.register(AssistedTaggingPrediction)
Expand Down

0 comments on commit d531f35

Please sign in to comment.