Skip to content

Commit

Permalink
Allow admin to edit images of environment
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikPN committed Oct 10, 2019
1 parent 02814e7 commit 33c3587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scigym/environments/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class EnvAdmin(admin.ModelAdmin):
date_hierarchy = 'last_updated'
list_display = ('name', 'description', 'scigym', 'repository', 'tags', 'topic', 'current_avatar')

fields = ('name', 'description', 'scigym')
fields = ('name', 'description', 'scigym', 'current_avatar')

search_fields = ['name', 'repository']

Expand Down

0 comments on commit 33c3587

Please sign in to comment.