You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
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 do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Hi,
The reason why "rank" is missing is because you didn't use round brackets "(" ")". It should be "models.SmallIntegerField()" not "models.SmallIntegerField".
andrew snyder
unread,
Jun 20, 2022, 11:37:40 AM6/20/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Thanks, that did the trick. Should I make a feature request that django throw an error whenever a field type has no real type?