1.7.11 Admin_Route add search_fields

This commit is contained in:
SDE
2024-10-22 17:11:34 +03:00
parent a1c6db28a8
commit 774ee85f8d

View File

@@ -25,7 +25,7 @@ class Admin_Route(Admin_Trans_BaseModel):
]
search_fields = [
'owner__first_name', 'owner__last_name', 'from_city__name', 'to_city__name', 'owner_email'
'owner__first_name', 'owner__last_name', 'from_city__name', 'to_city__name', 'owner__email'
]
raw_id_fields = ['from_city', 'to_city']