mirror of
https://github.com/omaha-consulting/winget.pro.git
synced 2026-10-24 12:52:26 +00:00
Simplify VersionAdmin
This commit is contained in:
+1
-1
@@ -74,7 +74,7 @@ class VersionAdmin(ModelAdmin):
|
||||
inlines = (InstallerInline,)
|
||||
list_display = ('created', 'modified', 'package', 'version')
|
||||
list_display_links = ('created', 'modified', 'version')
|
||||
list_filter = ('package__name', 'package__publisher')
|
||||
list_filter = ('package', )
|
||||
|
||||
def get_queryset(self, request):
|
||||
qs = super().get_queryset(request)
|
||||
|
||||
Reference in New Issue
Block a user