質問編集履歴
2
「```#」 #の前に、```を付けました。これで合っていますか?
test
CHANGED
File without changes
|
test
CHANGED
@@ -66,7 +66,7 @@
|
|
66
66
|
|
67
67
|
【settngs.pyの中身】
|
68
68
|
|
69
|
-
|
69
|
+
|
70
70
|
|
71
71
|
Django settings for firstDjango project.
|
72
72
|
|
@@ -86,7 +86,7 @@
|
|
86
86
|
|
87
87
|
https://docs.djangoproject.com/en/1.10/ref/settings/
|
88
88
|
|
89
|
-
|
89
|
+
|
90
90
|
|
91
91
|
|
92
92
|
|
@@ -94,7 +94,7 @@
|
|
94
94
|
|
95
95
|
|
96
96
|
|
97
|
-
|
97
|
+
```# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
|
98
98
|
|
99
99
|
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
100
100
|
|
@@ -102,19 +102,19 @@
|
|
102
102
|
|
103
103
|
|
104
104
|
|
105
|
-
|
105
|
+
```# Quick-start development settings - unsuitable for production
|
106
|
-
|
106
|
+
|
107
|
-
|
107
|
+
```# See https://docs.djangoproject.com/en/1.10/howto/deployment/checklist/
|
108
|
-
|
109
|
-
|
110
|
-
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
-
|
111
|
+
```# SECURITY WARNING: keep the secret key used in production secret!
|
112
112
|
|
113
113
|
SECRET_KEY = 'b7gx_&up&(7&uanq_0fv054d-rrk4gxjsi)np69nze^gnxf=&o'
|
114
114
|
|
115
115
|
|
116
116
|
|
117
|
-
|
117
|
+
```# SECURITY WARNING: don't run with debug turned on in production!
|
118
118
|
|
119
119
|
DEBUG = True
|
120
120
|
|
@@ -126,7 +126,7 @@
|
|
126
126
|
|
127
127
|
|
128
128
|
|
129
|
-
|
129
|
+
```# Application definition
|
130
130
|
|
131
131
|
|
132
132
|
|
@@ -212,9 +212,9 @@
|
|
212
212
|
|
213
213
|
|
214
214
|
|
215
|
-
|
215
|
+
```# Database
|
216
|
-
|
216
|
+
|
217
|
-
|
217
|
+
```# https://docs.djangoproject.com/en/1.10/ref/settings/#databases
|
218
218
|
|
219
219
|
|
220
220
|
|
@@ -234,9 +234,9 @@
|
|
234
234
|
|
235
235
|
|
236
236
|
|
237
|
-
|
237
|
+
```# Password validation
|
238
|
-
|
238
|
+
|
239
|
-
|
239
|
+
```# https://docs.djangoproject.com/en/1.10/ref/settings/#auth-password-validators
|
240
240
|
|
241
241
|
|
242
242
|
|
@@ -272,9 +272,9 @@
|
|
272
272
|
|
273
273
|
|
274
274
|
|
275
|
-
|
275
|
+
```# Internationalization
|
276
|
-
|
276
|
+
|
277
|
-
|
277
|
+
```# https://docs.djangoproject.com/en/1.10/topics/i18n/
|
278
278
|
|
279
279
|
|
280
280
|
|
@@ -300,9 +300,9 @@
|
|
300
300
|
|
301
301
|
|
302
302
|
|
303
|
-
|
303
|
+
```# Static files (CSS, JavaScript, Images)
|
304
|
-
|
304
|
+
|
305
|
-
|
305
|
+
```# https://docs.djangoproject.com/en/1.10/howto/static-files/
|
306
306
|
|
307
307
|
|
308
308
|
|
@@ -324,7 +324,7 @@
|
|
324
324
|
|
325
325
|
from django.http import HttpResponse
|
326
326
|
|
327
|
-
|
327
|
+
```# Create your views here.
|
328
328
|
|
329
329
|
def hello(request):
|
330
330
|
|
1
コメント行を整形しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -94,7 +94,7 @@
|
|
94
94
|
|
95
95
|
|
96
96
|
|
97
|
-
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
|
97
|
+
'''# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
|
98
98
|
|
99
99
|
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
100
100
|
|
@@ -102,19 +102,19 @@
|
|
102
102
|
|
103
103
|
|
104
104
|
|
105
|
-
# Quick-start development settings - unsuitable for production
|
105
|
+
'''# Quick-start development settings - unsuitable for production
|
106
|
-
|
106
|
+
|
107
|
-
# See https://docs.djangoproject.com/en/1.10/howto/deployment/checklist/
|
107
|
+
'''# See https://docs.djangoproject.com/en/1.10/howto/deployment/checklist/
|
108
|
-
|
109
|
-
|
110
|
-
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
-
# SECURITY WARNING: keep the secret key used in production secret!
|
111
|
+
'''# SECURITY WARNING: keep the secret key used in production secret!
|
112
112
|
|
113
113
|
SECRET_KEY = 'b7gx_&up&(7&uanq_0fv054d-rrk4gxjsi)np69nze^gnxf=&o'
|
114
114
|
|
115
115
|
|
116
116
|
|
117
|
-
# SECURITY WARNING: don't run with debug turned on in production!
|
117
|
+
'''# SECURITY WARNING: don't run with debug turned on in production!
|
118
118
|
|
119
119
|
DEBUG = True
|
120
120
|
|
@@ -126,7 +126,7 @@
|
|
126
126
|
|
127
127
|
|
128
128
|
|
129
|
-
# Application definition
|
129
|
+
'''# Application definition
|
130
130
|
|
131
131
|
|
132
132
|
|
@@ -212,9 +212,9 @@
|
|
212
212
|
|
213
213
|
|
214
214
|
|
215
|
-
# Database
|
215
|
+
'''# Database
|
216
|
-
|
216
|
+
|
217
|
-
# https://docs.djangoproject.com/en/1.10/ref/settings/#databases
|
217
|
+
'''# https://docs.djangoproject.com/en/1.10/ref/settings/#databases
|
218
218
|
|
219
219
|
|
220
220
|
|
@@ -234,9 +234,9 @@
|
|
234
234
|
|
235
235
|
|
236
236
|
|
237
|
-
# Password validation
|
237
|
+
'''# Password validation
|
238
|
-
|
238
|
+
|
239
|
-
# https://docs.djangoproject.com/en/1.10/ref/settings/#auth-password-validators
|
239
|
+
'''# https://docs.djangoproject.com/en/1.10/ref/settings/#auth-password-validators
|
240
240
|
|
241
241
|
|
242
242
|
|
@@ -272,9 +272,9 @@
|
|
272
272
|
|
273
273
|
|
274
274
|
|
275
|
-
# Internationalization
|
275
|
+
'''# Internationalization
|
276
|
-
|
276
|
+
|
277
|
-
# https://docs.djangoproject.com/en/1.10/topics/i18n/
|
277
|
+
'''# https://docs.djangoproject.com/en/1.10/topics/i18n/
|
278
278
|
|
279
279
|
|
280
280
|
|
@@ -300,9 +300,9 @@
|
|
300
300
|
|
301
301
|
|
302
302
|
|
303
|
-
# Static files (CSS, JavaScript, Images)
|
303
|
+
'''# Static files (CSS, JavaScript, Images)
|
304
|
-
|
304
|
+
|
305
|
-
# https://docs.djangoproject.com/en/1.10/howto/static-files/
|
305
|
+
'''# https://docs.djangoproject.com/en/1.10/howto/static-files/
|
306
306
|
|
307
307
|
|
308
308
|
|
@@ -324,7 +324,7 @@
|
|
324
324
|
|
325
325
|
from django.http import HttpResponse
|
326
326
|
|
327
|
-
# Create your views here.
|
327
|
+
'''# Create your views here.
|
328
328
|
|
329
329
|
def hello(request):
|
330
330
|
|