butler_ddochi/nhncloud/admin.py
icurfer ea11832a53
Some checks failed
Build And Test / build-and-push (push) Failing after 53s
init
2024-12-13 17:12:03 +09:00

14 lines
351 B
Python

from django.contrib import admin
from .models import Cluster
admin.site.register(Cluster)
# class CategoryAdmin(admin.ModelAdmin):
# prepopulated_fields = {'slug': ('name',)}
# class TagAdmin(admin.ModelAdmin):
# prepopulated_fields = {'slug': ('name',)}
# admin.site.register(Category, CategoryAdmin)
# admin.site.register(Tag, TagAdmin)