2👍
✅
Possible causes:
-
(Git) You forgot to
git add
files in theconceptCalendar
branch, and they are still lying around when youcheckout
master
. -
(Python) You have stale
.pyc
files in your project. Remove them. -
(Django) You forgot to
makemigrations
in theconceptCalendar
branch -
(Django) You ran
migrate
on theconceptCalendar
branch, your database schema has changed, but now the code onmaster
reflects the old schema. Rebuild your database, or migrate backwards.
I’m betting my money on this last point. From the error you posted, i’m thinking that maybe a Form
is extending ModelForm
for a Model
that changed in the other branch. Check that all fields exist in the underlying model, and in the database.
Source:stackexchange.com