41

Here is the error:

templatedoesnotexist gis/admin/openlayers.html

I get the following error when I run my django admin. How can I fix?

I have django installed.

Ryan
  • 2,167
  • 2
  • 28
  • 33

2 Answers2

108

Add 'django.contrib.gis' to INSTALLED_APPS.

Or Duan
  • 13,142
  • 6
  • 60
  • 65
coldmind
  • 5,167
  • 2
  • 22
  • 22
30

I added 'django.contrib.gis' to INSTALLED_APPS in the django settings.py and it fixed my problem .

cezar
  • 11,616
  • 6
  • 48
  • 84
omgbbqhax
  • 411
  • 5
  • 18