generated from westfarn/web_django_template
Replaces the client_site template branding, adds shop/shipping, and points beta CI at master for easy deploy. Closes #1
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")
|