Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (14 sloc) 525 Bytes
from presentations.slideshare.models import Slideshare
from django.contrib import admin
class SlideshareAdmin(admin.ModelAdmin):
"""Admin class for Slideshare. """
fieldsets = (
(None, {
'fields': ('title', 'url', 'width', 'height', 'abstract', 'date_posted')
}),
('Advanced Settings', {
'classes': ('collapse',),
'fields': ('presentationurl', 'thumbnailurl', 'creator')
}),
)
admin.site.register(Slideshare, SlideshareAdmin)