Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
PEDASI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Research Software Group
PEDASI
Commits
503b4a8e
Commit
503b4a8e
authored
6 years ago
by
James Graham
Browse files
Options
Downloads
Patches
Plain Diff
Use wildcard ALLOWED_HOSTS if in debug mode
Move JavaScript libraries to end of body
parent
f3d02505
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!60
Merge dev pre-hackday
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
pedasi/settings.py
+10
-4
10 additions, 4 deletions
pedasi/settings.py
pedasi/templates/base.html
+3
-1
3 additions, 1 deletion
pedasi/templates/base.html
with
13 additions
and
5 deletions
pedasi/settings.py
+
10
−
4
View file @
503b4a8e
...
...
@@ -54,6 +54,12 @@ SECRET_KEY = config('SECRET_KEY')
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG
=
config
(
'
DEBUG
'
,
default
=
False
,
cast
=
bool
)
if
DEBUG
:
ALLOWED_HOSTS
=
[
'
*
'
,
]
else
:
ALLOWED_HOSTS
=
[
'
localhost
'
,
'
pedasi-dev.eastus.cloudapp.azure.com
'
,
...
...
This diff is collapsed.
Click to expand it.
pedasi/templates/base.html
+
3
−
1
View file @
503b4a8e
...
...
@@ -4,10 +4,11 @@
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
<title>
PEDASI
</title>
{% bootstrap_css %}
{% bootstrap_javascript jquery=True %}
<!-- Font Awesome - https://fontawesome.com -->
<link
rel=
"stylesheet"
...
...
@@ -97,5 +98,6 @@
{% endblock %}
</div>
{% bootstrap_javascript jquery=True %}
</body>
</html>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment