You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have django project has quite sophisticated build pipeline with many checks in place (lints, code formatting, unit tests).
One of them is checking for any apps that are in a state with missing migrations, the actual management command is this:
python manage.py makemigrations --check --dry-run
My job fails, because there are apparently migrations to be added:
Migrations for 'hitcount':
.virtualenvs/ve/lib/python3.10/site-packages/hitcount/migrations/0005_alter_blacklistip_id_alter_blacklistuseragent_id_and_more.py
- Alter field id on blacklistip
- Alter field id on blacklistuseragent
- Alter field id on hit
- Alter field content_type on hitcount
- Alter field id on hitcount
Not sure if it's because someone forgot them or if it's related to newer version of django. Either way this should be explored and migrations added.
That leads me to another point and that is - I haven't found simple way, how to setup development for hitcount. I haven't found a way to run makemigrations for hitcount without some hacks to module search path.
Is there a document on how to actually develop things?
The text was updated successfully, but these errors were encountered:
I have django project has quite sophisticated build pipeline with many checks in place (lints, code formatting, unit tests).
One of them is checking for any apps that are in a state with missing migrations, the actual management command is this:
My job fails, because there are apparently migrations to be added:
Not sure if it's because someone forgot them or if it's related to newer version of django. Either way this should be explored and migrations added.
That leads me to another point and that is - I haven't found simple way, how to setup development for hitcount. I haven't found a way to run makemigrations for hitcount without some hacks to module search path.
Is there a document on how to actually develop things?
The text was updated successfully, but these errors were encountered: