Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
stripe-checkout
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
geant-swd
stripe-checkout
Commits
b92d5c43
Commit
b92d5c43
authored
7 months ago
by
Pelle Koster
Browse files
Options
Downloads
Patches
Plain Diff
add price dumping and loading instructions to readme
parent
d4eef83b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+13
-1
13 additions, 1 deletion
README.md
with
13 additions
and
1 deletion
README.md
+
13
−
1
View file @
b92d5c43
...
...
@@ -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
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment