Skip to content

Commit

Permalink
Hit dice is specifically blank, all other creatures are ok.
Browse files Browse the repository at this point in the history
  • Loading branch information
augustjohnson committed Oct 24, 2024
1 parent d997b3a commit 007b847
Show file tree
Hide file tree
Showing 4 changed files with 426 additions and 361 deletions.
18 changes: 18 additions & 0 deletions api_v2/migrations/0012_alter_creature_subcategory.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 5.1.2 on 2024-10-24 14:17

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('api_v2', '0011_merge_20241022_1426'),
]

operations = [
migrations.AlterField(
model_name='creature',
name='subcategory',
field=models.CharField(blank=True, help_text='What subcategory this creature belongs to.', max_length=100, null=True),
),
]
1 change: 1 addition & 0 deletions api_v2/models/creature.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class Creature(Object, HasAbilities, HasSenses, HasLanguage, HasSpeed, FromDocum

subcategory = models.CharField(
max_length=100,
blank=True,
null=True,
help_text='What subcategory this creature belongs to.'
)
Expand Down
Loading

0 comments on commit 007b847

Please sign in to comment.