Better management of manually-set members.
[wolnelektury.git] / src / picture / admin.py
1 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
3 #
4 from django.contrib import admin
5 from picture.models import Picture
6 from sorl.thumbnail.admin import AdminImageMixin
7
8
9 class PictureAdmin(AdminImageMixin, admin.ModelAdmin):
10     pass
11
12 admin.site.register(Picture, PictureAdmin)