-
-
Notifications
You must be signed in to change notification settings - Fork 618
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
running migration problem #662
Comments
@ahmedelfateh This is happening because of https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field. If you started your project on Django 3.2 or newer, your settings.py file contains
but django push notifications uses AutoField. The fix would be to change the setting to:
or except the new migration. |
@jamaalscarlett Is there any reason why this migration can't just be included in the library at this point? Django 2 is not supported any longer, 3.2 is the oldest supported version, and it's LTS until April 2024. |
I too would prefer if the library just included the migration. I have no interest in a Django version lower than 3.2 and now every time I run |
@PureTryOut I will take a look at this tonight |
Any updates? |
any update? |
after setting up django_push_notification and adding push_notification to the app, I run the migration and this msg appere
and when run makemigrations, this appere
I am using the django~=3.2 / django-push-notifications==3.0.0
with python:3.8.12
what is the problem here?
The text was updated successfully, but these errors were encountered: