Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
dac09007
Commit
dac09007
authored
May 09, 2013
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Documennt ALLOWED_HOSTS setting (fixes #282).
parent
30baaf18
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
docs/install.rst
docs/install.rst
+11
-0
weblate/settings_example.py
weblate/settings_example.py
+3
-0
No files found.
docs/install.rst
View file @
dac09007
...
...
@@ -118,6 +118,17 @@ options:
.. seealso:: https://docs.djangoproject.com/en/1.4/ref/settings/#admins
``ALLOWED_HOSTS``
If you are running Django 1.5 or newer, you need to set this to list of
hosts your site is supposed to serve. For example:
.. code-block:: python
ALLOWED_HOSTS = ['demo.weblate.org']
.. seealso:: https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-ALLOWED_HOSTS
``DATABASES``
Connectivity to database server, please check Django's documentation for more
...
...
weblate/settings_example.py
View file @
dac09007
...
...
@@ -404,6 +404,9 @@ SERVER_EMAIL = 'noreply@weblate.org'
# the site managers. Used for registration emails.
DEFAULT_FROM_EMAIL
=
'noreply@weblate.org'
# List of URLs your site is supposed to serve, required since Django 1.5
ALLOWED_HOSTS
=
[]
# Example configuration to use memcached for caching
#CACHES = {
# 'default': {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment