Skip to content

Commit

Permalink
Added note on allowed host in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
noirbizarre committed Oct 19, 2013
1 parent 54fa883 commit 81e72c1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ Add ``djangojs.urls`` to your root ``URL_CONF``:
)
.. note::

Be sure to set the `settings.ALLOWED_HOSTS`_ properly (especially on Django 1.5+).
If not, you will have HTTP 500 errors.


Documentation
=============

Expand All @@ -77,3 +83,5 @@ Indices and tables
* :ref:`modindex`
* :ref:`search`


.. _settings.ALLOWED_HOSTS: https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts

0 comments on commit 81e72c1

Please sign in to comment.