from django.contrib import admin
from .models import Shop,ShopSlider,LoginSlider
# Register your models here.
class ShopAdmin(admin.ModelAdmin):
    list_display = ['title','url','status','created']
    class Meta:
        models = Shop
        
class ShopSliderAdmin(admin.ModelAdmin):
    list_display = ['title','image','status','created']
    class Meta:
        models = ShopSlider

class LoginSliderAdmin(admin.ModelAdmin):
    list_display = ['title','image','status','created']
    class Meta:
        models = LoginSlider

admin.site.register(Shop,ShopAdmin)
admin.site.register(ShopSlider,ShopSliderAdmin)
admin.site.register(LoginSlider,LoginSliderAdmin)

from django.contrib import admin
from .models import Shop,ShopSlider,LoginSlider
# Register your models here.
class ShopAdmin(admin.ModelAdmin):
    list_display = ['title','url','status','created']
    class Meta:
        models = Shop
        
class ShopSliderAdmin(admin.ModelAdmin):
    list_display = ['title','image','status','created']
    class Meta:
        models = ShopSlider

class LoginSliderAdmin(admin.ModelAdmin):
    list_display = ['title','image','status','created']
    class Meta:
        models = LoginSlider

admin.site.register(Shop,ShopAdmin)
admin.site.register(ShopSlider,ShopSliderAdmin)
admin.site.register(LoginSlider,LoginSliderAdmin)

# Register your models here.