| from django.contrib import admin | |
| from .models import Sweep, SweepTrial | |
| class SweepAdmin(admin.ModelAdmin): | |
| list_display = [ | |
| "name", | |
| "project", | |
| "status", | |
| "algorithm", | |
| "pruner", | |
| "direction", | |
| "created_at", | |
| ] | |
| list_filter = ["status", "algorithm", "pruner", "project"] | |
| search_fields = ["name"] | |
| class SweepTrialAdmin(admin.ModelAdmin): | |
| list_display = [ | |
| "sweep", | |
| "trial_number", | |
| "status", | |
| "objective_value", | |
| "is_pareto", | |
| "created_at", | |
| ] | |
| list_filter = ["sweep", "status"] | |
Xet Storage Details
- Size:
- 652 Bytes
- Xet hash:
- ce0affff463d20c22ec4741a6aac943c71fcf6197055d64f84cdc4517d5188b4
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.