2018-01-04 20:20:30 +01:00
|
|
|
from django.contrib import admin
|
|
|
|
|
2022-02-05 16:18:00 +01:00
|
|
|
from .models import Category, Partition, PartitionSet, SetList
|
|
|
|
|
2020-09-10 15:06:53 +02:00
|
|
|
|
2022-01-18 15:36:04 +01:00
|
|
|
class PartitionAdmin(admin.ModelAdmin):
|
2022-02-05 16:18:00 +01:00
|
|
|
list_filter = ("morceau",)
|
|
|
|
|
|
|
|
|
2020-09-10 15:06:53 +02:00
|
|
|
admin.site.register(Category)
|
|
|
|
admin.site.register(PartitionSet)
|
2022-01-06 00:27:53 +01:00
|
|
|
admin.site.register(SetList)
|
2022-02-05 16:18:00 +01:00
|
|
|
admin.site.register(Partition, PartitionAdmin)
|