Skip to content
Snippets Groups Projects
Commit b92d5c43 authored by Pelle Koster's avatar Pelle Koster
Browse files

add price dumping and loading instructions to readme

parent d4eef83b
No related branches found
No related tags found
No related merge requests found
......@@ -64,4 +64,16 @@ python manage-dev.py runserver
The django admin interface is enabled, so when running the development server you can browse to
`http://127.0.0.1:5000/admin` to login to the admin interface using the credentials you created
using the createsuperuser (or other valid credentials if connected to an existing database). Here
you can manage administrative users, priced items and other things.
\ No newline at end of file
you can manage administrative users, priced items and other things.
## Migrate price information to deployments
with the correct enviroment settings setup, it is possble to dump the latest price information by running from the source database:
```
django-admin dumpdata stripe_checkout.PricedItem |json_pp > prices.json
```
to load price information into the target database, run:
```
django-admin loaddata prices.json
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment