Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (13 sloc) 723 Bytes
from plugins.models import Plugin, PluginVersion #, PluginCrashReport
from django.contrib.gis import admin
class PluginAdmin (admin.ModelAdmin):
list_filter = ('featured',)
list_display = ('name', 'featured', 'created_by', 'created_on', 'downloads', 'stable', 'experimental')
class PluginVersionAdmin (admin.ModelAdmin):
list_filter = ('experimental', 'approved', 'plugin')
list_display = ('plugin', 'approved', 'version', 'experimental', 'created_on', 'downloads')
#class PluginCrashReportAdmin(admin.ModelAdmin):
#pass, PluginAdmin), PluginVersionAdmin), PluginCrashReportAdmin)
Jump to Line
Something went wrong with that request. Please try again.