mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-11-05 06:13:55 +01:00
Update admin
This commit is contained in:
parent
5e8010d9c6
commit
725c097ec7
1 changed files with 11 additions and 2 deletions
|
@ -108,11 +108,20 @@ class CharacterAdmin(admin.ModelAdmin):
|
|||
),
|
||||
("Vitalité", {"fields": ["health_max", "health_remaining"]}),
|
||||
("Défense", {"fields": ["armor", "shield", "defense_misc", "defense"]}),
|
||||
("Armes & équipement", {"fields": ["weapons", "equipment"]}),
|
||||
(
|
||||
"Armes & équipement",
|
||||
{
|
||||
"fields": [
|
||||
"weapons",
|
||||
"equipment",
|
||||
("money_pp", "money_po", "money_pa", "money_pc"),
|
||||
]
|
||||
},
|
||||
),
|
||||
("Race", {"fields": ["racial_capability"]}),
|
||||
("Capacités", {"fields": ["capabilities"]}),
|
||||
("Chance", {"fields": ["luck_points_max", "luck_points_remaining"]}),
|
||||
("Mana", {"fields": ["mana_max", "mana_consumed", "mana_remaining"]}),
|
||||
("Mana", {"fields": ["mana_max", "mana_remaining"]}),
|
||||
("Notes", {"fields": ["notes"]}),
|
||||
]
|
||||
readonly_fields = [
|
||||
|
|
Loading…
Reference in a new issue