[Requirements] update to latest Pillow=3.0.0
[mygpo.git] / mygpo / usersettings / admin.py
blob6e158c52cc9231b3662133f0d0bcf218ed3b80ba
1 from django.contrib import admin
3 from mygpo.usersettings.models import UserSettings
6 @admin.register(UserSettings)
7 class PodcastConfigAdmin(admin.ModelAdmin):
9 # configuration for the list view
10 list_display = ('user', 'content_object', )
12 # fetch the related objects for the fields in list_display
13 list_select_related = ('user', 'content_object', )
15 raw_id_fields = ('user', )