Buckets:
| from django.contrib import admin | |
| from .models import SimulationMethod, SimulationRun | |
| class SimulationMethodAdmin(admin.ModelAdmin): | |
| list_display = ['name', 'slug', 'is_active', 'created_at'] | |
| list_filter = ['is_active', 'created_at'] | |
| search_fields = ['name', 'description'] | |
| prepopulated_fields = {'slug': ('name',)} | |
| class SimulationRunAdmin(admin.ModelAdmin): | |
| list_display = ['id', 'method', 'status', 'progress', 'created_at', 'completed_at'] | |
| list_filter = ['status', 'method', 'created_at'] | |
| search_fields = ['name'] | |
| raw_id_fields = ['method'] | |
| readonly_fields = [ | |
| 'status', 'progress', 'logs', 'result_data', | |
| 'error_message', 'started_at', 'completed_at' | |
| ] | |
Xet Storage Details
- Size:
- 782 Bytes
- Xet hash:
- 7b8494a226a3bb010bf2866c8469d229c56928bad6993f9026ebbf48f77a8d0b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.