Re: missing field after makemigrations

2022-06-20 Thread andrew snyder
Thanks, that did the trick. Should I make a feature request that django throw an error whenever a field type has no real type? >>> type(models.SmallIntegerField()) >>> type(models.SmallIntegerField) On Monday, June 20, 2022 at 10:53:37 AM UTC-4 moheb@gmail.com wrote: > Hi, > The reason w

Re: missing field after makemigrations

2022-06-20 Thread Moheb Mithani
Hi, The reason why "rank" is missing is because you didn't use round brackets "(" ")". It should be "models.SmallIntegerField()" not "models.SmallIntegerField". On Monday, June 20, 2022 at 7:12:58 PM UTC+5 a...@dancingjars.com wrote: > There is something in my models.py that breaks makemigratio

missing field after makemigrations

2022-06-20 Thread andrew snyder
There is something in my models.py that breaks makemigrations. The field "rank" is missing from "CharacterSkill". Also, if I uncomment any of the three classes that refer to "Character" the "game" and "player" fields become separate items in the migrations file. -- You received this message b