1.7.11 Admin_Route add search_fields
This commit is contained in:
@@ -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']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user