12👍
✅
You are getting the error because the migration you are trying to run, weather.0001_initial
, depends on a migration machines.0006_auto_20150921_1327
which does not exist.
If you can’t find the missing migration file, you’ll have to delete and recreate the migrations for the weather
app, so that they don’t depend on the missing migration.
0👍
You are getting this error because you are missing the
__init__.py
file in your migrations folder.
For me, it worked after adding this file.
- How to generate presigned S3 urls using django-storages?
- IntegrityError: null value in column "city_id " violates not-null constraint
- How to translate function names in the Django admin?
- Best way to add additional fields to django-rest-framework ModelViewSet when create
- Modulus/Modulo equivalent operator/function in django templates?
Source:stackexchange.com