forked from DGNum/gestiojeux
c01ed7cb47
Python: - black - isort (black profile) - ruff Nix: - statix - nixfmt-rfc-style - deadnix
7 lines
217 B
Python
7 lines
217 B
Python
from django.contrib import admin
|
|
|
|
|
|
class LoanAdmin(admin.ModelAdmin):
|
|
list_display = ("lent_object", "borrow_date", "return_date")
|
|
ordering = ("-borrow_date",)
|
|
list_filter = ("return_date", "borrow_date")
|