12 lines
281 B
Python
12 lines
281 B
Python
|
from django.contrib import admin
|
||
|
from ordered_model.admin import OrderedModelAdmin
|
||
|
|
||
|
from sdbs_infra.dashboard.models import Service
|
||
|
|
||
|
|
||
|
class ServiceAdmin(OrderedModelAdmin):
|
||
|
list_display = ('short_name', 'url', 'move_up_down_links')
|
||
|
|
||
|
|
||
|
admin.site.register(Service, ServiceAdmin)
|