質問編集履歴
3
個人情報の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
Request Method: GET
|
22
22
|
|
23
|
-
Request URL: https://
|
23
|
+
Request URL: https://*****/
|
24
24
|
|
25
25
|
Django Version: 3.1.6
|
26
26
|
|
2
情報の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -277,9 +277,3 @@
|
|
277
277
|
django-crispy-formsをrequirements.txtに追記したらアップはしました。
|
278
278
|
|
279
279
|
その後また上記の別エラーです。多分静的ファイル関係かと。。
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
こちら当方git hubの内容です。
|
284
|
-
|
285
|
-
https://github.com/yasuto-dev/twitter_clone
|
1
その後エラーが更新しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,25 +14,245 @@
|
|
14
14
|
|
15
15
|
```
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
17
|
+
ImproperlyConfigured at /
|
18
|
+
|
19
|
+
You're using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path.
|
20
|
+
|
21
|
+
Request Method: GET
|
22
|
+
|
23
|
+
Request URL: https://twitter-clone-yasuto.herokuapp.com/
|
24
|
+
|
25
|
+
Django Version: 3.1.6
|
26
|
+
|
27
|
+
Exception Type: ImproperlyConfigured
|
28
|
+
|
29
|
+
Exception Value:
|
30
|
+
|
31
|
+
You're using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path.
|
32
|
+
|
33
|
+
Exception Location: /app/.heroku/python/lib/python3.8/site-packages/django/contrib/staticfiles/storage.py, line 38, in path
|
34
|
+
|
35
|
+
Python Executable: /app/.heroku/python/bin/python
|
36
|
+
|
37
|
+
Python Version: 3.8.7
|
38
|
+
|
39
|
+
Python Path:
|
40
|
+
|
41
|
+
['/app/.heroku/python/bin',
|
42
|
+
|
43
|
+
'/app',
|
44
|
+
|
45
|
+
'/app/.heroku/python/lib/python38.zip',
|
46
|
+
|
47
|
+
'/app/.heroku/python/lib/python3.8',
|
48
|
+
|
49
|
+
'/app/.heroku/python/lib/python3.8/lib-dynload',
|
50
|
+
|
51
|
+
'/app/.heroku/python/lib/python3.8/site-packages']
|
52
|
+
|
53
|
+
Server time: Fri, 19 Feb 2021 17:16:54 +0900
|
54
|
+
|
55
|
+
Error during template rendering
|
56
|
+
|
57
|
+
In template /app/templates/tweet/base.html, error at line 11
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
You're using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path.
|
62
|
+
|
63
|
+
1 {% load static %}
|
64
|
+
|
65
|
+
2
|
66
|
+
|
67
|
+
3 <!DOCTYPE html>
|
68
|
+
|
69
|
+
4 <html lang="en">
|
70
|
+
|
71
|
+
5
|
72
|
+
|
73
|
+
6 <head>
|
74
|
+
|
75
|
+
7 <meta charset="UTF-8">
|
76
|
+
|
77
|
+
8 <title>twitter_clone</title>
|
78
|
+
|
79
|
+
9 <link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
|
80
|
+
|
81
|
+
10 <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/GrayGrids/LineIcons/LineIcons.css">
|
82
|
+
|
83
|
+
11 <link rel="stylesheet" href="{% static 'css/stylesheets/screen.css' %}">
|
84
|
+
|
85
|
+
12 <link rel="icon" type="image/png" href="{% static 'img/logo.png' %}">
|
86
|
+
|
87
|
+
13 </head>
|
88
|
+
|
89
|
+
14
|
90
|
+
|
91
|
+
15 <body class="bg-white">
|
92
|
+
|
93
|
+
16
|
94
|
+
|
95
|
+
17 <!-- wrapper start -->
|
96
|
+
|
97
|
+
18 <div class="">
|
98
|
+
|
99
|
+
19
|
100
|
+
|
101
|
+
20 <!-- container start -->
|
102
|
+
|
103
|
+
21 <div class="container mx-auto">
|
104
|
+
|
105
|
+
Traceback Switch to copy-and-paste view
|
106
|
+
|
107
|
+
/app/.heroku/python/lib/python3.8/site-packages/django/core/handlers/exception.py, line 47, in inner
|
108
|
+
|
109
|
+
response = get_response(request) …
|
110
|
+
|
111
|
+
▶ Local vars
|
112
|
+
|
113
|
+
/app/.heroku/python/lib/python3.8/site-packages/django/core/handlers/base.py, line 204, in _get_response
|
114
|
+
|
115
|
+
response = response.render() …
|
116
|
+
|
117
|
+
▶ Local vars
|
118
|
+
|
119
|
+
/app/.heroku/python/lib/python3.8/site-packages/django/template/response.py, line 105, in render
|
120
|
+
|
121
|
+
self.content = self.rendered_content …
|
122
|
+
|
123
|
+
▶ Local vars
|
124
|
+
|
125
|
+
/app/.heroku/python/lib/python3.8/site-packages/django/template/response.py, line 83, in rendered_content
|
126
|
+
|
127
|
+
return template.render(context, self._request) …
|
128
|
+
|
129
|
+
▶ Local vars
|
130
|
+
|
131
|
+
/app/.heroku/python/lib/python3.8/site-packages/django/template/backends/django.py, line 61, in render
|
132
|
+
|
133
|
+
return self.template.render(context) …
|
134
|
+
|
135
|
+
▶ Local vars
|
136
|
+
|
137
|
+
/app/.heroku/python/lib/python3.8/site-packages/django/template/base.py, line 170, in render
|
138
|
+
|
139
|
+
return self._render(context) …
|
140
|
+
|
141
|
+
▶ Local vars
|
142
|
+
|
143
|
+
/app/.heroku/python/lib/python3.8/site-packages/django/template/base.py, line 162, in _render
|
144
|
+
|
145
|
+
return self.nodelist.render(context) …
|
146
|
+
|
147
|
+
▶ Local vars
|
148
|
+
|
149
|
+
/app/.heroku/python/lib/python3.8/site-packages/django/template/base.py, line 938, in render
|
150
|
+
|
151
|
+
bit = node.render_annotated(context) …
|
152
|
+
|
153
|
+
▶ Local vars
|
154
|
+
|
155
|
+
/app/.heroku/python/lib/python3.8/site-packages/django/template/base.py, line 905, in render_annotated
|
156
|
+
|
157
|
+
return self.render(context) …
|
158
|
+
|
159
|
+
▶ Local vars
|
160
|
+
|
161
|
+
/app/.heroku/python/lib/python3.8/site-packages/django/template/loader_tags.py, line 150, in render
|
162
|
+
|
163
|
+
return compiled_parent._render(context) …
|
164
|
+
|
165
|
+
▶ Local vars
|
166
|
+
|
167
|
+
/app/.heroku/python/lib/python3.8/site-packages/django/template/base.py, line 162, in _render
|
168
|
+
|
169
|
+
return self.nodelist.render(context) …
|
170
|
+
|
171
|
+
▶ Local vars
|
172
|
+
|
173
|
+
/app/.heroku/python/lib/python3.8/site-packages/django/template/base.py, line 938, in render
|
174
|
+
|
175
|
+
bit = node.render_annotated(context) …
|
176
|
+
|
177
|
+
▶ Local vars
|
178
|
+
|
179
|
+
/app/.heroku/python/lib/python3.8/site-packages/django/template/base.py, line 905, in render_annotated
|
180
|
+
|
181
|
+
return self.render(context) …
|
182
|
+
|
183
|
+
▶ Local vars
|
184
|
+
|
185
|
+
/app/.heroku/python/lib/python3.8/site-packages/django/templatetags/static.py, line 106, in render
|
186
|
+
|
187
|
+
url = self.url(context) …
|
188
|
+
|
189
|
+
▶ Local vars
|
190
|
+
|
191
|
+
/app/.heroku/python/lib/python3.8/site-packages/django/templatetags/static.py, line 103, in url
|
192
|
+
|
193
|
+
return self.handle_simple(path) …
|
194
|
+
|
195
|
+
▶ Local vars
|
196
|
+
|
197
|
+
/app/.heroku/python/lib/python3.8/site-packages/django/templatetags/static.py, line 118, in handle_simple
|
198
|
+
|
199
|
+
return staticfiles_storage.url(path) …
|
200
|
+
|
201
|
+
▶ Local vars
|
202
|
+
|
203
|
+
/app/.heroku/python/lib/python3.8/site-packages/django/utils/functional.py, line 240, in inner
|
204
|
+
|
205
|
+
self._setup() …
|
206
|
+
|
207
|
+
▶ Local vars
|
208
|
+
|
209
|
+
/app/.heroku/python/lib/python3.8/site-packages/django/contrib/staticfiles/storage.py, line 438, in _setup
|
210
|
+
|
211
|
+
self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)() …
|
212
|
+
|
213
|
+
▶ Local vars
|
214
|
+
|
215
|
+
/app/.heroku/python/lib/python3.8/site-packages/whitenoise/storage.py, line 129, in __init__
|
216
|
+
|
217
|
+
super().__init__(*args, **kwargs) …
|
218
|
+
|
219
|
+
▶ Local vars
|
220
|
+
|
221
|
+
/app/.heroku/python/lib/python3.8/site-packages/django/contrib/staticfiles/storage.py, line 373, in __init__
|
222
|
+
|
223
|
+
self.hashed_files = self.load_manifest() …
|
224
|
+
|
225
|
+
▶ Local vars
|
226
|
+
|
227
|
+
/app/.heroku/python/lib/python3.8/site-packages/django/contrib/staticfiles/storage.py, line 383, in load_manifest
|
228
|
+
|
229
|
+
content = self.read_manifest() …
|
230
|
+
|
231
|
+
▶ Local vars
|
232
|
+
|
233
|
+
/app/.heroku/python/lib/python3.8/site-packages/django/contrib/staticfiles/storage.py, line 377, in read_manifest
|
234
|
+
|
235
|
+
with self.open(self.manifest_name) as manifest: …
|
236
|
+
|
237
|
+
▶ Local vars
|
238
|
+
|
239
|
+
/app/.heroku/python/lib/python3.8/site-packages/django/core/files/storage.py, line 36, in open
|
240
|
+
|
241
|
+
return self._open(name, mode) …
|
242
|
+
|
243
|
+
▶ Local vars
|
244
|
+
|
245
|
+
/app/.heroku/python/lib/python3.8/site-packages/django/core/files/storage.py, line 231, in _open
|
246
|
+
|
247
|
+
return File(open(self.path(name), mode)) …
|
248
|
+
|
249
|
+
▶ Local vars
|
250
|
+
|
251
|
+
/app/.heroku/python/lib/python3.8/site-packages/django/contrib/staticfiles/storage.py, line 38, in path
|
252
|
+
|
253
|
+
raise ImproperlyConfigured("You're using the staticfiles app " …
|
254
|
+
|
255
|
+
▶ Local vars
|
36
256
|
|
37
257
|
|
38
258
|
|
@@ -40,14 +260,6 @@
|
|
40
260
|
|
41
261
|
|
42
262
|
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
```
|
48
|
-
|
49
|
-
|
50
|
-
|
51
263
|
### 試したこと
|
52
264
|
|
53
265
|
|
@@ -60,6 +272,14 @@
|
|
60
272
|
|
61
273
|
|
62
274
|
|
275
|
+
追記:
|
276
|
+
|
277
|
+
django-crispy-formsをrequirements.txtに追記したらアップはしました。
|
278
|
+
|
279
|
+
その後また上記の別エラーです。多分静的ファイル関係かと。。
|
280
|
+
|
281
|
+
|
282
|
+
|
63
283
|
こちら当方git hubの内容です。
|
64
284
|
|
65
285
|
https://github.com/yasuto-dev/twitter_clone
|