Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.9.0 #615

Merged
merged 24 commits into from
Dec 20, 2024
Merged

1.9.0 #615

Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
5972d28
Adding proficiencies/equipment into class def.
augustjohnson Nov 25, 2024
11e5757
Adding saving throws to model.
augustjohnson Nov 25, 2024
a506f77
Adding saving throws.
augustjohnson Nov 25, 2024
6729ba8
Fixing tests.
augustjohnson Nov 25, 2024
4803a0c
Adding passing tests.
augustjohnson Nov 25, 2024
fec2b1a
Ordering.
augustjohnson Nov 25, 2024
af56be2
Merge pull request #613 from open5e/540-api-v2-add-class-proficiencie…
augustjohnson Nov 25, 2024
7ead314
Adding caster type.
augustjohnson Nov 26, 2024
164a3c3
Lots of changes to support new table method.
augustjohnson Dec 1, 2024
386a7d8
Adding in column data.
augustjohnson Dec 14, 2024
928a69f
Adding proficiency bonus data.
augustjohnson Dec 15, 2024
6598bbf
Adding in wizard slots.
augustjohnson Dec 20, 2024
ee4458f
Adding sorc.
augustjohnson Dec 20, 2024
fd71917
Adding druid, fixing sorc error.
augustjohnson Dec 20, 2024
83dd0e9
Adding cleric.
augustjohnson Dec 20, 2024
2f24a06
Adding bard.
augustjohnson Dec 20, 2024
b2d17eb
Adding in ranger.
augustjohnson Dec 20, 2024
d9fd2aa
Adding paladin slots.
augustjohnson Dec 20, 2024
50257e2
An entire class should not be returned in the default spell.
augustjohnson Dec 20, 2024
94d6d48
Fixing tests, made a change to spell.
augustjohnson Dec 20, 2024
2fdc628
ordering problem.
augustjohnson Dec 20, 2024
65aba66
Restoring functionality related to class names.
augustjohnson Dec 20, 2024
b3a7553
Adding back tests which had failed.
augustjohnson Dec 20, 2024
779d62e
Merge pull request #614 from open5e/610-add-extra-column-to-class-tab…
augustjohnson Dec 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Adding in wizard slots.
augustjohnson committed Dec 20, 2024
commit 6598bbf2b07c05e64ccf0535f621bd06d5852c3b
10 changes: 9 additions & 1 deletion api_v2/admin.py
Original file line number Diff line number Diff line change
@@ -34,6 +34,14 @@ class RaceAdmin(admin.ModelAdmin):
RaceTraitInline,
]

class ClassFeatureItemInline(admin.TabularInline):
model = ClassFeatureItem

class ClassFeatureAdmin(admin.ModelAdmin):
inlines = [
ClassFeatureItemInline
]


class BackgroundBenefitInline(admin.TabularInline):
model = BackgroundBenefit
@@ -93,7 +101,7 @@ class LanguageAdmin(admin.ModelAdmin):
admin.site.register(Condition)

admin.site.register(ClassFeatureItem)
admin.site.register(ClassFeature)
admin.site.register(ClassFeature, admin_class=ClassFeatureAdmin)
admin.site.register(CharacterClass)

admin.site.register(Environment)
Loading