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
When installing django-invitations in such a context and running python manage.py migrate we get the following message:
Your models in app(s): 'invitations' 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.
And running makemigrations would create a migration like this:
Hello,
Starting with Django 3.2, newly created projects will include the following line in
settings.py
:When installing
django-invitations
in such a context and runningpython manage.py migrate
we get the following message:And running
makemigrations
would create a migration like this:But, naturally, this migration would be created in the packages installation directory (usually a virtualenv). Which is undesirable behavior.
There are ways to patch this from outside the lib, but maybe it would be a good idea to modify
invitations/apps.py
to look like this:The text was updated successfully, but these errors were encountered: