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
3a8b97e2
authored
Aug 11, 2017
by
Chris Polcyn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Django doc links to version 1.11
parent
f69efdf1
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 @
3a8b97e2
...
@@ -3,10 +3,10 @@ Django settings for {{ project_name }} project on Heroku. For more info, see:
...
@@ -3,10 +3,10 @@ Django settings for {{ project_name }} project on Heroku. For more info, see:
https://github.com/heroku/heroku-django-template
https://github.com/heroku/heroku-django-template
For more information on this file, see
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
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
import
os
...
@@ -18,7 +18,7 @@ PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))
...
@@ -18,7 +18,7 @@ PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))
# Quick-start development settings - unsuitable for production
# 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!
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY
=
"{{ secret_key }}"
SECRET_KEY
=
"{{ secret_key }}"
...
@@ -75,7 +75,7 @@ WSGI_APPLICATION = '{{ project_name }}.wsgi.application'
...
@@ -75,7 +75,7 @@ WSGI_APPLICATION = '{{ project_name }}.wsgi.application'
# Database
# Database
# https://docs.djangoproject.com/en/1.1
0
/ref/settings/#databases
# https://docs.djangoproject.com/en/1.1
1
/ref/settings/#databases
DATABASES
=
{
DATABASES
=
{
'default'
:
{
'default'
:
{
...
@@ -100,7 +100,7 @@ AUTH_PASSWORD_VALIDATORS = [
...
@@ -100,7 +100,7 @@ AUTH_PASSWORD_VALIDATORS = [
]
]
# Internationalization
# 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'
LANGUAGE_CODE
=
'en-us'
TIME_ZONE
=
'UTC'
TIME_ZONE
=
'UTC'
...
@@ -118,7 +118,7 @@ SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
...
@@ -118,7 +118,7 @@ SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
ALLOWED_HOSTS
=
[
'*'
]
ALLOWED_HOSTS
=
[
'*'
]
# Static files (CSS, JavaScript, Images)
# 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_ROOT
=
os
.
path
.
join
(
PROJECT_ROOT
,
'staticfiles'
)
STATIC_URL
=
'/static/'
STATIC_URL
=
'/static/'
...
...
project_name/wsgi.py
View file @
3a8b97e2
...
@@ -4,7 +4,7 @@ WSGI config for {{ project_name }} project.
...
@@ -4,7 +4,7 @@ WSGI config for {{ project_name }} project.
It exposes the WSGI callable as a module-level variable named ``application``.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
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
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