14 lines
351 B
Python
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)
|