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

Add data migrations for development #5

Open
ccpowers opened this issue Feb 1, 2020 · 1 comment
Open

Add data migrations for development #5

ccpowers opened this issue Feb 1, 2020 · 1 comment

Comments

@ccpowers
Copy link
Collaborator

ccpowers commented Feb 1, 2020

The app should have some initial data for testing and development, following the guide here:
https://docs.djangoproject.com/en/3.0/topics/migrations/#data-migrations

@bahmutov
Copy link
Collaborator

bahmutov commented Feb 1, 2020

I see the following message on docker startup

You have 34 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): account, actions_app, admin, auth, authtoken, contenttypes, corsheaders, sessions, sites, taggit.
web_1  | Run 'python manage.py migrate' to apply them.

Since I don't know Python and Django, I am not sure if these migrations were supposed to be done during docker-compose build or up step

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

No branches or pull requests

2 participants