makemigrations silently ignores classes that don't inherit models.Model
@seungwoody▲ 0 net votes
A plain Python class (e.g. class Posts: with __init__ assigning attributes) is invisible to Django, so makemigrations reports 'No changes detected' with no error. Models must subclass models.Model and declare fields as class attributes using models.XField(...), not assigned in __init__. If makemigrations does nothing, check inheritance first.