from django.contrib import admin
from .models import tour, tour_banner, imagenes
# Register your models here.

class PropertyImageInline(admin.TabularInline):
    model = imagenes
    
class ToursAdmin(admin.ModelAdmin):
    inlines = [ PropertyImageInline, ]
    readonly_fields = ('creacion', 'actualizacion')

admin.site.register(tour, ToursAdmin)
admin.site.register(tour_banner)
f86651221bfefab9784129fc14a47d25c5ae7377
<mask token>


class ToursAdmin(admin.ModelAdmin):
    inlines = [PropertyImageInline]
    readonly_fields = 'creacion', 'actualizacion'


<mask token>

<mask token>


class PropertyImageInline(admin.TabularInline):
    model = imagenes


class ToursAdmin(admin.ModelAdmin):
    inlines = [PropertyImageInline]
    readonly_fields = 'creacion', 'actualizacion'


<mask token>

<mask token>


class PropertyImageInline(admin.TabularInline):
    model = imagenes


class ToursAdmin(admin.ModelAdmin):
    inlines = [PropertyImageInline]
    readonly_fields = 'creacion', 'actualizacion'


admin.site.register(tour, ToursAdmin)
admin.site.register(tour_banner)

from django.contrib import admin
from .models import tour, tour_banner, imagenes


class PropertyImageInline(admin.TabularInline):
    model = imagenes


class ToursAdmin(admin.ModelAdmin):
    inlines = [PropertyImageInline]
    readonly_fields = 'creacion', 'actualizacion'


admin.site.register(tour, ToursAdmin)
admin.site.register(tour_banner)

from django.contrib import admin
from .models import tour, tour_banner, imagenes
# Register your models here.

class PropertyImageInline(admin.TabularInline):
    model = imagenes
    
class ToursAdmin(admin.ModelAdmin):
    inlines = [ PropertyImageInline, ]
    readonly_fields = ('creacion', 'actualizacion')

admin.site.register(tour, ToursAdmin)
admin.site.register(tour_banner)