Skip to content

Commit

Permalink
Merge pull request #30 from HendrikPN/feature/image_admin_config
Browse files Browse the repository at this point in the history
Admin Model for ImageConfig
  • Loading branch information
HendrikPN authored Sep 10, 2019
2 parents 84830d0 + 3ad1e25 commit 21f7f8e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions scigym/config/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from django.contrib import admin

from .models import ImageConfig


@admin.register(ImageConfig)
class ImageConfigAdmin(admin.ModelAdmin):
list_display = ('valid_image_formats',)

fields = ('valid_image_formats',)

0 comments on commit 21f7f8e

Please sign in to comment.