]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
docs: Document how to access SQL console
authorStephen Finucane <stephen@that.guru>
Tue, 13 Jun 2017 10:06:20 +0000 (11:06 +0100)
committerStephen Finucane <stephen@that.guru>
Wed, 14 Jun 2017 08:34:31 +0000 (09:34 +0100)
Signed-off-by: Stephen Finucane <stephen@that.guru>
docs/development/installation.rst

index d73bb8b509bcc88e06bc8b0ca5b459477032a4c6..70d3145f1b6060f0dbb67002fef0d0e0e990f873 100644 (file)
@@ -47,6 +47,12 @@ To run `django-manage` commands, such as `createsuperuser` or `migrate`, run:
 
    $ docker-compose run --rm web python manage.py createsuperuser
 
+To access the SQL command-line client, run:
+
+.. code-block:: shell
+
+   $ docker-compose run --rm web python manage.py dbshell
+
 To run unit tests, excluding Selenium UI interaction tests, using only the
 package versions installed during container initialization, run: