1 # -*- coding: utf-8 -*-
2 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
3 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
5 from django.contrib import admin
6 from picture.models import Picture
7 from sorl.thumbnail.admin import AdminImageMixin
10 class PictureAdmin(AdminImageMixin, admin.ModelAdmin):
13 admin.site.register(Picture, PictureAdmin)