fnp
/
wolnelektury.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
set limit for search heap,
[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)