mirror of
https://github.com/Labelbase/Labelbase.git
synced 2026-08-13 12:33:23 +02:00
11 lines
228 B
Python
11 lines
228 B
Python
from django.contrib import admin
|
|
|
|
from ...admin import AttachmentInlines
|
|
from .models import TestModel
|
|
|
|
|
|
class TestModelAdmin(admin.ModelAdmin):
|
|
inlines = [AttachmentInlines]
|
|
|
|
|
|
admin.site.register(TestModel, TestModelAdmin)
|