Skip to content

Commit

Permalink
Merge pull request django-salesforce#151 from django-salesforce/rst-t…
Browse files Browse the repository at this point in the history
…esting

Travis now checks the syntax of the README.rst file
  • Loading branch information
philchristensen committed Feb 21, 2016
2 parents b08c06d + 7d6a669 commit 3597d1d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ cache:
- $HOME/.pip-cache/
before_install:
- "pip install setuptools_git"
- "pip install rstcheck"
install:
- pip install tox
script:
- rstcheck README.rst
- echo -e "SF_PK = 'Id'" > salesforce/testrunner/local_settings.py
- tox -r
11 changes: 5 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,11 @@ Quick Start
handwritting all admin classes. (Foreign keys to huge tables in the production
require customized admins e.g. with search widgets.)
10. **(optional)** By default, the Django ORM connects to all DBs at startup. To delay SFDC connections until they are actually required, define ``SF_LAZY_CONNECT`` in your settings file::
SF_LAZY_CONNECT = True # default is False

Be careful when using this setting; since it won't fail during the application boot, it's
possible for a bad password to be sent repeatedly, requiring an account reset to fix.
10. **(optional)** By default, the Django ORM connects to all DBs at startup. To delay
SFDC connections until they are actually required, define ``SF_LAZY_CONNECT=True``
in your settings file. Be careful when using this setting; since it won't fail during
the application boot, it's possible for a bad password to be sent repeatedly,
requiring an account reset to fix.

Primary Key
-----------
Expand Down

0 comments on commit 3597d1d

Please sign in to comment.