Skip to content

Commit 81e72c1

Browse files
committed
Added note on allowed host in documentation
1 parent 54fa883 commit 81e72c1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/index.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ Add ``djangojs.urls`` to your root ``URL_CONF``:
5252
)
5353
5454
55+
.. note::
56+
57+
Be sure to set the `settings.ALLOWED_HOSTS`_ properly (especially on Django 1.5+).
58+
If not, you will have HTTP 500 errors.
59+
60+
5561
Documentation
5662
=============
5763

@@ -77,3 +83,5 @@ Indices and tables
7783
* :ref:`modindex`
7884
* :ref:`search`
7985

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

0 commit comments

Comments
 (0)