aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/pluginwriter/database.rst
diff options
context:
space:
mode:
authorBen Sturmfels <ben@sturm.com.au>2016-09-18 00:48:32 +1000
committerBoris Bobrov <breton@cynicmansion.ru>2016-09-18 16:28:22 +0300
commit9650aa394bcb5f3b6f8a9c9e9b68a81fe77a41a7 (patch)
tree69297fa52f43b93efb2400649f2ab4cde12fb177 /docs/source/pluginwriter/database.rst
parent821686372ccb18f508f20a1764236174c009573c (diff)
downloadmediagoblin-9650aa394bcb5f3b6f8a9c9e9b68a81fe77a41a7.tar.lz
mediagoblin-9650aa394bcb5f3b6f8a9c9e9b68a81fe77a41a7.tar.xz
mediagoblin-9650aa394bcb5f3b6f8a9c9e9b68a81fe77a41a7.zip
Spell-check the entire documentation.
Diffstat (limited to 'docs/source/pluginwriter/database.rst')
-rw-r--r--docs/source/pluginwriter/database.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/source/pluginwriter/database.rst b/docs/source/pluginwriter/database.rst
index c0698a24..90c2cee3 100644
--- a/docs/source/pluginwriter/database.rst
+++ b/docs/source/pluginwriter/database.rst
@@ -24,7 +24,7 @@ Accessing Existing Data
=======================
If your plugin wants to access existing data, this is quite
-straight forward. Just import the appropiate models and use
+straight forward. Just import the appropriate models and use
the full power of SQLAlchemy. Take a look at the (upcoming)
database section in the Developer's Chapter.
@@ -134,13 +134,13 @@ plugin's models.py and then run::
./bin/gmg alembic --with-plugins revision \
--head REVISION_HERE \
--autogenerate \
- -m "YOUR_PLUGIN_NAME: Change explaination here."
+ -m "YOUR_PLUGIN_NAME: Change explanation here."
Once again, this will dump the migration into the wrong place, so move
to your plugin's migrations directory. Open the file, adjust
accordingly, and read carefully! Now you should also test your
-migration with some real data. Be sure to test it both on sqlite
-*AND* on postgresql!
+migration with some real data. Be sure to test it both on SQLite
+*AND* on PostgreSQL!
One last *very critical* note: you must never, never modify core
tables with your plugin. To do that is to put you and all your users