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
14586517
Commit
14586517
authored
Feb 17, 2015
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove Django version check, we do not support older versions
Signed-off-by:
Michal Čihař
<
michal@cihar.com
>
parent
221d41c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
weblate/settings_example.py
weblate/settings_example.py
+1
-1
weblate/trans/admin_views.py
weblate/trans/admin_views.py
+6
-7
No files found.
weblate/settings_example.py
View file @
14586517
...
...
@@ -516,7 +516,7 @@ 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
# List of URLs your site is supposed to serve
ALLOWED_HOSTS
=
[]
# Example configuration to use memcached for caching
...
...
weblate/trans/admin_views.py
View file @
14586517
...
...
@@ -152,13 +152,12 @@ def performance(request):
settings
.
SECRET_KEY
!=
settings_example
.
SECRET_KEY
,
'production-secret'
,
))
# Allowed hosts for Django 1.5
if
django
.
VERSION
>
(
1
,
5
):
checks
.
append
((
_
(
'Allowed hosts'
),
len
(
settings
.
ALLOWED_HOSTS
)
>
0
,
'production-hosts'
,
))
# Allowed hosts
checks
.
append
((
_
(
'Allowed hosts'
),
len
(
settings
.
ALLOWED_HOSTS
)
>
0
,
'production-hosts'
,
))
# Cached template loader
checks
.
append
((
...
...
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