Skip to content

Commit

Permalink
Fix unable to edit taxon in admin (#3496)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimasciput authored Sep 26, 2023
1 parent 1b4b001 commit 177e272
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bims/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -984,6 +984,11 @@ def merge_endemisms(self, request, queryset):

class TaxonImagesInline(admin.TabularInline):
model = TaxonImage
raw_id_fields = (
'survey',
'owner',
'uploader'
)


class TaxonomyAdminForm(forms.ModelForm):
Expand Down

0 comments on commit 177e272

Please sign in to comment.