Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Conslidated Postgres update instructions and fixed wrapping convention issue.
Joshua Fialkoffa768e51d1fe5
diff --git a/docs/gettingstarted/installation-macos.rst b/docs/gettingstarted/installation-macos.rstindex 62d112ee5c..591805c2b0 100644--- a/docs/gettingstarted/installation-macos.rst+++ b/docs/gettingstarted/installation-macos.rst@@ -18,20 +18,6 @@ PostgreSQLSaleor needs PostgreSQL version 9.4 or above to work. Get the macOS installer from the `PostgreSQL download page <https://www.postgresql.org/download/macosx/>`_.-Then, create a new database and user. Make sure you keep track of the password you set for the administration account during installation.--.. code-block:: console-- $ psql postgres--and from the Postgres prompt:--.. code-block:: psql-- # CREATE ROLE saleor WITH LOGIN PASSWORD 'saleor' SUPERUSER;- # CREATE DATABASE saleor;--Command Line Tools for Xcode~~~~~~~~~~~~~~~~~~~~~~~~~~~~@@ -132,6 +118,7 @@ Installation.. code-block:: console+ $ createdb saleor$ createuser --superuser --pwprompt saleorEnter ``saleor`` when prompted for password.diff --git a/saleor/settings.py b/saleor/settings.pyindex f2b151309d..3c95ad33fe 100644--- a/saleor/settings.py+++ b/saleor/settings.py@@ -340,8 +340,8 @@ bootstrap4 = {TEST_RUNNER = ''-ALLOWED_HOSTS = get_list(os.environ.get('ALLOWED_HOSTS',- 'localhost,127.0.0.1'))+ALLOWED_HOSTS = get_list(+ os.environ.get('ALLOWED_HOSTS', 'localhost,127.0.0.1'))SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')