Created
October 29, 2022 15:31
-
-
Save KabakiAntony/1ca0c97482dd2c8c54e6e827aca404d8 to your computer and use it in GitHub Desktop.
this will be products admin file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.contrib import admin | |
from tonyonline.admin import tonyonline_admin_site | |
from .models import Product, ProductImage, Category | |
tonyonline_admin_site.register(Product) | |
tonyonline_admin_site.register(ProductImage) | |
tonyonline_admin_site.register(Category) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment