Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 0001_initial.py to add ordering meta options to HueySchedule a… #5

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

VBobCat
Copy link
Collaborator

@VBobCat VBobCat commented Jan 4, 2024

…nd HueyTask models

Adding ordering options to HueySchedule and HueyTask models according to its Meta configuration to prevent Django from showing the following alert upon running "manage.py migrate":
Your models in app(s): 'huey_django_orm' have changes that are not yet reflected in a migration, and so won't be applied.
Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.

…nd HueyTask models

Adding ordering options to HueySchedule and HueyTask models according to its Meta configuration to prevent Django from showing the following alert upon running "manage.py migrate":
    Your models in app(s): 'huey_django_orm' have changes that are not yet reflected in a migration, and so won't be applied.
    Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.
@avryhof
Copy link
Owner

avryhof commented Jan 4, 2024

This works. I should have checked in migrations in the first place, so this can actually be treated as a pluggable module.

@avryhof avryhof merged commit 617588d into avryhof:main Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants