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()) <class 'django.db.models.fields.SmallIntegerField'> >>> type(models.SmallIntegerField) <class 'type'> On Monday, June 20, 2022 at 10:53:37 AM UTC-4 moheb....@gmail.com wrote: > 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 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 because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/95d842e9-534a-407a-b1c6-a632602c46aan%40googlegroups.com.