open5e/open5e-api

Switch v2 creature damage type to use model values.

Closed this issue · 2 comments

Currently:

def damage_type_field():
return models.CharField(
null=True,
max_length=20,
choices=DAMAGE_TYPES,
help_text='What kind of damage this attack deals.'
)

Choices should be based on the model objects in the Damage Type model.

Addressed in #425

This has been merged.