premises-rental/app/admin.py

20 строки
342 B
Python

from django.contrib import admin
from django.contrib.admin import ModelAdmin
from .models import Room, RoomImage, RoomPanorama
@admin.register(Room)
class ModelNameAdmin(ModelAdmin):
pass
@admin.register(RoomImage)
class ModelNameAdmin(ModelAdmin):
pass
@admin.register(RoomPanorama)
class ModelNameAdmin(ModelAdmin):
pass