fnp
/
wolnelektury.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
main page look minor fixes
[wolnelektury.git]
/
apps
/
picture
/
admin.py
1
2
from django.contrib import admin
3
from picture.models import Picture
4
from sorl.thumbnail.admin import AdminImageMixin
5
6
class PictureAdmin(AdminImageMixin, admin.ModelAdmin):
7
pass
8
9
admin.site.register(Picture, PictureAdmin)