質問編集履歴

1

エラーの追加

2016/08/27 13:38

投稿

keito04
keito04

スコア15

test CHANGED
File without changes
test CHANGED
@@ -23,3 +23,171 @@
23
23
  ```
24
24
 
25
25
  ご教授のほうよろしくお願いします。
26
+
27
+ こちらがコンソールのエラーになります。
28
+
29
+ ```
30
+
31
+ Internal Server Error: /admin/login/
32
+
33
+ Traceback (most recent call last):
34
+
35
+ File "C:\django\template\utils.py"
36
+
37
+ , line 65, in __getitem__
38
+
39
+ return self._engines[alias]
40
+
41
+ KeyError: 'django'
42
+
43
+
44
+
45
+ During handling of the above exception, another exception occurred:
46
+
47
+
48
+
49
+ Traceback (most recent call last):
50
+
51
+ File "C:\django\template\backends\
52
+
53
+ django.py", line 126, in get_package_libraries
54
+
55
+ module = import_module(entry[1])
56
+
57
+ File "C:\lib\importlib\__init__.py", line 127, in im
58
+
59
+ port_module
60
+
61
+ return _bootstrap._gcd_import(name[level:], package, level)
62
+
63
+ File "<frozen importlib._bootstrap>", line 986, in _gcd_import
64
+
65
+ File "<frozen importlib._bootstrap>", line 969, in _find_and_load
66
+
67
+ File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
68
+
69
+ File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
70
+
71
+ File "<frozen importlib._bootstrap_external>", line 665, in exec_module
72
+
73
+ File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
74
+
75
+ File "C:\lib\site-packages\django\templatetags\futur
76
+
77
+ e.py", line 4, in <module>
78
+
79
+ from django.utils.deprecation import RemovedInDjango110Warning
80
+
81
+ ImportError: cannot import name 'RemovedInDjango110Warning'
82
+
83
+
84
+
85
+ During handling of the above exception, another exception occurred:
86
+
87
+
88
+
89
+ Traceback (most recent call last):
90
+
91
+ File "C:\django\core\handlers\exce
92
+
93
+ ption.py", line 39, in inner
94
+
95
+ response = get_response(request)
96
+
97
+ File "C:\django\core\handlers\base
98
+
99
+ .py", line 217, in _get_response
100
+
101
+ response = self.process_exception_by_middleware(e, request)
102
+
103
+ File "C:\django\core\handlers\base
104
+
105
+ .py", line 215, in _get_response
106
+
107
+ response = response.render()
108
+
109
+ File "C:\django\template\response.
110
+
111
+ py", line 109, in render
112
+
113
+ self.content = self.rendered_content
114
+
115
+ File "C:\django\template\response.
116
+
117
+ py", line 84, in rendered_content
118
+
119
+ template = self.resolve_template(self.template_name)
120
+
121
+ File "C:\django\template\response.
122
+
123
+ py", line 68, in resolve_template
124
+
125
+ return get_template(template, using=self.using)
126
+
127
+ File "C:\django\template\loader.py
128
+
129
+ ", line 18, in get_template
130
+
131
+ engines = _engine_list(using)
132
+
133
+ File "C:\django\template\loader.py
134
+
135
+ ", line 72, in _engine_list
136
+
137
+ return engines.all() if using is None else [engines[using]]
138
+
139
+ File "C:\django\template\utils.py"
140
+
141
+ , line 89, in all
142
+
143
+ return [self[alias] for alias in self]
144
+
145
+ File "C:\django\template\utils.py"
146
+
147
+ , line 89, in <listcomp>
148
+
149
+ return [self[alias] for alias in self]
150
+
151
+ File "C:\django\template\utils.py"
152
+
153
+ , line 80, in __getitem__
154
+
155
+ engine = engine_cls(params)
156
+
157
+ File "C:\django\template\backends\
158
+
159
+ django.py", line 30, in __init__
160
+
161
+ options['libraries'] = self.get_templatetag_libraries(libraries)
162
+
163
+ File "C:\django\template\backends\
164
+
165
+ django.py", line 48, in get_templatetag_libraries
166
+
167
+ libraries = get_installed_libraries()
168
+
169
+ File "C:\django\template\backends\
170
+
171
+ django.py", line 113, in get_installed_libraries
172
+
173
+ for name in get_package_libraries(pkg):
174
+
175
+ File "C:\django\template\backends\
176
+
177
+ django.py", line 130, in get_package_libraries
178
+
179
+ "trying to load '%s': %s" % (entry[1], e)
180
+
181
+ django.template.library.InvalidTemplateLibrary: Invalid template library specifi
182
+
183
+ ed. ImportError raised when trying to load 'django.templatetags.future': cannot
184
+
185
+ import name 'RemovedInDjango110Warning'
186
+
187
+ [27/Aug/2016 22:21:31] "GET /admin/login/ HTTP/1.1" 500 140813
188
+
189
+ ```
190
+
191
+ エラーの原因はなんなのでしょうか?
192
+
193
+ よろしくお願いします