2023-05-10 13:19:19 +02:00
|
|
|
from django.contrib import admin
|
2023-05-10 09:02:59 +02:00
|
|
|
|
2023-05-10 13:19:19 +02:00
|
|
|
from test_app.models import TestModel
|
|
|
|
|
|
|
|
|
|
|
|
@admin.register(TestModel)
|
|
|
|
class TestModelAdmin(admin.ModelAdmin):
|
|
|
|
list_display = ("name", "description")
|