mirror of
https://github.com/macports/macports-webapp.git
synced 2026-07-13 03:18:42 -07:00
14 lines
300 B
Python
14 lines
300 B
Python
from django.contrib import admin
|
|
|
|
from port.models import Port, Dependency
|
|
|
|
|
|
@admin.register(Port)
|
|
class Port(admin.ModelAdmin):
|
|
list_display = ("name", "version", "active", "replaced_by")
|
|
|
|
|
|
@admin.register(Dependency)
|
|
class Dependency(admin.ModelAdmin):
|
|
list_display = ("port_name", "type")
|