admin.py 216 B

12345678910
  1. from django.contrib import admin
  2. from .models import Order, OrderGood
  3. @admin.register(Order)
  4. class OrderAdmin(admin.ModelAdmin):
  5. pass
  6. @admin.register(OrderGood)
  7. class OrderGoodAdmin(admin.ModelAdmin):
  8. pass