Problem getting started with GeoDjango
Posted
by akv
on Stack Overflow
See other posts from Stack Overflow
or by akv
Published on 2009-11-14T12:46:13Z
Indexed on
2010/05/15
8:04 UTC
Read the original article
Hit count: 392
As soon as I add "from django.contrib.gis.db import models" instead of "from django.db import models", Django stops recognizing the app and gives this error:
Error: App with label location could not be found. Are you sure your INSTALLED_APPS setting is correct?
The error goes away as soon as I comment out "from django.contrib.gis.db import models"...
I have added "django.contrib.gis" and the "location" app to the INSTALLED_APPS setting correctly.
Any clues why this is happening? I am running using Django v1.1.1 final, on my windows laptop.
© Stack Overflow or respective owner