You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
410 B
Python

from django.contrib import admin
from .models import Download, Platform, Version
# Register your models here.
class VersionAdmin(admin.ModelAdmin):
list_display = ('download', 'platform', 'version', 'latest', 'available')
list_filter = ('download__name', 'platform__name', 'latest', 'available')
admin.site.register(Download)
admin.site.register(Platform)
admin.site.register(Version, VersionAdmin)