Changeset View
Changeset View
Standalone View
Standalone View
looper/admin/__init__.py
| Show First 20 Lines • Show All 700 Lines • ▼ Show 20 Lines | fields = ( | ||||
| 'status', | 'status', | ||||
| 'version', | 'version', | ||||
| 'details', | 'details', | ||||
| ) | ) | ||||
| readonly_fields = fields | readonly_fields = fields | ||||
| date_hierarchy = 'created_at' | date_hierarchy = 'created_at' | ||||
| search_fields = ('authentication_id', 'payment_method__token') | search_fields = ('authentication_id', 'payment_method__token') | ||||
| list_filter = ('gateway', 'authentication_type', 'consumed_at') | list_filter = ('gateway', 'authentication_type', 'consumed_at') | ||||
| # Include reports, which are custom admin views | |||||
| import looper.admin.reports # noqa: F401,E402 | |||||