from django.contrib import admin from .models import Apartament, Photo admin.site.register(Apartament) admin.site.register(Photo)