मैं geodjango में नया हूं। मैं Django-1.4.5 और मेरे डेटाबेस सेटिंग्स का उपयोग कर रहा हूँ,'मॉड्यूल' ऑब्जेक्ट में कोई विशेषता नहीं है 'GeoSQLCompiler'
DATABASES = {
"default": {
"ENGINE": "django.db.backends.postgresql_psycopg2", # Add "postgresql_psycopg2", "postgresql", "mysql", "sqlite3" or "oracle".
"NAME": "mydb", # Or path to database file if using sqlite3.
"USER": "postgres", # Not used with sqlite3.
"PASSWORD": "test", # Not used with sqlite3.
"HOST": "localhost", # Set to empty string for localhost. Not used with sqlite3.
"PORT": "", # Set to empty string for default. Not used with sqlite3.
}
}
और मुझे त्रुटि मिली 'module' object has no attribute 'GeoSQLCompiler'
कृपया मेरी समस्या का समाधान।
आप अपने 'INSTALLED_APPS' में' django.contrib.gis' है? – karthikr
हां कार्तिकर मैंने अपने ऐप – dhana