site-musique/timeline/admin.py
2019-09-01 16:02:36 +02:00

8 lines
152 B
Python

from django.contrib import admin
from .models import Timeline
@admin.register(Timeline)
class TimelineAdmin(admin.ModelAdmin):
ordering=["-date"]