from django.contrib import admin
from django.contrib.humanize.templatetags.humanize import intcomma
from .models import Property, PropertyImage
class PropertyImageInline(admin.TabularInline):
model = PropertyImage
extra = 1
class PropertyAdmin(admin.ModelAdmin):
prepopulated_fields = {"slug": ("address",)}
inlines = [PropertyImageInline]
Contact us for more information on this property or to schedule a viewing!