Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 8d639b7573
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (13 sloc) 0.723 kb
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
admin.site.register(Plugin, PluginAdmin)
admin.site.register(PluginVersion, PluginVersionAdmin)
#admin.site.register(PluginCrashReport, PluginCrashReportAdmin)
Jump to Line
Something went wrong with that request. Please try again.