Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/django/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Django:templatedoesnotexist-gis/admin/openlayers.html_Django_Geodjango - Fatal编程技术网

Django:templatedoesnotexist-gis/admin/openlayers.html

Django:templatedoesnotexist-gis/admin/openlayers.html,django,geodjango,Django,Geodjango,以下是错误: templatedoesnotexist gis/admin/openlayers.html 我在运行django管理员时遇到以下错误。我该怎么修理 我已经安装了django。在djangosettings.py中添加'django.contrib.gis'到已安装的应用程序中,它修复了我的问题

以下是错误:

templatedoesnotexist gis/admin/openlayers.html
我在运行django管理员时遇到以下错误。我该怎么修理


我已经安装了django。

在django
settings.py
中添加
'django.contrib.gis'
已安装的应用程序中,它修复了我的问题