mirror of
https://github.com/Labelbase/Labelbase.git
synced 2026-08-13 12:33:23 +02:00
21 lines
357 B
Python
21 lines
357 B
Python
from __future__ import unicode_literals
|
|
|
|
from django.contrib.contenttypes.admin import GenericStackedInline
|
|
|
|
|
|
|
|
from django.contrib import admin
|
|
from .models import LabelAttachment
|
|
from .models import Attachment
|
|
|
|
class AttachmentInlines(GenericStackedInline):
|
|
model = Attachment
|
|
exclude = ()
|
|
extra = 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin.site.register(LabelAttachment)
|