Template
Clients can run in-house retail without Shopify while keeping the same Docker/Django/Postgres stack and data-ownership promise. Closes #5.
11 lines
304 B
Python
11 lines
304 B
Python
from django.contrib import admin
|
|
|
|
from shipping.models import Shipment
|
|
|
|
|
|
@admin.register(Shipment)
|
|
class ShipmentAdmin(admin.ModelAdmin):
|
|
list_display = ("order", "status", "carrier", "tracking_number")
|
|
list_filter = ("status", "carrier")
|
|
search_fields = ("tracking_number", "order__number")
|