We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This appears to be possible and somewhat useful, though a little non-obvious given that it doesn't have migrations already generated.
In case it's useful, the steps I used were (approximately):
createdb testsite # (ask Postgres to create a bootstrap DB for the site) export TEST_DATABASE_NAME=testsite tests/testsite/manage.py makemigrations photofeed polls turtles tests/testsite/manage.py migrate tests/testsite/manage.py shell --command ' import datetime from polls.models import Question Question.objects.create(question_text="Who are you?", pub_date=datetime.datetime.now()) ' tests/testsite/manage.py devdata_export TEST_DATABASE_NAME=testsite_import tests/testsite/manage.py devdata_import
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This appears to be possible and somewhat useful, though a little non-obvious given that it doesn't have migrations already generated.
In case it's useful, the steps I used were (approximately):
The text was updated successfully, but these errors were encountered: