Source

django-cms-mycmsproject-toporojo / cms / test_utils / project / sampleapp / admin.py

Full commit
from cms.admin.placeholderadmin import PlaceholderAdmin
from django.contrib import admin
from cms.test_utils.project.sampleapp.models import Picture, Category

class PictureInline(admin.StackedInline):
    model = Picture

class CategoryAdmin(PlaceholderAdmin):
    inlines = [PictureInline]

admin.site.register(Category, CategoryAdmin)