mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 13:17:50 +02:00
18 lines
424 B
Python
18 lines
424 B
Python
from django.contrib import admin
|
|
from metadata.models import Decoder, Manufacturer, Company
|
|
|
|
|
|
@admin.register(Decoder)
|
|
class DecoderAdmin(admin.ModelAdmin):
|
|
readonly_fields = ('image_thumbnail',)
|
|
|
|
|
|
@admin.register(Company)
|
|
class CompanyAdmin(admin.ModelAdmin):
|
|
readonly_fields = ('logo_thumbnail',)
|
|
|
|
|
|
@admin.register(Manufacturer)
|
|
class ManufacturerAdmin(admin.ModelAdmin):
|
|
readonly_fields = ('logo_thumbnail',)
|