Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
pub
/
flynn-django-template
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8759b8cf
authored
Aug 11, 2017
by
Kenneth Reitz
Committed by
GitHub
Aug 11, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #73 from cpolcyn/master
Update Django doc links to version 1.11
parents
f69efdf1
3a8b97e2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
project_name/settings.py
+6
-6
project_name/wsgi.py
+1
-1
No files found.
project_name/settings.py
View file @
8759b8cf
...
...
@@ -3,10 +3,10 @@ Django settings for {{ project_name }} project on Heroku. For more info, see:
https://github.com/heroku/heroku-django-template
For more information on this file, see
https://docs.djangoproject.com/en/1.1
0
/topics/settings/
https://docs.djangoproject.com/en/1.1
1
/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.1
0
/ref/settings/
https://docs.djangoproject.com/en/1.1
1
/ref/settings/
"""
import
os
...
...
@@ -18,7 +18,7 @@ PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.1
0
/howto/deployment/checklist/
# See https://docs.djangoproject.com/en/1.1
1
/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY
=
"{{ secret_key }}"
...
...
@@ -75,7 +75,7 @@ WSGI_APPLICATION = '{{ project_name }}.wsgi.application'
# Database
# https://docs.djangoproject.com/en/1.1
0
/ref/settings/#databases
# https://docs.djangoproject.com/en/1.1
1
/ref/settings/#databases
DATABASES
=
{
'default'
:
{
...
...
@@ -100,7 +100,7 @@ AUTH_PASSWORD_VALIDATORS = [
]
# Internationalization
# https://docs.djangoproject.com/en/1.1
0
/topics/i18n/
# https://docs.djangoproject.com/en/1.1
1
/topics/i18n/
LANGUAGE_CODE
=
'en-us'
TIME_ZONE
=
'UTC'
...
...
@@ -118,7 +118,7 @@ SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
ALLOWED_HOSTS
=
[
'*'
]
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.1
0
/howto/static-files/
# https://docs.djangoproject.com/en/1.1
1
/howto/static-files/
STATIC_ROOT
=
os
.
path
.
join
(
PROJECT_ROOT
,
'staticfiles'
)
STATIC_URL
=
'/static/'
...
...
project_name/wsgi.py
View file @
8759b8cf
...
...
@@ -4,7 +4,7 @@ WSGI config for {{ project_name }} project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.1
0
/howto/deployment/wsgi/
https://docs.djangoproject.com/en/1.1
1
/howto/deployment/wsgi/
"""
import
os
...
...
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