Docs: Fix pre-commit formatting issues
This commit is contained in:
parent
66b3945f66
commit
068366b0e9
3 changed files with 22 additions and 22 deletions
|
|
@ -208,10 +208,10 @@ previous page.
|
|||
|
||||
.. warning::
|
||||
|
||||
The ``init-db`` command will run the ``schema.sql`` file, which starts by
|
||||
dropping the existing ``user`` and ``post`` tables. **Running this command
|
||||
will permanently delete any existing data in your database.** Only run it
|
||||
when you are setting up the project for the first time or if you intentionally
|
||||
The ``init-db`` command will run the ``schema.sql`` file, which starts by
|
||||
dropping the existing ``user`` and ``post`` tables. **Running this command
|
||||
will permanently delete any existing data in your database.** Only run it
|
||||
when you are setting up the project for the first time or if you intentionally
|
||||
want to start over with an empty database.
|
||||
|
||||
Run the ``init-db`` command:
|
||||
|
|
@ -224,4 +224,4 @@ Run the ``init-db`` command:
|
|||
There will now be a ``flaskr.sqlite`` file in the ``instance`` folder in
|
||||
your project.
|
||||
|
||||
Continue to :doc:`views`.
|
||||
Continue to :doc:`views`.
|
||||
|
|
|
|||
|
|
@ -73,9 +73,9 @@ will read from if it exists. Copy the generated value into it.
|
|||
SECRET_KEY = '192b9bdd22ab9ed4d12e236c78afcb9a393ec15f71bbf5dc987d54727823bcbf'
|
||||
|
||||
.. warning::
|
||||
Never commit the file containing your production ``SECRET_KEY`` to version
|
||||
control. Ensure that your ``.gitignore`` file excludes the ``instance/``
|
||||
folder and the specific ``config.py`` file to prevent leaking your secret
|
||||
Never commit the file containing your production ``SECRET_KEY`` to version
|
||||
control. Ensure that your ``.gitignore`` file excludes the ``instance/``
|
||||
folder and the specific ``config.py`` file to prevent leaking your secret
|
||||
key to a public repository.
|
||||
|
||||
You can also set any other necessary configuration here, although
|
||||
|
|
@ -114,4 +114,4 @@ servers and deployment options that you may choose for your project.
|
|||
|
||||
.. _Waitress: https://docs.pylonsproject.org/projects/waitress/en/stable/
|
||||
|
||||
Continue to :doc:`next`.
|
||||
Continue to :doc:`next`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue