From ce6b3f16b989be6c78f4c01ef9bb95df40e2034f Mon Sep 17 00:00:00 2001 From: Artur Barseghyan Date: Sun, 17 Dec 2017 23:12:42 +0100 Subject: [PATCH] docs updated --- examples/simple/settings/test.py | 17 +++++++++++++++++ .../contrib/apps/drf_integration/README.rst | 1 + 2 files changed, 18 insertions(+) diff --git a/examples/simple/settings/test.py b/examples/simple/settings/test.py index c03406ce..9fb0c25b 100644 --- a/examples/simple/settings/test.py +++ b/examples/simple/settings/test.py @@ -93,3 +93,20 @@ elif versions.DJANGO_1_10: LOGGING = {} DEBUG_TOOLBAR = False + +DATABASES = { + 'default': { + # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. + 'ENGINE': 'django.db.backends.sqlite3', + # Or path to database file if using sqlite3. + 'NAME': PROJECT_DIR('../../db/example.db'), + # The following settings are not used with sqlite3: + 'USER': '', + 'PASSWORD': '', + # Empty for localhost through domain sockets or '127.0.0.1' for + # localhost through TCP. + 'HOST': '', + # Set to empty string for default. + 'PORT': '', + } +} diff --git a/src/fobi/contrib/apps/drf_integration/README.rst b/src/fobi/contrib/apps/drf_integration/README.rst index f1aafc4e..d5959fc8 100644 --- a/src/fobi/contrib/apps/drf_integration/README.rst +++ b/src/fobi/contrib/apps/drf_integration/README.rst @@ -29,6 +29,7 @@ they will be listed in the options action call. All content fields are of type - content_image - content_image_url +- content_richtext - content_text - content_video