from django.contrib import admin
from  store.product import Product
from  store.category import Category
class AdminProduct(admin.ModelAdmin):
    list_display = ['name' , 'price' , 'category']

class AdminCategory(admin.ModelAdmin):
    list_display = ['name']

# Register your models here.
admin.site.register(Product , AdminProduct)
admin.site.register(Category , AdminCategory)